diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-03-12 17:39:28 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-03-23 20:17:52 +0100 |
commit | 7860651ee543385bb6d1c229312b20e78150f118 (patch) | |
tree | 013bac8986d1753f470db68cfdcbe4c92d00ace8 /plugingui/plugingui.cc | |
parent | 54d0e5d4b13b18668b1c044f197fe528bb43d4a2 (diff) |
Preliminary plugin gui for disktreaming control.
Diffstat (limited to 'plugingui/plugingui.cc')
-rw-r--r-- | plugingui/plugingui.cc | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/plugingui/plugingui.cc b/plugingui/plugingui.cc index be59cd1..3fc8111 100644 --- a/plugingui/plugingui.cc +++ b/plugingui/plugingui.cc @@ -78,45 +78,7 @@ void PluginGUI::init() config = new Config(); config->load(); - window = new DGWindow(native_window, *config, settings); - - - CONNECT(this, settings_notifier.drumkit_file, - window->lineedit, &LineEdit::setText); - CONNECT(this, settings_notifier.drumkit_load_status, - window, &DGWindow::setDrumKitLoadStatus); - - CONNECT(this, settings_notifier.midimap_file, - window->lineedit2, &LineEdit::setText); - CONNECT(this, settings_notifier.midimap_load_status, - window, &DGWindow::setMidiMapLoadStatus); - - CONNECT(this, settings_notifier.enable_velocity_modifier, - window->velocityCheck, &CheckBox::setChecked); - - CONNECT(this, settings_notifier.velocity_modifier_falloff, - window->falloffKnob, &Knob::setValue); - CONNECT(this, settings_notifier.velocity_modifier_weight, - window->attackKnob, &Knob::setValue); - - - // TODO: - //CONNECT(this, settings_notifier.enable_velocity_randomiser, - // window->, &CheckBox::setChecked); - //CONNECT(this, settings_notifier.velocity_randomiser_weight, - // window->, &Knob::setValue); - - //CONNECT(this, settings_notifier.samplerate, - // window->, &Knob::setValue); - - //CONNECT(this, settings_notifier.enable_resampling, - // window->, &CheckBox::setChecked); - - CONNECT(this, settings_notifier.number_of_files, - window->drumkitFileProgress, &ProgressBar::setTotal); - - CONNECT(this, settings_notifier.number_of_files_loaded, - window->drumkitFileProgress, &ProgressBar::setValue); + window = new DGWindow(native_window, *config, settings, settings_notifier); auto eventHandler = window->eventHandler(); CONNECT(eventHandler, closeNotifier, this, &PluginGUI::closeEventHandler); |