summaryrefslogtreecommitdiff
path: root/otk/label.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-08 08:13:02 +0000
committerDana Jansens <danakj@orodu.net>2003-02-08 08:13:02 +0000
commitf51f1c775f3f09cf184ead323d111985c888d52e (patch)
tree22bfcdb158b450c2f7e971b206f37e5c873d79e3 /otk/label.hh
parente72d9d90f9f29809dead53968395c2c8ae5470f0 (diff)
stacked cycling menu works now. add a highlighted flag to otk widgets
Diffstat (limited to 'otk/label.hh')
-rw-r--r--otk/label.hh5
1 files changed, 5 insertions, 0 deletions
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;
};
}