diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-08-15 15:57:51 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-08-15 15:57:51 +0000 |
commit | b3f41bd9945792ac7869db78fd75983546222622 (patch) | |
tree | 1a20f5f3e9c99c61db2056597c82ab1c04e37c49 /src/SourceOutputWindow.hh | |
parent | 3f266e3460eeea05a7a80aa4d2a29d2f418c13da (diff) |
create new window files
git-svn-id: file:///home/lennart/svn/public/paman/trunk@11 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
Diffstat (limited to 'src/SourceOutputWindow.hh')
-rw-r--r-- | src/SourceOutputWindow.hh | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/SourceOutputWindow.hh b/src/SourceOutputWindow.hh new file mode 100644 index 0000000..b0417aa --- /dev/null +++ b/src/SourceOutputWindow.hh @@ -0,0 +1,45 @@ +#ifndef foosinkwindowhhfoo +#define foosinkwindowhhfoo + +#include <gtkmm.h> +#include <libglademm.h> + +class SinkWindow; + +#include "ServerInfoManager.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 |