From 4bd94fa2b86fb8464829c806ae517db113924bd2 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 16 Mar 2009 23:21:40 +0000 Subject: 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. --- src/minimalstreamwidget.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/minimalstreamwidget.h') 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 -- cgit