]> Dogcows Code - chaz/openbox/blobdiff - src/buttonwidget.hh
remove the border on the handle
[chaz/openbox] / src / buttonwidget.hh
index c2bb41f4ddba8ea6b1ccff177d40b7dc293e296f..a888a3d5226a48edf39e166f7f5a0b2b39348fdb 100644 (file)
@@ -1,13 +1,13 @@
 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
-#ifndef   __obbuttonwidget_hh
-#define   __obbuttonwidget_hh
+#ifndef   __buttonwidget_hh
+#define   __buttonwidget_hh
 
+#include "widgetbase.hh"
 #include "otk/widget.hh"
-#include "widget.hh"
 
 namespace ob {
 
-class OBButtonWidget : public otk::OtkWidget, public OBWidget
+class ButtonWidget : public otk::Widget, public WidgetBase
 {
 private:
   void setTextures();
@@ -15,14 +15,14 @@ private:
   unsigned int _button;
   
 public:
-  OBButtonWidget(otk::OtkWidget *parent, OBWidget::WidgetType type);
-  virtual ~OBButtonWidget();
+  ButtonWidget(otk::Widget *parent, WidgetBase::WidgetType type);
+  virtual ~ButtonWidget();
 
-  virtual void setStyle(otk::Style *style);
+  virtual void setStyle(otk::RenderStyle *style);
 
   virtual void adjust();
 
-  virtual void update();
+  virtual void renderForeground();
   
   virtual void focus();
   virtual void unfocus();
@@ -33,4 +33,4 @@ public:
 
 }
 
-#endif // __obbuttonwidget_hh
+#endif // __buttonwidget_hh
This page took 0.021276 seconds and 4 git commands to generate.