summaryrefslogtreecommitdiffstats
path: root/src/SourceWindow.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/SourceWindow.hh')
-rw-r--r--src/SourceWindow.hh17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/SourceWindow.hh b/src/SourceWindow.hh
index 7cddff3..05e5167 100644
--- a/src/SourceWindow.hh
+++ b/src/SourceWindow.hh
@@ -34,25 +34,36 @@ public:
*descriptionLabel,
*indexLabel,
*sampleTypeLabel,
+ *channelMapLabel,
*ownerModuleLabel,
*monitorOfSinkLabel,
- *latencyLabel;
+ *latencyLabel,
+ *volumeLabel;
Gtk::Button *closeButton,
*toParentSinkButton,
*toOwnerModuleButton,
+ *volumeResetButton,
+ *volumeMuteButton,
*volumeMeterButton;
- uint32_t monitor_of_sink, owner_module;
+ Gtk::HScale *volumeScale;
+
+ uint32_t index, monitor_of_sink, owner_module;
Glib::ustring source_name;
+ bool scaleEnabled;
void updateInfo(const SourceInfo &i);
virtual void onCloseButton();
virtual void onParentSinkButton();
virtual void onToOwnerModuleButton();
- virtual bool on_delete_event(GdkEventAny* e);
+ virtual void onVolumeScaleValueChanged();
+ virtual void onVolumeResetButton();
+ virtual void onVolumeMuteButton();
virtual void onVolumeMeterButton();
+
+ virtual bool on_delete_event(GdkEventAny* e);
};
#endif