summaryrefslogtreecommitdiff
path: root/plugingui/label.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/label.h')
-rw-r--r--plugingui/label.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugingui/label.h b/plugingui/label.h
index d9087ab..d7ad6c9 100644
--- a/plugingui/label.h
+++ b/plugingui/label.h
@@ -26,4 +26,20 @@
*/
#ifndef __DRUMGIZMO_LABEL_H__
#define __DRUMGIZMO_LABEL_H__
+
+#include "widget.h"
+
+class Label : public Widget {
+public:
+ Label(GlobalContext *gctx, Widget *parent);
+
+ void setText(std::string text);
+
+protected:
+ virtual void repaint(RepaintEvent *e);
+
+private:
+ std::string _text;
+};
+
#endif/*__DRUMGIZMO_LABEL_H__*/