diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-08 08:13:02 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-08 08:13:02 +0000 |
| commit | f51f1c775f3f09cf184ead323d111985c888d52e (patch) | |
| tree | 22bfcdb158b450c2f7e971b206f37e5c873d79e3 /otk/label.hh | |
| parent | e72d9d90f9f29809dead53968395c2c8ae5470f0 (diff) | |
stacked cycling menu works now. add a highlighted flag to otk widgets
Diffstat (limited to 'otk/label.hh')
| -rw-r--r-- | otk/label.hh | 5 |
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; }; } |
