summaryrefslogtreecommitdiff
path: root/plugingui/diskstreamingframecontent.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-17 17:44:05 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-17 17:44:05 +0200
commitcce58a93617507a4f2e6927de4445e30b7b46617 (patch)
tree5b6fb81171028d46c3a147275a74226444133809 /plugingui/diskstreamingframecontent.h
parent5186102ef5f44b72f655528a45df9f0fa5c49545 (diff)
Connected streaming controls.
Diffstat (limited to 'plugingui/diskstreamingframecontent.h')
-rw-r--r--plugingui/diskstreamingframecontent.h14
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::