]> Dogcows Code - chaz/openbox/blobdiff - src/backgroundwidget.hh
use otk objects in the ob scripts by importing otk
[chaz/openbox] / src / backgroundwidget.hh
index 7b698c1594ae529b88148a41b006efa20f15d4fc..640ac45e37d04834873eca6b273d2415e36482bf 100644 (file)
@@ -1,22 +1,22 @@
 // -*- 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);
+  virtual void setStyle(otk::RenderStyle *style);
 
   virtual void adjust();
 
@@ -26,4 +26,4 @@ public:
 
 }
 
-#endif // __obbackgroundwidget_hh
+#endif // __backgroundwidget_hh
This page took 0.023546 seconds and 4 git commands to generate.