diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-08-15 11:27:34 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-08-15 11:27:34 +0000 |
commit | 4b682a9eba6590d8fe090f68dda6afe59ae64f85 (patch) | |
tree | 75345c90f9174dd45c9b5196645a5054c889b698 /src/SinkWindow.hh | |
parent | f8b436993e3ea7059984538cd65d50bd50671fe6 (diff) |
Move everything to src/ directory
git-svn-id: file:///home/lennart/svn/public/paman/trunk@8 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
Diffstat (limited to 'src/SinkWindow.hh')
-rw-r--r-- | src/SinkWindow.hh | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/SinkWindow.hh b/src/SinkWindow.hh new file mode 100644 index 0000000..32557c4 --- /dev/null +++ b/src/SinkWindow.hh @@ -0,0 +1,45 @@ +#ifndef foosinkwindowhhfoo +#define foosinkwindowhhfoo + +#include <gtkmm.h> +#include <libglademm.h> + +class SinkWindow; + +#include "ServerInfo.hh" + +class SinkWindow : public Gtk::Window { +public: + SinkWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade); + static SinkWindow* create(); + + Gtk::Label *nameLabel, + *descriptionLabel, + *indexLabel, + *sampleTypeLabel, + *latencyLabel, + *ownerModuleLabel, + *monitorSourceLabel, + *volumeLabel; + + Gtk::Button *closeButton, + *toMonitorSourceButton, + *toOwnerModuleButton, + *volumeResetButton, + *volumeMuteButton; + + Gtk::HScale *volumeScale; + + uint32_t index, owner_module, monitor_source; + + void updateInfo(const SinkInfo &i); + + virtual void onCloseButton(); + virtual void onToMonitorSourceButton(); + virtual void onToOwnerModuleButton(); + virtual void onVolumeScaleValueChanged(); + virtual void onVolumeResetButton(); + virtual void onVolumeMuteButton(); +}; + +#endif |