]> Dogcows Code - chaz/openbox/blobdiff - otk/focuslabel.hh
add an OBBackgroundWidget and use it for setting colors so far.
[chaz/openbox] / otk / focuslabel.hh
index ea21710a4c50d0ce74409a6a2d566064356f877e..042082ebae58578c4c1b0fdef9d0f918b58d5c71 100644 (file)
@@ -2,6 +2,7 @@
 #define __label_hh
 
 #include "focuswidget.hh"
+#include "font.hh"
 
 namespace otk {
 
@@ -16,13 +17,14 @@ public:
   void setText(const std::string &text) { _text = text; _dirty = true; }
 
   void update(void);
-  int exposeHandler(const XExposeEvent &e);
-  int configureHandler(const XConfigureEvent &e);
 
+  virtual void setStyle(Style *style);
+  
 private:
-
+  //! Object used by Xft to render to the drawable
+  XftDraw *_xftdraw;
+  //! Text displayed in the label
   std::string _text;
-  bool _dirty;
 };
 
 }
This page took 0.022707 seconds and 4 git commands to generate.