add an OBBackgroundWidget and use it for setting colors so far.
[mikachu/openbox.git] / src / backgroundwidget.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef   __obbackgroundwidget_hh
3 #define   __obbackgroundwidget_hh
4
5 #include "otk/focuswidget.hh"
6 #include "widget.hh"
7
8 namespace ob {
9
10 class OBBackgroundWidget : public otk::OtkFocusWidget, public OBWidget
11 {
12 private:
13   
14 public:
15   OBBackgroundWidget(otk::OtkWidget *parent, OBWidget::WidgetType type);
16   virtual ~OBBackgroundWidget();
17
18   virtual void setStyle(otk::Style *style);
19
20   virtual void adjust();
21 };
22
23 }
24
25 #endif // __obbackgroundwidget_hh