diff options
Diffstat (limited to 'plugingui/diskstreamingframecontent.h')
-rw-r--r-- | plugingui/diskstreamingframecontent.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/plugingui/diskstreamingframecontent.h b/plugingui/diskstreamingframecontent.h index 5c1fad0..bcdbef9 100644 --- a/plugingui/diskstreamingframecontent.h +++ b/plugingui/diskstreamingframecontent.h @@ -31,18 +31,27 @@ #include "slider.h" #include "widget.h" +struct Settings; +class SettingsNotifier; + namespace GUI { class DiskstreamingframeContent : public Widget { public: - DiskstreamingframeContent(Widget* parent); + DiskstreamingframeContent(Widget* parent, + Settings& settings, + SettingsNotifier& settings_notifier); // From Widget virtual void resize(std::size_t width, std::size_t height) override; private: + void limitSettingsValueChanged(float value); + void limitValueChanged(float value); + void reloadClicked(); + Label label_text{this}; Label label_size{this}; @@ -51,6 +60,9 @@ private: std::size_t slider_width; std::size_t button_width; + + Settings& settings; + SettingsNotifier& settings_notifier; }; } // GUI:: |