summaryrefslogtreecommitdiffstats
path: root/src/minimalstreamwidget.h
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-03-16 19:57:31 +0000
committerColin Guthrie <cguthrie@mandriva.org>2009-06-17 08:54:10 +0100
commit7b7a12f1d2e6e02b11b7649b394d2122eec57813 (patch)
treec38d0ec7b57c096d1be5e5010ad9ae7fb54b3a3a /src/minimalstreamwidget.h
parente509205be255da3779377f12858598755581691b (diff)
Adapt to new UI
The actual wiring up of events and clearing out of old, unused elements is not complete yet, so this is completely non-functional at present.
Diffstat (limited to 'src/minimalstreamwidget.h')
-rw-r--r--src/minimalstreamwidget.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/minimalstreamwidget.h b/src/minimalstreamwidget.h
index af5c9b5..0fcae59 100644
--- a/src/minimalstreamwidget.h
+++ b/src/minimalstreamwidget.h
@@ -29,7 +29,6 @@ public:
Gtk::VBox *channelsVBox;
Gtk::Label *nameLabel, *boldNameLabel;
- Gtk::ToggleButton *streamToggleButton;
Gtk::Menu menu;
Gtk::Image *iconImage;
Gtk::ProgressBar peakProgressBar;
@@ -37,10 +36,12 @@ public:
bool updating;
- void onStreamToggleButton();
- void onMenuDeactivated();
- void popupMenuPosition(int& x, int& y, bool& push_in);
+ /**/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;