mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
SoundPlayer: Make 'volume_slider' a member variable
This change will allow us to modify the volume slider from any event inside the widget.
This commit is contained in:
parent
11a4fa6067
commit
ccced92ac2
Notes:
sideshowbarker
2024-07-18 01:13:04 +09:00
Author: https://github.com/elyse0
Commit: ccced92ac2
Pull-request: https://github.com/SerenityOS/serenity/pull/10715
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
2 changed files with 7 additions and 6 deletions
|
@ -73,6 +73,7 @@ private:
|
|||
RefPtr<GUI::Button> m_next_button;
|
||||
RefPtr<AutoSlider> m_playback_progress_slider;
|
||||
RefPtr<GUI::Label> m_volume_label;
|
||||
RefPtr<GUI::HorizontalSlider> m_volume_slider;
|
||||
RefPtr<GUI::Label> m_timestamp_label;
|
||||
|
||||
bool m_nonlinear_volume_slider;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue