diff options
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 |