From 3e85cc8bfccf63236e815eba64acd99fbe154daf Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 18 Oct 2011 14:49:43 +0200 Subject: New Label and LED widgets. --- plugingui/label.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'plugingui/label.h') 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__*/ -- cgit v1.2.3