]> icculus.org git repositories - dana/openbox.git/blob - src/backgroundwidget.hh
add function to focus modal children
[dana/openbox.git] / src / backgroundwidget.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef   __backgroundwidget_hh
3 #define   __backgroundwidget_hh
4
5 #include "otk/widget.hh"
6 #include "widgetbase.hh"
7
8 namespace ob {
9
10 class BackgroundWidget : public otk::Widget, public WidgetBase
11 {
12 private:
13   void setTextures();
14   
15 public:
16   BackgroundWidget(otk::Widget *parent, WidgetBase::WidgetType type);
17   virtual ~BackgroundWidget();
18
19   virtual void setStyle(otk::RenderStyle *style);
20
21   virtual void adjust();
22
23   virtual void focus();
24   virtual void unfocus();
25 };
26
27 }
28
29 #endif // __backgroundwidget_hh