From 4f8d58ba39a58b5a6f67d3b83cabc4add4cca0c6 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 25 Apr 2020 21:09:22 +0200 Subject: WIP: UI adaptation for plugingui integration. --- plugingui/powerwidget.h | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'plugingui/powerwidget.h') diff --git a/plugingui/powerwidget.h b/plugingui/powerwidget.h index 125d1d9..316c631 100644 --- a/plugingui/powerwidget.h +++ b/plugingui/powerwidget.h @@ -31,6 +31,7 @@ #include #include #include +#include #include struct Settings; @@ -83,24 +84,11 @@ private: const float radius = 0.015; }; - void chk_enable(bool v); - void k0_x(float v); - void k0_y(float v); - void k1_x(float v); - void k1_y(float v); - void k2_x(float v); - void k2_y(float v); void chk_shelf(bool v); Canvas canvas; - GUI::CheckBox checkbox_enable{this}; - GUI::Knob knob0_x{this}; - GUI::Knob knob0_y{this}; - GUI::Knob knob1_x{this}; - GUI::Knob knob1_y{this}; - GUI::Knob knob2_x{this}; - GUI::Knob knob2_y{this}; - GUI::CheckBox checkbox_shelf{this}; + GUI::Label shelf_label{this}; + GUI::CheckBox shelf_checkbox{this}; Settings& settings; }; -- cgit v1.2.3