mirror of
https://github.com/rad4day/Waybar.git
synced 2025-08-07 16:12:42 +02:00
Merge pull request #2212 from evyatark2/wpscroll
wireplumber: Support for scrolling
This commit is contained in:
@@ -27,6 +27,8 @@ class Wireplumber : public ALabel {
|
||||
static void onMixerChanged(waybar::modules::Wireplumber* self, uint32_t id);
|
||||
static void onDefaultNodesApiChanged(waybar::modules::Wireplumber* self);
|
||||
|
||||
bool handleScroll(GdkEventScroll* e) override;
|
||||
|
||||
WpCore* wp_core_;
|
||||
GPtrArray* apis_;
|
||||
WpObjectManager* om_;
|
||||
@@ -36,6 +38,7 @@ class Wireplumber : public ALabel {
|
||||
uint32_t pending_plugins_;
|
||||
bool muted_;
|
||||
double volume_;
|
||||
double min_step_;
|
||||
uint32_t node_id_{0};
|
||||
std::string node_name_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user