summaryrefslogtreecommitdiff
path: root/plugingui/checkbox.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-09 13:52:02 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-09 13:52:02 +0100
commit9d3ca6da69096d5904cbe16d0f8778e6c14537e8 (patch)
tree59d7604cec1e90773d6aab338e21a224118ba07a /plugingui/checkbox.h
parentd556005df149558e2614b7019ca4b180f9c44fb8 (diff)
Add label to checkbox widget.
Diffstat (limited to 'plugingui/checkbox.h')
-rw-r--r--plugingui/checkbox.h4
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;
};
};