diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-04-25 21:09:22 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-04-25 21:09:22 +0200 |
commit | 4f8d58ba39a58b5a6f67d3b83cabc4add4cca0c6 (patch) | |
tree | 5be8dba730c769a3bf81040145cb3c06f02d0e9f /plugingui/powerwidget.h | |
parent | 8df7a7e494d734ae4c82a229a89e88eaf69288e9 (diff) |
WIP: UI adaptation for plugingui integration.
Diffstat (limited to 'plugingui/powerwidget.h')
-rw-r--r-- | plugingui/powerwidget.h | 18 |
1 files changed, 3 insertions, 15 deletions
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 <texture.h> #include <knob.h> #include <checkbox.h> +#include <label.h> #include <powermap.h> 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; }; |