X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fbackgroundwidget.hh;h=23dd991864d0e644cdf955449ce160be0ea3f03f;hb=96a9196cbb71b7f8d5e3d98a92b2e59bb1b591a8;hp=9d833b4c2f1e5de8a5d0cde2d0dd2d7215a5baae;hpb=e05d5f7934ce27893f900627fbd06b1679d4c0ad;p=chaz%2Fopenbox diff --git a/src/backgroundwidget.hh b/src/backgroundwidget.hh index 9d833b4c..23dd9918 100644 --- a/src/backgroundwidget.hh +++ b/src/backgroundwidget.hh @@ -1,20 +1,20 @@ // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- -#ifndef __obbackgroundwidget_hh -#define __obbackgroundwidget_hh +#ifndef __backgroundwidget_hh +#define __backgroundwidget_hh #include "otk/widget.hh" -#include "widget.hh" +#include "widgetbase.hh" namespace ob { -class OBBackgroundWidget : public otk::OtkWidget, public OBWidget +class BackgroundWidget : public otk::Widget, public WidgetBase { private: void setTextures(); public: - OBBackgroundWidget(otk::OtkWidget *parent, OBWidget::WidgetType type); - virtual ~OBBackgroundWidget(); + BackgroundWidget(otk::Widget *parent, WidgetBase::WidgetType type); + virtual ~BackgroundWidget(); virtual void setStyle(otk::Style *style); @@ -22,11 +22,8 @@ public: virtual void focus(); virtual void unfocus(); - - void grabButtons(bool grab); - virtual void buttonPressHandler(const XButtonEvent &e); }; } -#endif // __obbackgroundwidget_hh +#endif // __backgroundwidget_hh