]> Dogcows Code - chaz/openbox/blobdiff - src/backgroundwidget.hh
moving a window is possible once again
[chaz/openbox] / src / backgroundwidget.hh
index 0cbfb3fa11b2c65cf88f7aeb6ab70d12c60e9f02..9d833b4c2f1e5de8a5d0cde2d0dd2d7215a5baae 100644 (file)
@@ -2,14 +2,15 @@
 #ifndef   __obbackgroundwidget_hh
 #define   __obbackgroundwidget_hh
 
-#include "otk/focuswidget.hh"
+#include "otk/widget.hh"
 #include "widget.hh"
 
 namespace ob {
 
-class OBBackgroundWidget : public otk::OtkFocusWidget, public OBWidget
+class OBBackgroundWidget : public otk::OtkWidget, public OBWidget
 {
 private:
+  void setTextures();
   
 public:
   OBBackgroundWidget(otk::OtkWidget *parent, OBWidget::WidgetType type);
@@ -18,6 +19,12 @@ public:
   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);
 };
 
 }
This page took 0.022229 seconds and 4 git commands to generate.