vlc/vlc-3.0 | branch: master | David Fuhrmann <[email protected]> | Tue 
Dec  4 18:58:05 2018 +0100| [97557b77f6fb2feb128066bd7e5bf72b085c98f6] | 
committer: David Fuhrmann

macosx: Fix correct reinitialization of most of our buttons

The button graphics were totally wrong if appearance changed in
the middle of the program. Also on startup, some graphics were wrong.
Factor out the code and use the same in all cases.

Also fix automatic appearance switching for volume slider, set
darkMode variable correctly, and fix appearance if setting was dark
mode and the OS mode is bright.

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=97557b77f6fb2feb128066bd7e5bf72b085c98f6
---

 modules/gui/macosx/VLCControlsBarCommon.m     |  4 +-
 modules/gui/macosx/VLCMainMenu.m              |  6 +--
 modules/gui/macosx/VLCMainWindowControlsBar.h |  6 +--
 modules/gui/macosx/VLCMainWindowControlsBar.m | 70 ++++++---------------------
 modules/gui/macosx/VLCSlider.m                |  2 +
 modules/gui/macosx/VLCVolumeSlider.m          |  2 +
 modules/gui/macosx/VLCVolumeSliderCell.m      |  3 ++
 7 files changed, 30 insertions(+), 63 deletions(-)

Diff:   
http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commitdiff;h=97557b77f6fb2feb128066bd7e5bf72b085c98f6
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to