summaryrefslogtreecommitdiff
path: root/otk/label.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-20 06:11:12 +0000
committerDana Jansens <danakj@orodu.net>2003-01-20 06:11:12 +0000
commitd8d9b42777ace234f3471918e1210062578f8188 (patch)
tree915e9aa986ba44dda4c357bc834c68b4dc550525 /otk/label.hh
parent0ba441fe8f379ec506000f7fa29f867cb6bc0d51 (diff)
widegt using new render system
Diffstat (limited to 'otk/label.hh')
-rw-r--r--otk/label.hh8
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;
};
}