]> Dogcows Code - chaz/openbox/blobdiff - otk/label.hh
set the _text
[chaz/openbox] / otk / label.hh
index 1b31ae79a5b91703096c71f80e295f9241bbb095..b3e9c16655256dcbfc9fa682c3446426a7205be7 100644 (file)
@@ -20,6 +20,9 @@ public:
   inline const ustring& getText(void) const { return _text; }
   void setText(const ustring &text);
 
+  virtual inline bool isHighlighted() const { return _highlight; }
+  virtual void setHighlighted(bool h);
+  
   RenderStyle::Justify horizontalJustify() const { return _justify_horz; }
   virtual void setHorizontalJustify(RenderStyle::Justify j);
   RenderStyle::Justify verticalJustify() const { return _justify_vert; }
@@ -53,6 +56,8 @@ private:
   RenderStyle::Justify _justify_vert;
   //! The drawing offset for the text
   int _drawx;
+  //! If the widget is highlighted or not
+  bool _highlight;
 };
 
 }
This page took 0.020368 seconds and 4 git commands to generate.