]> Dogcows Code - chaz/openbox/blob - src/widget.hh
link in python not guile
[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_Frame,
11 Type_Titlebar,
12 Type_Handle,
13 Type_Plate,
14 Type_Label,
15 Type_MaximizeButton,
16 Type_CloseButton,
17 Type_IconifyButton,
18 Type_StickyButton,
19 Type_LeftGrip,
20 Type_RightGrip,
21 Type_Client
22 };
23
24 private:
25 WidgetType _type;
26
27 public:
28 OBWidget(WidgetType type) : _type(type) {}
29
30 inline WidgetType type() const { return _type; }
31 };
32
33 }
34
35 #endif // __obwidget_hh
This page took 0.039474 seconds and 4 git commands to generate.