diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-30 17:44:20 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-30 17:44:20 +0100 |
commit | 4b7414b3f6869f2bdeb097e4f997498bae9f0aee (patch) | |
tree | 53e9741d7d40f1ff6f77d47fc308b18168dca330 /plugingui/label.cc | |
parent | a1fba9ba11a13f94c524f2ac78206b3fdfb3be74 (diff) |
New box rendering of all widgets. Minor tweaks still missing.
Diffstat (limited to 'plugingui/label.cc')
-rw-r--r-- | plugingui/label.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugingui/label.cc b/plugingui/label.cc index bb0bb4d..165f1ed 100644 --- a/plugingui/label.cc +++ b/plugingui/label.cc @@ -28,11 +28,6 @@ #include "painter.h" -#include <stdio.h> -//#include <arpa/inet.h> - -#include "img_test.h" - GUI::Label::Label(GUI::Widget *parent) : GUI::Widget(parent) { } @@ -45,9 +40,10 @@ void GUI::Label::setText(std::string text) void GUI::Label::repaintEvent(GUI::RepaintEvent *e) { - // printf("Label::repaintEvent\n"); Painter p(this); + p.clear(); + p.setColour(Colour(1)); Font font; |