diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-09 13:52:02 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-09 13:52:02 +0100 |
commit | 9d3ca6da69096d5904cbe16d0f8778e6c14537e8 (patch) | |
tree | 59d7604cec1e90773d6aab338e21a224118ba07a /plugingui/checkbox.h | |
parent | d556005df149558e2614b7019ca4b180f9c44fb8 (diff) |
Add label to checkbox widget.
Diffstat (limited to 'plugingui/checkbox.h')
-rw-r--r-- | plugingui/checkbox.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugingui/checkbox.h b/plugingui/checkbox.h index fd25081..1b8aa23 100644 --- a/plugingui/checkbox.h +++ b/plugingui/checkbox.h @@ -35,6 +35,8 @@ class CheckBox : public Widget { public: CheckBox(Widget *parent); + void setText(std::string text); + bool isFocusable() { return true; } bool checked(); @@ -53,6 +55,8 @@ private: void (*handler)(void *); void *ptr; + + std::string _text; }; }; |