summaryrefslogtreecommitdiff
path: root/plugingui/label.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-01-23 20:08:12 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-01-23 20:08:12 +0100
commitaf9c9091ed69394171485aa4c4814504f86f2004 (patch)
tree070b911dc8faed486c8e8829f0f41aec7d5b4350 /plugingui/label.h
parent5e4cb10f72ef69d73fbd2c1bc42465c9111a4c41 (diff)
Simple image blit. New slider class. New filenamelineedit. New pixelbuffer used for drawing everything but the root window - with alpha blending...
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__*/