openbox/src/backgroundwidget.hh
2003-01-02 22:58:32 +00:00

32 lines
665 B
C++

// -*- 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