diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.hh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Window.hh b/src/Window.hh index 4884a1e..0f8053f 100644 --- a/src/Window.hh +++ b/src/Window.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Window.hh,v 1.62 2003/04/26 05:42:36 rathnor Exp $ | 25 | // $Id: Window.hh,v 1.63 2003/04/26 14:05:47 rathnor Exp $ |
26 | 26 | ||
27 | #ifndef WINDOW_HH | 27 | #ifndef WINDOW_HH |
28 | #define WINDOW_HH | 28 | #define WINDOW_HH |
@@ -65,7 +65,7 @@ class XLayer; | |||
65 | /// Creates the window frame and handles any window event for it | 65 | /// Creates the window frame and handles any window event for it |
66 | class FluxboxWindow : public FbTk::TimeoutHandler, public FbTk::EventHandler { | 66 | class FluxboxWindow : public FbTk::TimeoutHandler, public FbTk::EventHandler { |
67 | public: | 67 | public: |
68 | /// decoration bit | 68 | /// Represents certain "preset" sets of decorations. |
69 | enum Decoration { | 69 | enum Decoration { |
70 | DECOR_NONE=0, ///< no decor at all | 70 | DECOR_NONE=0, ///< no decor at all |
71 | DECOR_NORMAL, ///< normal normal | 71 | DECOR_NORMAL, ///< normal normal |
@@ -204,6 +204,11 @@ public: | |||
204 | void setDecoration(Decoration decoration); | 204 | void setDecoration(Decoration decoration); |
205 | void toggleDecoration(); | 205 | void toggleDecoration(); |
206 | 206 | ||
207 | /** | ||
208 | This enumeration represents individual decoration | ||
209 | attributes, they can be OR-d together to get a mask. | ||
210 | Useful for saving. | ||
211 | */ | ||
207 | enum DecorationMask { | 212 | enum DecorationMask { |
208 | DECORM_TITLEBAR = (1<<0), | 213 | DECORM_TITLEBAR = (1<<0), |
209 | DECORM_HANDLE = (1<<1), | 214 | DECORM_HANDLE = (1<<1), |