aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/RootSubWindow.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-07-20 12:40:16 -0400
committerKen Moore <ken@ixsystems.com>2017-07-20 12:40:16 -0400
commit23b870f04c46e8fa6d4ca2b14eb6d9ea2285a4c0 (patch)
tree2c8a5443b880b7261838d264e3db386bfc7a5fd3 /src-qt5/core/libLumina/RootSubWindow.h
parentGet the compositing working much smoother now. (diff)
downloadlumina-23b870f04c46e8fa6d4ca2b14eb6d9ea2285a4c0.tar.gz
lumina-23b870f04c46e8fa6d4ca2b14eb6d9ea2285a4c0.tar.bz2
lumina-23b870f04c46e8fa6d4ca2b14eb6d9ea2285a4c0.zip
Add a window animation framework, with 7 visibility animations for starters.
Diffstat (limited to 'src-qt5/core/libLumina/RootSubWindow.h')
-rw-r--r--src-qt5/core/libLumina/RootSubWindow.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/RootSubWindow.h b/src-qt5/core/libLumina/RootSubWindow.h
index de6aba89..079a6201 100644
--- a/src-qt5/core/libLumina/RootSubWindow.h
+++ b/src-qt5/core/libLumina/RootSubWindow.h
@@ -39,6 +39,7 @@ private:
//Functions for getting/setting state
ModState getStateAtPoint(QPoint pt, bool setoffset = false); //generally used for mouse location detection
void setMouseCursor(ModState, bool override = false); //Update the mouse cursor based on state
+
//Native window embed objects
NativeWindow *WIN;
NativeEmbedWidget *WinWidget;
@@ -60,10 +61,14 @@ private:
void LoadProperties( QList< NativeWindow::Property> list);
+ static QStringList validAnimations(NativeWindow::Property);
+
public slots:
void clientClosed();
void LoadAllProperties();
+ QRect clientGlobalGeom();
+
//Button Actions - public so they can be tied to key shortcuts and stuff as well
void toggleMinimize();
void toggleMaximize();
@@ -77,6 +82,8 @@ public slots:
private slots:
void propertiesChanged(QList<NativeWindow::Property>, QList<QVariant>);
+
+ void loadAnimation(QString name, NativeWindow::Property, QVariant nval); //new val
void animFinished();
protected:
bgstack15