From d8d9b42777ace234f3471918e1210062578f8188 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 20 Jan 2003 06:11:12 +0000 Subject: widegt using new render system --- otk/label.hh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'otk/label.hh') 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; }; } -- cgit v1.2.3