aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 16e606d..4884a1e 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.61 2003/04/25 11:27:13 rathnor Exp $ 25// $Id: Window.hh,v 1.62 2003/04/26 05:42:36 rathnor Exp $
26 26
27#ifndef WINDOW_HH 27#ifndef WINDOW_HH
28#define WINDOW_HH 28#define WINDOW_HH
@@ -204,6 +204,24 @@ public:
204 void setDecoration(Decoration decoration); 204 void setDecoration(Decoration decoration);
205 void toggleDecoration(); 205 void toggleDecoration();
206 206
207 enum DecorationMask {
208 DECORM_TITLEBAR = (1<<0),
209 DECORM_HANDLE = (1<<1),
210 DECORM_BORDER = (1<<2),
211 DECORM_ICONIFY = (1<<3),
212 DECORM_MAXIMIZE = (1<<4),
213 DECORM_CLOSE = (1<<5),
214 DECORM_MENU = (1<<6),
215 DECORM_STICKY = (1<<7),
216 DECORM_SHADE = (1<<8),
217 DECORM_TAB = (1<<9),
218 DECORM_ENABLED = (1<<10),
219 DECORM_LAST = (1<<11) // useful for getting "All"
220 };
221
222 unsigned int getDecorationMask() const;
223 void setDecorationMask(unsigned int mask);
224
207#ifdef SHAPE 225#ifdef SHAPE
208 void shapeEvent(XShapeEvent *event); 226 void shapeEvent(XShapeEvent *event);
209#endif // SHAPE 227#endif // SHAPE