summaryrefslogtreecommitdiff
path: root/plugingui/label.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/label.h')
-rw-r--r--plugingui/label.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/plugingui/label.h b/plugingui/label.h
index d7ad6c9..50f02d6 100644
--- a/plugingui/label.h
+++ b/plugingui/label.h
@@ -29,17 +29,25 @@
#include "widget.h"
+#include <string>
+
+#include "guievent.h"
+
+namespace GUI {
+
class Label : public Widget {
public:
- Label(GlobalContext *gctx, Widget *parent);
+ Label(Widget *parent);
void setText(std::string text);
-protected:
- virtual void repaint(RepaintEvent *e);
+ //protected:
+ virtual void repaintEvent(RepaintEvent *e);
private:
std::string _text;
};
+};
+
#endif/*__DRUMGIZMO_LABEL_H__*/