diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-04-10 17:14:45 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-04-10 17:14:45 +0000 |
commit | 9f205ae53d29127c54d416b5ca024fb625b1b950 (patch) | |
tree | 9abc0e2bd7917edf79670f230b6d4e477f09875c /src/SourceWindow.hh | |
parent | 2348be825542354e15a3dcc4f7f2581fa598c721 (diff) |
* add volume control for sources
* add channel map information to sinks/source/sink inputs/source outputs
git-svn-id: file:///home/lennart/svn/public/paman/trunk@54 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
Diffstat (limited to 'src/SourceWindow.hh')
-rw-r--r-- | src/SourceWindow.hh | 17 |
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 |