]> icculus.org git repositories - mikachu/openbox.git/blob - src/backgroundwidget.hh
add startup and shutdown callback events for each screen
[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/widget.hh"
6 #include "widget.hh"
7
8 namespace ob {
9
10 class OBBackgroundWidget : public otk::OtkWidget, public OBWidget
11 {
12 private:
13   void setTextures();
14   
15 public:
16   OBBackgroundWidget(otk::OtkWidget *parent, OBWidget::WidgetType type);
17   virtual ~OBBackgroundWidget();
18
19   virtual void setStyle(otk::Style *style);
20
21   virtual void adjust();
22
23   virtual void focus();
24   virtual void unfocus();
25 };
26
27 }
28
29 #endif // __obbackgroundwidget_hh