add an OBBackgroundWidget and use it for setting colors so far.
[mikachu/openbox.git] / 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   };
14
15 private:
16   WidgetType _type;
17
18 public:
19   OBWidget(WidgetType type) : _type(type) {}
20   
21   inline WidgetType type() const { return _type; }
22 };
23
24 }
25
26 #endif // __obwidget_hh