summaryrefslogtreecommitdiff
path: root/plugingui/knob.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/knob.h
parentc1973bc4d4ec9d8d18a690359a2d649905e35264 (diff)
Only initialise Font once.
Diffstat (limited to 'plugingui/knob.h')
-rw-r--r--plugingui/knob.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/knob.h b/plugingui/knob.h
index 3ad8887..4a71b2e 100644
--- a/plugingui/knob.h
+++ b/plugingui/knob.h
@@ -27,9 +27,8 @@
#pragma once
#include "widget.h"
-
#include "image.h"
-
+#include "font.h"
#include "notifier.h"
namespace GUI {
@@ -75,6 +74,7 @@ private:
Image img_knob;
int mouse_offset_x;
+ Font font;
};
} // GUI::