diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-15 20:15:07 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-07-15 18:56:00 +0200 |
commit | be9fe821ff1689ece9ee6433fcf42ec316e0aaad (patch) | |
tree | 96ae9a9e52539c32b37d8f9805cf4a458125033a /plugingui/timingframecontent.cc | |
parent | 3e003e674b31ca1308f5c32125f5a2152e773f17 (diff) |
PoC for humanisation visualiser.
Diffstat (limited to 'plugingui/timingframecontent.cc')
-rw-r--r-- | plugingui/timingframecontent.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugingui/timingframecontent.cc b/plugingui/timingframecontent.cc index 5e48423..d6b4c29 100644 --- a/plugingui/timingframecontent.cc +++ b/plugingui/timingframecontent.cc @@ -27,6 +27,7 @@ #include "timingframecontent.h" #include <cmath> +#include <iostream> #include "painter.h" @@ -39,6 +40,7 @@ TimingframeContent::TimingframeContent(Widget* parent, : Widget(parent) , settings(settings) , settings_notifier(settings_notifier) + , visualiser(this, settings_notifier) { layout.setResizeChildren(false); @@ -70,6 +72,9 @@ TimingframeContent::TimingframeContent(Widget* parent, layout.setPosition(®ain, GridLayout::GridRange{1, 2, 0, 1}); layout.setPosition(&laidback, GridLayout::GridRange{2, 3, 0, 1}); + visualiser.move(80, 40); + visualiser.resize(40, 40); + CONNECT(this, settings_notifier.latency_stddev, this, &TimingframeContent::tightnessSettingsValueChanged); CONNECT(this, settings_notifier.latency_regain, @@ -83,7 +88,6 @@ TimingframeContent::TimingframeContent(Widget* parent, this, &TimingframeContent::regainKnobValueChanged); CONNECT(&laidback_knob, valueChangedNotifier, this, &TimingframeContent::laidbackKnobValueChanged); - } float TimingframeContent::thightnessKnobToSettings(float value) const |