summaryrefslogtreecommitdiffstats
path: root/src/SinkInputWindow.hh
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-08-15 15:57:51 +0000
committerLennart Poettering <lennart@poettering.net>2004-08-15 15:57:51 +0000
commitb3f41bd9945792ac7869db78fd75983546222622 (patch)
tree1a20f5f3e9c99c61db2056597c82ab1c04e37c49 /src/SinkInputWindow.hh
parent3f266e3460eeea05a7a80aa4d2a29d2f418c13da (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/SinkInputWindow.hh')
-rw-r--r--src/SinkInputWindow.hh45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/SinkInputWindow.hh b/src/SinkInputWindow.hh
new file mode 100644
index 0000000..b0417aa
--- /dev/null
+++ b/src/SinkInputWindow.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