diff options
author | rathnor <rathnor> | 2003-04-26 14:05:47 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-04-26 14:05:47 (GMT) |
commit | 872ba855943de8d522337295fab9fb5d6d413c48 (patch) | |
tree | 0fde37b6d6578d211bb3c6540d7a9affbd73dc06 | |
parent | df8a780df164e4ed3b69a53a49686f51f2e96c04 (diff) | |
download | fluxbox_lack-872ba855943de8d522337295fab9fb5d6d413c48.zip fluxbox_lack-872ba855943de8d522337295fab9fb5d6d413c48.tar.bz2 |
add some comments to better describe the difference between the 2
decoration-related enumerations
-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), |