diff options
Diffstat (limited to 'otk/label.hh')
| -rw-r--r-- | otk/label.hh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/otk/label.hh b/otk/label.hh index e52c34f4..ff1755d7 100644 --- a/otk/label.hh +++ b/otk/label.hh @@ -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; }; } |
