diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2009-03-16 23:21:40 +0000 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-17 08:54:12 +0100 |
commit | 4bd94fa2b86fb8464829c806ae517db113924bd2 (patch) | |
tree | 2d7d0e6b9b80ea9a86c02d888fd228e2b10fc48f /src/minimalstreamwidget.h | |
parent | 4c3acd35e5d406846c6f9d0596ce4f834e373bd8 (diff) |
Wire up all the new UI code.
This makes the default button work on sinks/sources, allows the drop
down to actually change the sink/source and removes the old menu code.
Some names and such are fixed in the glade file too.
Diffstat (limited to 'src/minimalstreamwidget.h')
-rw-r--r-- | src/minimalstreamwidget.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/minimalstreamwidget.h b/src/minimalstreamwidget.h index 0fcae59..55cf6f3 100644 --- a/src/minimalstreamwidget.h +++ b/src/minimalstreamwidget.h @@ -29,29 +29,20 @@ public: Gtk::VBox *channelsVBox; Gtk::Label *nameLabel, *boldNameLabel; - Gtk::Menu menu; Gtk::Image *iconImage; Gtk::ProgressBar peakProgressBar; double lastPeak; bool updating; - /**/void onStreamToggleButton(); - /**/void onMenuDeactivated(); - /**/void popupMenuPosition(int& x, int& y, bool& push_in); - virtual void onMuteToggleButton() = 0; virtual void updateChannelVolume(int channel, pa_volume_t v) = 0; - virtual void prepareMenu(void); bool volumeMeterEnabled; void enableVolumeMeter(); void updatePeak(double v); Glib::ustring beepDevice; - -protected: - virtual bool on_button_press_event(GdkEventButton* event); }; #endif |