mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +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
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