blob: 9d833b4c2f1e5de8a5d0cde2d0dd2d7215a5baae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
#ifndef __obbackgroundwidget_hh
#define __obbackgroundwidget_hh
#include "otk/widget.hh"
#include "widget.hh"
namespace ob {
class OBBackgroundWidget : public otk::OtkWidget, public OBWidget
{
private:
void setTextures();
public:
OBBackgroundWidget(otk::OtkWidget *parent, OBWidget::WidgetType type);
virtual ~OBBackgroundWidget();
virtual void setStyle(otk::Style *style);
virtual void adjust();
virtual void focus();
virtual void unfocus();
void grabButtons(bool grab);
virtual void buttonPressHandler(const XButtonEvent &e);
};
}
#endif // __obbackgroundwidget_hh
|