diff options
author | TheMarlboroMan <marlborometal@gmail.com> | 2020-11-15 16:50:27 +0100 |
---|---|---|
committer | TheMarlboroMan <marlborometal@gmail.com> | 2020-11-15 17:04:21 +0100 |
commit | eb0a72576c71557c8bb64cfd319620f5ea7ba24c (patch) | |
tree | df15c068870705d7c7847b8d98a760e058756f03 /plugingui/maintab.h | |
parent | b0fa70c97c9b4886fb6e063664dc4d10daf12c1c (diff) |
Implementation of the voice limiting feature.
Diffstat (limited to 'plugingui/maintab.h')
-rw-r--r-- | plugingui/maintab.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugingui/maintab.h b/plugingui/maintab.h index a19b183..57aec72 100644 --- a/plugingui/maintab.h +++ b/plugingui/maintab.h @@ -39,6 +39,7 @@ #include "sampleselectionframecontent.h" #include "visualizerframecontent.h" #include "powerwidget.h" +#include "voicelimitframecontent.h" struct Settings; class SettingsNotifier; @@ -65,10 +66,11 @@ private: void resamplingOnChange(bool on); void timingOnChange(bool on); void powerOnChange(bool on); + void voicelimitOnChange(bool status); Image logo{":resources/logo.png"}; - GridLayout layout{this, 2, 49}; + GridLayout layout{this, 2, 64}; FrameWidget drumkit_frame{this, false}; FrameWidget status_frame{this, false}; @@ -80,6 +82,7 @@ private: FrameWidget sampleselection_frame{this, false, true}; FrameWidget visualizer_frame{this, false, true}; FrameWidget power_frame{this, true, true}; + FrameWidget voicelimit_frame{this, true, true}; DrumkitframeContent drumkitframe_content; StatusframeContent statusframe_content; @@ -91,6 +94,7 @@ private: SampleselectionframeContent sampleselectionframe_content; VisualizerframeContent visualizerframe_content; PowerWidget powerframe_content; + VoiceLimitFrameContent voicelimit_content; void add(std::string const& title, FrameWidget& frame, Widget& content, std::size_t height, int column); |