summaryrefslogtreecommitdiff
path: root/plugingui/powerwidget.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-05-01 17:10:30 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-05-01 17:10:30 +0200
commitd9b10f103ab2d86072ee1dd66bcb79ae140576f0 (patch)
tree3ee601e31628586606e8f7edf1e5192f1e96a75e /plugingui/powerwidget.h
parent29c8e1fce3b84d5b2a561e2bd7407cce90f7ff7a (diff)
Draw axis texts with painter.
Diffstat (limited to 'plugingui/powerwidget.h')
-rw-r--r--plugingui/powerwidget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/powerwidget.h b/plugingui/powerwidget.h
index 562383b..c5c6665 100644
--- a/plugingui/powerwidget.h
+++ b/plugingui/powerwidget.h
@@ -32,6 +32,7 @@
#include <knob.h>
#include <checkbox.h>
#include <label.h>
+#include <font.h>
#include <powermap.h>
struct Settings;
@@ -83,6 +84,7 @@ private:
int in_point{-1};
const float radius = 0.02f;
const float brd = 6.0f;
+ GUI::Font font{":resources/fontemboss.png"};
};
void chk_shelf(bool v);
@@ -90,8 +92,6 @@ private:
Canvas canvas;
GUI::Label shelf_label{this};
GUI::CheckBox shelf_checkbox{this};
- GUI::Label input_label{this};
- GUI::Label output_label{this};
Settings& settings;
};