summaryrefslogtreecommitdiff
path: root/plugingui/maintab.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-17 16:33:45 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-17 16:33:58 +0200
commitcbb0f0f34e71630cb59ac4a831daf445f58a6427 (patch)
tree1114dd2b50aa4a63832e595bec445170f6ba12fb /plugingui/maintab.h
parentfebd5dec458e9fb066dab218b07d6c42b53ea5b1 (diff)
Connect humanizer controls to settings.
Diffstat (limited to 'plugingui/maintab.h')
-rw-r--r--plugingui/maintab.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugingui/maintab.h b/plugingui/maintab.h
index 144b075..6f8b7b2 100644
--- a/plugingui/maintab.h
+++ b/plugingui/maintab.h
@@ -49,6 +49,8 @@ public:
SettingsNotifier& settings_notifier);
private:
+ void humanizerOnChange(bool on);
+
GridLayout layout{this, 2, 40};
FrameWidget drumkit_frame{this, false};
@@ -58,8 +60,11 @@ private:
DrumkitframeContent drumkitframe_content;
StatusframeContent statusframe_content{this};
- HumanizerframeContent humanizerframe_content{this};
+ HumanizerframeContent humanizerframe_content;
DiskstreamingframeContent diskstreamingframe_content{this};
+
+ Settings& settings;
+ SettingsNotifier& settings_notifier;
};
} // GUI::