From 0cb6057fd3a55b23b419ebfe9648cb63d4e13b24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Sat, 11 May 2019 16:33:28 +0200 Subject: Move sample selection GUI parameters to own frame. --- plugingui/humanizerframecontent.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'plugingui/humanizerframecontent.h') diff --git a/plugingui/humanizerframecontent.h b/plugingui/humanizerframecontent.h index e8c0810..048aea7 100644 --- a/plugingui/humanizerframecontent.h +++ b/plugingui/humanizerframecontent.h @@ -47,37 +47,22 @@ public: private: static float constexpr stddev_factor = 4.5f; - static float constexpr f_distance_factor = 4.f; - static float constexpr f_recent_factor = 1.f; - static float constexpr f_random_factor = .5f; void attackValueChanged(float value); void falloffValueChanged(float value); void stddevKnobValueChanged(float value); - void fDistanceKnobValueChanged(float value); - void fRecentKnobValueChanged(float value); - void fRandomKnobValueChanged(float value); void stddevSettingsValueChanged(float value); - void fDistanceSettingsValueChanged(float value); - void fRecentSettingsValueChanged(float value); - void fRandomSettingsValueChanged(float value); - GridLayout layout{this, 3, 2}; + GridLayout layout{this, 3, 1}; LabeledControl attack{this, "Attack"}; // drummer strength LabeledControl falloff{this, "Release"}; // regain LabeledControl stddev{this, "StdDev"}; - LabeledControl f_distance{this, "fDistance"}; - LabeledControl f_recent{this, "fRecent"}; - LabeledControl f_random{this, "fRandom"}; Knob attack_knob{&attack}; Knob falloff_knob{&falloff}; Knob stddev_knob{&stddev}; - Knob f_distance_knob{&f_distance}; - Knob f_recent_knob{&f_recent}; - Knob f_random_knob{&f_random}; Settings& settings; SettingsNotifier& settings_notifier; -- cgit v1.2.3