aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 6fb258a..cf0077e 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -281,6 +281,8 @@ public:
281 void setFullscreen(bool flag); 281 void setFullscreen(bool flag);
282 /// toggle maximize 282 /// toggle maximize
283 void maximize(int type = MAX_FULL); 283 void maximize(int type = MAX_FULL);
284 /// sets the maximized state
285 void setMaximizedState(int type);
284 /// maximizes the window horizontal 286 /// maximizes the window horizontal
285 void maximizeHorizontal(); 287 void maximizeHorizontal();
286 /// maximizes the window vertical 288 /// maximizes the window vertical
@@ -304,6 +306,7 @@ public:
304 void lowerLayer(); 306 void lowerLayer();
305 /// moves the window to a new layer 307 /// moves the window to a new layer
306 void moveToLayer(int layernum, bool force = false); 308 void moveToLayer(int layernum, bool force = false);
309 void setOnHead(int head);
307 /// sets the window focus hidden state 310 /// sets the window focus hidden state
308 void setFocusHidden(bool value); 311 void setFocusHidden(bool value);
309 /// sets the window icon hidden state 312 /// sets the window icon hidden state
@@ -414,6 +417,7 @@ public:
414 inline bool isMaximized() const { return maximized == MAX_FULL; } 417 inline bool isMaximized() const { return maximized == MAX_FULL; }
415 inline bool isMaximizedVert() const { return (bool)(maximized & MAX_VERT); } 418 inline bool isMaximizedVert() const { return (bool)(maximized & MAX_VERT); }
416 inline bool isMaximizedHorz() const { return (bool)(maximized & MAX_HORZ); } 419 inline bool isMaximizedHorz() const { return (bool)(maximized & MAX_HORZ); }
420 inline int maximizedState() const { return maximized; }
417 inline bool isIconifiable() const { return functions.iconify; } 421 inline bool isIconifiable() const { return functions.iconify; }
418 inline bool isMaximizable() const { return functions.maximize; } 422 inline bool isMaximizable() const { return functions.maximize; }
419 inline bool isResizable() const { return functions.resize; } 423 inline bool isResizable() const { return functions.resize; }
@@ -627,6 +631,8 @@ private:
627 m_last_button_y; ///< last known y position of the mouse button 631 m_last_button_y; ///< last known y position of the mouse button
628 FbWinFrame m_frame; ///< the actuall window frame 632 FbWinFrame m_frame; ///< the actuall window frame
629 633
634 bool m_placed; ///< determine whether or not we should place the window
635
630 int m_layernum; 636 int m_layernum;
631 int m_old_layernum; 637 int m_old_layernum;
632 638