[vlc-commits] [Git][videolan/vlc][master] 2 commits: macosx: Use modern symbol images for menu bar menu

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Sep 5 03:22:29 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
e7080d2f by Claudio Cambra at 2026-09-05T03:07:04+00:00
macosx: Use modern symbol images for menu bar menu

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
975fab53 by Claudio Cambra at 2026-09-05T03:07:04+00:00
macosx: Give rounded corners to the artwork in status bar icon menu

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


2 changed files:

- modules/gui/macosx/UI/VLCStatusBarIconMainMenu.xib
- modules/gui/macosx/menus/VLCStatusBarIcon.m


Changes:

=====================================
modules/gui/macosx/UI/VLCStatusBarIconMainMenu.xib
=====================================
@@ -76,7 +76,7 @@
             <rect key="frame" x="0.0" y="0.0" width="247" height="70"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
             <subviews>
-                <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="0kw-t4-DcN">
+                <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="0kw-t4-DcN" customClass="VLCImageView">
                     <rect key="frame" x="6" y="4" width="62" height="62"/>
                     <constraints>
                         <constraint firstAttribute="width" relation="lessThanOrEqual" constant="90" id="A0x-WX-x1a"/>


=====================================
modules/gui/macosx/menus/VLCStatusBarIcon.m
=====================================
@@ -91,6 +91,21 @@
     [_controlsView setAutoresizingMask:NSViewWidthSizable];
     [_playbackInfoView setAutoresizingMask:NSViewWidthSizable];
 
+    if (@available(macOS 11.0, *)) {
+        backwardsButton.image = [NSImage imageWithSystemSymbolName:@"backward.fill"
+                                       accessibilityDescription:_NS("Previous")];
+        backwardsButton.alternateImage = backwardsButton.image;
+        playPauseButton.image = [NSImage imageWithSystemSymbolName:@"play.fill"
+                                         accessibilityDescription:_NS("Play")];
+        playPauseButton.alternateImage = [NSImage imageWithSystemSymbolName:@"pause.fill"
+                                                     accessibilityDescription:_NS("Pause")];
+        forwardButton.image = [NSImage imageWithSystemSymbolName:@"forward.fill"
+                                    accessibilityDescription:_NS("Next")];
+        forwardButton.alternateImage = forwardButton.image;
+        randomButton.image = [NSImage imageWithSystemSymbolName:@"shuffle"
+                                    accessibilityDescription:_NS("Shuffle")];
+    }
+
     [self configurationChanged:nil];
 
     // Set Accessibility Attributes for Image Buttons



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/e6cea8973f91db15ff56da7b1ee1909cd8aefd38...975fab5345ad6158028cd359a2166893bcc2b9cc

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/e6cea8973f91db15ff56da7b1ee1909cd8aefd38...975fab5345ad6158028cd359a2166893bcc2b9cc
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list