summaryrefslogtreecommitdiff
path: root/plugingui/label.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-10-18 14:49:43 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2011-10-18 14:49:43 +0200
commit3e85cc8bfccf63236e815eba64acd99fbe154daf (patch)
treec3988ded4857263cebff1515999fa5f44aa39b85 /plugingui/label.h
parentef47c71a29292ff9114a67d782e526ac662a1f32 (diff)
New Label and LED widgets.
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__*/