summaryrefslogtreecommitdiffstats
path: root/src/minimalstreamwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/minimalstreamwidget.h')
-rw-r--r--src/minimalstreamwidget.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/minimalstreamwidget.h b/src/minimalstreamwidget.h
index af5c9b5..ba7eb1d 100644
--- a/src/minimalstreamwidget.h
+++ b/src/minimalstreamwidget.h
@@ -29,28 +29,18 @@ public:
Gtk::VBox *channelsVBox;
Gtk::Label *nameLabel, *boldNameLabel;
- Gtk::ToggleButton *streamToggleButton;
- 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 prepareMenu(void);
+ virtual void onMuteToggleButton() = 0;
+ virtual void updateChannelVolume(int channel, pa_volume_t v) = 0;
bool volumeMeterEnabled;
void enableVolumeMeter();
void updatePeak(double v);
-
- Glib::ustring beepDevice;
-
-protected:
- virtual bool on_button_press_event(GdkEventButton* event);
};
#endif