diff options
author | Lukas K | 2014-07-20 20:33:41 +0200 |
---|---|---|
committer | Tanu Kaskinen | 2016-04-26 17:15:57 +0200 |
commit | f6015d64268c5c55de79e81a3ee0d7a75df218d5 (patch) | |
tree | ea7d74ce64682ad0c592914f8804c123e4dbe063 /src/mainwindow.h | |
parent | .gitignore: add compile (diff) | |
download | pavucontrol-slx-f6015d64268c5c55de79e81a3ee0d7a75df218d5.tar.gz pavucontrol-slx-f6015d64268c5c55de79e81a3ee0d7a75df218d5.tar.xz pavucontrol-slx-f6015d64268c5c55de79e81a3ee0d7a75df218d5.zip |
Add checkbutton for disabling volume meters
Add a checkbutton for disabling volume meters because of high CPU
utilisation when updating them
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 5c501f7..30e1ad0 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -68,6 +68,7 @@ public: Gtk::VBox *streamsVBox, *recsVBox, *sinksVBox, *sourcesVBox, *cardsVBox; Gtk::Label *noStreamsLabel, *noRecsLabel, *noSinksLabel, *noSourcesLabel, *noCardsLabel, *connectingLabel; Gtk::ComboBox *sinkInputTypeComboBox, *sourceOutputTypeComboBox, *sinkTypeComboBox, *sourceTypeComboBox; + Gtk::CheckButton *showVolumeMetersCheckButton; std::map<uint32_t, CardWidget*> cardWidgets; std::map<uint32_t, SinkWidget*> sinkWidgets; @@ -85,6 +86,7 @@ public: virtual void onSourceOutputTypeComboBoxChanged(); virtual void onSinkTypeComboBoxChanged(); virtual void onSourceTypeComboBoxChanged(); + virtual void onShowVolumeMetersCheckButtonToggled(); void setConnectionState(gboolean connected); void updateDeviceVisibility(); |