diff options
author | fluxgen <fluxgen> | 2007-03-31 19:16:48 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2007-03-31 19:16:48 (GMT) |
commit | 11a8b30381c6cc4c0fe2a5a6f4e68558a50d77f4 (patch) | |
tree | 5868163e4ed695d6f3e6f002a9035e8ddac9ddb7 | |
parent | 953c6804c6a62eb17531b5bcfe4841850334e04f (diff) | |
download | fluxbox-11a8b30381c6cc4c0fe2a5a6f4e68558a50d77f4.zip fluxbox-11a8b30381c6cc4c0fe2a5a6f4e68558a50d77f4.tar.bz2 |
more documentation
-rw-r--r-- | src/Screen.hh | 12 | ||||
-rw-r--r-- | src/Window.hh | 23 |
2 files changed, 19 insertions, 16 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index ab6ce7d..f3096c1 100644 --- a/src/Screen.hh +++ b/src/Screen.hh | |||
@@ -88,17 +88,17 @@ public: | |||
88 | /// a window becomes active / focussed on a different workspace | 88 | /// a window becomes active / focussed on a different workspace |
89 | enum FollowModel { | 89 | enum FollowModel { |
90 | IGNORE_OTHER_WORKSPACES = 0, ///< who cares? | 90 | IGNORE_OTHER_WORKSPACES = 0, ///< who cares? |
91 | FOLLOW_ACTIVE_WINDOW, ///< go to that workspace | 91 | FOLLOW_ACTIVE_WINDOW, ///< go to that workspace |
92 | SEMIFOLLOW_ACTIVE_WINDOW, ///< fetch iconified windows, else follow | 92 | SEMIFOLLOW_ACTIVE_WINDOW, ///< fetch iconified windows, else follow |
93 | FETCH_ACTIVE_WINDOW ///< put that window to the current workspace | 93 | FETCH_ACTIVE_WINDOW ///< put that window to the current workspace |
94 | }; | 94 | }; |
95 | 95 | ||
96 | /// Different resize modes when resizing a window | 96 | /// Different resize modes when resizing a window |
97 | enum ResizeModel { | 97 | enum ResizeModel { |
98 | BOTTOMRESIZE = 0, //< resizes from the bottom right corner | 98 | BOTTOMRESIZE = 0, ///< resizes from the bottom right corner |
99 | QUADRANTRESIZE, //< resizes from one quadrant | 99 | QUADRANTRESIZE, ///< resizes from one quadrant |
100 | CENTERRESIZE, //< resizes from center | 100 | CENTERRESIZE, ///< resizes from center |
101 | DEFAULTRESIZE = BOTTOMRESIZE //< default resize mode is bottom | 101 | DEFAULTRESIZE = BOTTOMRESIZE ///< default resize mode is bottom |
102 | }; | 102 | }; |
103 | 103 | ||
104 | 104 | ||
diff --git a/src/Window.hh b/src/Window.hh index 090b4e8..91bd4a5 100644 --- a/src/Window.hh +++ b/src/Window.hh | |||
@@ -97,14 +97,14 @@ public: | |||
97 | 97 | ||
98 | /// attributes for BlackboxHints | 98 | /// attributes for BlackboxHints |
99 | enum Attrib { | 99 | enum Attrib { |
100 | ATTRIB_SHADED = 0x01, | 100 | ATTRIB_SHADED = 0x01, ///< shaded |
101 | ATTRIB_MAXHORIZ = 0x02, | 101 | ATTRIB_MAXHORIZ = 0x02, ///< maximized horizontal |
102 | ATTRIB_MAXVERT = 0x04, | 102 | ATTRIB_MAXVERT = 0x04, ///< maximized vertical |
103 | ATTRIB_OMNIPRESENT = 0x08, | 103 | ATTRIB_OMNIPRESENT = 0x08, ///< omnipresent (sticky) |
104 | ATTRIB_WORKSPACE = 0x10, | 104 | ATTRIB_WORKSPACE = 0x10, ///< workspace |
105 | ATTRIB_STACK = 0x20, | 105 | ATTRIB_STACK = 0x20, ///< stack |
106 | ATTRIB_DECORATION = 0x40, | 106 | ATTRIB_DECORATION = 0x40, ///< decorations |
107 | ATTRIB_HIDDEN = 0x80, | 107 | ATTRIB_HIDDEN = 0x80, ///< hidden |
108 | }; | 108 | }; |
109 | 109 | ||
110 | /** | 110 | /** |
@@ -136,7 +136,9 @@ public: | |||
136 | DECORM_LAST = (1<<11) // useful for getting "All" | 136 | DECORM_LAST = (1<<11) // useful for getting "All" |
137 | }; | 137 | }; |
138 | 138 | ||
139 | 139 | /** | |
140 | * Resize direction while resizing | ||
141 | */ | ||
140 | enum ResizeDirection { | 142 | enum ResizeDirection { |
141 | NOCORNER = -1, | 143 | NOCORNER = -1, |
142 | LEFTTOP = 0, | 144 | LEFTTOP = 0, |
@@ -149,12 +151,13 @@ public: | |||
149 | LEFT = 7, | 151 | LEFT = 7, |
150 | ALLCORNERS = 8 | 152 | ALLCORNERS = 8 |
151 | }; | 153 | }; |
152 | 154 | /// holds old blackbox specific hints | |
153 | typedef struct _blackbox_hints { | 155 | typedef struct _blackbox_hints { |
154 | unsigned long flags, attrib, workspace, stack; | 156 | unsigned long flags, attrib, workspace, stack; |
155 | long decoration; | 157 | long decoration; |
156 | } BlackboxHints; | 158 | } BlackboxHints; |
157 | 159 | ||
160 | /// holds old blackbox attributes | ||
158 | typedef struct _blackbox_attributes { | 161 | typedef struct _blackbox_attributes { |
159 | unsigned long flags, attrib, workspace, stack; | 162 | unsigned long flags, attrib, workspace, stack; |
160 | long premax_x, premax_y; | 163 | long premax_x, premax_y; |