summaryrefslogtreecommitdiff
path: root/plugingui/maintab.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-05-02 13:48:23 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-05-02 13:48:23 +0200
commit2c395c676ebe4c821ac7126323ab0c15febb9bfe (patch)
tree13f6c49c208875c96b3f87d41ce8456c3441676a /plugingui/maintab.h
parentc9134d86d393e3acba278d886482b84d3e4bf722 (diff)
Add new powermap widgget to the plugingui.
Diffstat (limited to 'plugingui/maintab.h')
-rw-r--r--plugingui/maintab.h4
1 files changed, 4 insertions, 0 deletions
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);