diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-18 14:49:43 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-18 14:49:43 +0200 |
commit | 3e85cc8bfccf63236e815eba64acd99fbe154daf (patch) | |
tree | c3988ded4857263cebff1515999fa5f44aa39b85 /plugingui/label.h | |
parent | ef47c71a29292ff9114a67d782e526ac662a1f32 (diff) |
New Label and LED widgets.
Diffstat (limited to 'plugingui/label.h')
-rw-r--r-- | plugingui/label.h | 16 |
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__*/ |