aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/RootWindow-mgmt.cpp
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2017-07-27 12:14:30 -0400
committerZackaryWelch <welch.zackary@gmail.com>2017-07-27 12:14:30 -0400
commit675dd82ad7a1d41d994164e0d5da6fb6b9584f84 (patch)
tree6d66b946296e322e062c5e01c953c13624db7d00 /src-qt5/core/libLumina/RootWindow-mgmt.cpp
parentRemoved unneeded titles (diff)
parentStart adding the window arrangement framework to Lumina2. (diff)
downloadlumina-675dd82ad7a1d41d994164e0d5da6fb6b9584f84.tar.gz
lumina-675dd82ad7a1d41d994164e0d5da6fb6b9584f84.tar.bz2
lumina-675dd82ad7a1d41d994164e0d5da6fb6b9584f84.zip
Merge branch 'master' of https://github.com/trueos/lumina
Diffstat (limited to 'src-qt5/core/libLumina/RootWindow-mgmt.cpp')
-rw-r--r--src-qt5/core/libLumina/RootWindow-mgmt.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/RootWindow-mgmt.cpp b/src-qt5/core/libLumina/RootWindow-mgmt.cpp
new file mode 100644
index 00000000..e00ce9ce
--- /dev/null
+++ b/src-qt5/core/libLumina/RootWindow-mgmt.cpp
@@ -0,0 +1,34 @@
+//===========================================
+// Lumina-DE source code
+// Copyright (c) 2016, Ken Moore
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+#include "RootWindow.h"
+
+//Primary/private function
+void RootWindow::arrangeWindows(RootSubWindow *primary, QString type){
+ if(primary==0){
+ //Get the currently active window and treat that as the primary
+
+ }
+ //Now loop over the windows and arrange them as needed
+
+}
+
+// ================
+// Public slots for starting the arrangement routine(s) above
+// ================
+void RootWindow::ArrangeWindows(WId *primary, QString type){
+
+}
+
+void RootWindow::TileWindows(WId *primary, QString type){
+
+}
+
+void RootWindow::CheckWindowPosition(WId, bool newwindow){
+ //used after a "drop" to validate/snap/re-arrange window(s) as needed
+ // if "newwindow" is true, then this is the first-placement routine for a window before it initially appears
+
+}
bgstack15