]> Dogcows Code - chaz/openbox/blobdiff - otk/label.hh
widegt using new render system
[chaz/openbox] / otk / label.hh
index e52c34f473c0a521ce392836377ac1dcbe15dbac..ff1755d78fe82b143c85bf941a461bed7fb8ba0a 100644 (file)
@@ -16,13 +16,17 @@ public:
   inline const ustring &getText(void) const { return _text; }
   void setText(const ustring &text) { _text = text; _dirty = true; }
 
-  void update(void);
+  virtual void renderForeground(void);
 
   virtual void setStyle(Style *style);
 
 private:
-  //! Text displayed in the label
+  //! Text to be displayed in the label
   ustring _text;
+  //! The actual text being shown, may be a subset of _text
+  ustring _drawtext;
+  //! The drawing offset for the text
+  int _drawx;
 };
 
 }
This page took 0.022602 seconds and 4 git commands to generate.