]> Dogcows Code - chaz/openbox/blob - src/widget.hh
ed0f0a9d740f2a35931741f9094fda8ae65e8685
[chaz/openbox] / src / widget.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __obwidget_hh
3 #define __obwidget_hh
4
5 namespace ob {
6
7 class OBWidget {
8 public:
9 enum WidgetType {
10 Type_Titlebar,
11 Type_Handle,
12 Type_Plate,
13 Type_Label,
14 Type_MaximizeButton,
15 Type_CloseButton,
16 Type_IconifyButton,
17 Type_StickyButton,
18 Type_LeftGrip,
19 Type_RightGrip
20 };
21
22 private:
23 WidgetType _type;
24
25 public:
26 OBWidget(WidgetType type) : _type(type) {}
27
28 inline WidgetType type() const { return _type; }
29 };
30
31 }
32
33 #endif // __obwidget_hh
This page took 0.037349 seconds and 4 git commands to generate.