aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-27 17:05:49 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-27 17:05:49 (GMT)
commit55fd49614bb1b9e37561147f18719b2ac277b64b (patch)
treec0f58db24f6fa3a457bca26393c00632dd630328 /src/Window.hh
parent08c8c6431f88ff3d5012d800a8df689b7028fe98 (diff)
downloadfluxbox-55fd49614bb1b9e37561147f18719b2ac277b64b.zip
fluxbox-55fd49614bb1b9e37561147f18719b2ac277b64b.tar.bz2
move FbWinFrame::State class to a new file
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 89cbc69..2dbb816 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -31,6 +31,7 @@
31#include "FbTk/Observer.hh" 31#include "FbTk/Observer.hh"
32#include "FbTk/EventHandler.hh" 32#include "FbTk/EventHandler.hh"
33#include "FbTk/XLayerItem.hh" 33#include "FbTk/XLayerItem.hh"
34
34#include "FbWinFrame.hh" 35#include "FbWinFrame.hh"
35#include "Focusable.hh" 36#include "Focusable.hh"
36#include "FocusableTheme.hh" 37#include "FocusableTheme.hh"
@@ -45,7 +46,6 @@
45class WinClient; 46class WinClient;
46class FbWinFrameTheme; 47class FbWinFrameTheme;
47class BScreen; 48class BScreen;
48class FbWinFrame;
49class FocusControl; 49class FocusControl;
50class FbMenu; 50class FbMenu;
51 51
@@ -212,7 +212,7 @@ public:
212 /// set fullscreen 212 /// set fullscreen
213 void setFullscreen(bool flag); 213 void setFullscreen(bool flag);
214 /// toggle maximize 214 /// toggle maximize
215 void maximize(int type = FbWinFrame::MAX_FULL); 215 void maximize(int type = WindowState::MAX_FULL);
216 /// sets the maximized state 216 /// sets the maximized state
217 void setMaximizedState(int type); 217 void setMaximizedState(int type);
218 /// maximizes the window horizontal 218 /// maximizes the window horizontal
@@ -373,9 +373,9 @@ public:
373 bool isIconic() const { return iconic; } 373 bool isIconic() const { return iconic; }
374 bool isShaded() const { return shaded; } 374 bool isShaded() const { return shaded; }
375 bool isFullscreen() const { return fullscreen; } 375 bool isFullscreen() const { return fullscreen; }
376 bool isMaximized() const { return maximized == FbWinFrame::MAX_FULL; } 376 bool isMaximized() const { return maximized == WindowState::MAX_FULL; }
377 bool isMaximizedVert() const { return (bool)(maximized & FbWinFrame::MAX_VERT); } 377 bool isMaximizedVert() const { return (bool)(maximized & WindowState::MAX_VERT); }
378 bool isMaximizedHorz() const { return (bool)(maximized & FbWinFrame::MAX_HORZ); } 378 bool isMaximizedHorz() const { return (bool)(maximized & WindowState::MAX_HORZ); }
379 int maximizedState() const { return maximized; } 379 int maximizedState() const { return maximized; }
380 bool isIconifiable() const { return functions.iconify; } 380 bool isIconifiable() const { return functions.iconify; }
381 bool isMaximizable() const { return functions.maximize; } 381 bool isMaximizable() const { return functions.maximize; }
@@ -553,7 +553,7 @@ private:
553 typedef std::map<WinClient *, IconButton *> Client2ButtonMap; 553 typedef std::map<WinClient *, IconButton *> Client2ButtonMap;
554 Client2ButtonMap m_labelbuttons; 554 Client2ButtonMap m_labelbuttons;
555 555
556 FbWinFrame::SizeHints m_size_hint; 556 SizeHints m_size_hint;
557 struct _decorations { 557 struct _decorations {
558 bool titlebar, handle, border, iconify, 558 bool titlebar, handle, border, iconify,
559 maximize, close, menu, sticky, shade, tab, enabled; 559 maximize, close, menu, sticky, shade, tab, enabled;