diff options
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; |