diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-23 21:28:08 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-23 21:28:08 (GMT) |
commit | 1b48b749b9a376c883ff4cc2ca3e807ac85cf21f (patch) | |
tree | 6ca960b0751df35295791728721bf12043c2c6c5 /src/Window.hh | |
parent | 0676161673d4347197c9d20fe3d613527633e597 (diff) | |
download | fluxbox-1b48b749b9a376c883ff4cc2ca3e807ac85cf21f.zip fluxbox-1b48b749b9a376c883ff4cc2ca3e807ac85cf21f.tar.bz2 |
make FbWinFrame aware of the decoration state
Diffstat (limited to 'src/Window.hh')
-rw-r--r-- | src/Window.hh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/Window.hh b/src/Window.hh index eeb7ae1..1d54d18 100644 --- a/src/Window.hh +++ b/src/Window.hh | |||
@@ -110,34 +110,6 @@ public: | |||
110 | MAX_VERT = 2, ///< maximize vertical | 110 | MAX_VERT = 2, ///< maximize vertical |
111 | MAX_FULL = 3 ///< maximize full | 111 | MAX_FULL = 3 ///< maximize full |
112 | }; | 112 | }; |
113 | /** | ||
114 | This enumeration represents individual decoration | ||
115 | attributes, they can be OR-d together to get a mask. | ||
116 | Useful for saving. | ||
117 | */ | ||
118 | enum DecorationMask { | ||
119 | DECORM_TITLEBAR = (1<<0), | ||
120 | DECORM_HANDLE = (1<<1), | ||
121 | DECORM_BORDER = (1<<2), | ||
122 | DECORM_ICONIFY = (1<<3), | ||
123 | DECORM_MAXIMIZE = (1<<4), | ||
124 | DECORM_CLOSE = (1<<5), | ||
125 | DECORM_MENU = (1<<6), | ||
126 | DECORM_STICKY = (1<<7), | ||
127 | DECORM_SHADE = (1<<8), | ||
128 | DECORM_TAB = (1<<9), | ||
129 | DECORM_ENABLED = (1<<10), | ||
130 | DECORM_LAST = (1<<11) // useful for getting "All" | ||
131 | }; | ||
132 | |||
133 | enum Decoration { | ||
134 | DECOR_NONE = 0, | ||
135 | DECOR_NORMAL = DECORM_LAST - 1, | ||
136 | DECOR_TINY = DECORM_TITLEBAR|DECORM_ICONIFY|DECORM_MENU|DECORM_TAB, | ||
137 | DECOR_TOOL = DECORM_TITLEBAR|DECORM_MENU, | ||
138 | DECOR_BORDER = DECORM_BORDER|DECORM_MENU, | ||
139 | DECOR_TAB = DECORM_BORDER|DECORM_MENU|DECORM_TAB | ||
140 | }; | ||
141 | 113 | ||
142 | /// Different resize modes when resizing a window | 114 | /// Different resize modes when resizing a window |
143 | enum ResizeModel { | 115 | enum ResizeModel { |