From d9b10f103ab2d86072ee1dd66bcb79ae140576f0 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 1 May 2020 17:10:30 +0200 Subject: Draw axis texts with painter. --- plugingui/powerwidget.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugingui/powerwidget.h') 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 #include #include +#include #include 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; }; -- cgit v1.2.3