From 2c395c676ebe4c821ac7126323ab0c15febb9bfe Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 2 May 2020 13:48:23 +0200 Subject: Add new powermap widgget to the plugingui. --- plugingui/maintab.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugingui/maintab.h') diff --git a/plugingui/maintab.h b/plugingui/maintab.h index ea46f11..a19b183 100644 --- a/plugingui/maintab.h +++ b/plugingui/maintab.h @@ -38,6 +38,7 @@ #include "timingframecontent.h" #include "sampleselectionframecontent.h" #include "visualizerframecontent.h" +#include "powerwidget.h" struct Settings; class SettingsNotifier; @@ -63,6 +64,7 @@ private: void bleedcontrolOnChange(bool on); void resamplingOnChange(bool on); void timingOnChange(bool on); + void powerOnChange(bool on); Image logo{":resources/logo.png"}; @@ -77,6 +79,7 @@ private: FrameWidget timing_frame{this, true, true}; FrameWidget sampleselection_frame{this, false, true}; FrameWidget visualizer_frame{this, false, true}; + FrameWidget power_frame{this, true, true}; DrumkitframeContent drumkitframe_content; StatusframeContent statusframe_content; @@ -87,6 +90,7 @@ private: TimingframeContent timingframe_content; SampleselectionframeContent sampleselectionframe_content; VisualizerframeContent visualizerframe_content; + PowerWidget powerframe_content; void add(std::string const& title, FrameWidget& frame, Widget& content, std::size_t height, int column); -- cgit v1.2.3