summaryrefslogtreecommitdiff
path: root/plugingui/label.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-11-20 20:03:18 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-11-20 20:03:18 +0100
commit3734f5d3c741e877c49ff1c99ce67cb4a764023b (patch)
tree5fcbcc3d084d5c8d49bd40d726481ca92d54bd5e /plugingui/label.h
parentc1973bc4d4ec9d8d18a690359a2d649905e35264 (diff)
Only initialise Font once.
Diffstat (limited to 'plugingui/label.h')
-rw-r--r--plugingui/label.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugingui/label.h b/plugingui/label.h
index 0ba67c5..3f0b93f 100644
--- a/plugingui/label.h
+++ b/plugingui/label.h
@@ -28,6 +28,8 @@
#include "widget.h"
+#include "font.h"
+
#include <string>
namespace GUI {
@@ -44,6 +46,8 @@ protected:
private:
std::string _text;
+ Font font{":fontemboss.png"};
+
};
} // GUI::