summaryrefslogtreecommitdiff
path: root/plugingui/checkbox.h
diff options
context:
space:
mode:
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;
};
};