From f51f1c775f3f09cf184ead323d111985c888d52e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 8 Feb 2003 08:13:02 +0000 Subject: stacked cycling menu works now. add a highlighted flag to otk widgets --- otk/label.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'otk/label.hh') diff --git a/otk/label.hh b/otk/label.hh index 1b31ae79..b3e9c166 100644 --- a/otk/label.hh +++ b/otk/label.hh @@ -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; }; } -- cgit v1.2.3