]> Dogcows Code - chaz/openbox/blob - src/backgroundwidget.hh
kill button release events
[chaz/openbox] / 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 void grabButtons(bool grab);
27 virtual void buttonPressHandler(const XButtonEvent &e);
28 };
29
30 }
31
32 #endif // __obbackgroundwidget_hh
This page took 0.039481 seconds and 5 git commands to generate.