[vlc-commits] [Git][videolan/vlc][master] 3 commits: macosx: Set Play button in VLC album supplementary detail view to accent color

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Jul 19 07:14:34 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
5fee111a by Claudio Cambra at 2023-07-19T06:59:42+00:00
macosx: Set Play button in VLC album supplementary detail view to accent color

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

- - - - -
9ac9be97 by Claudio Cambra at 2023-07-19T06:59:42+00:00
macosx: Fix playMediaItemButton outlet in VLCLibraryCollectionViewMediaItemSupplementaryDetailView XIB

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

- - - - -
61e5973c by Claudio Cambra at 2023-07-19T06:59:42+00:00
macosx: Fix colouring of play button in VLCLibraryCollectionViewMediaItemSupplementaryDetailView

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

- - - - -


2 changed files:

- modules/gui/macosx/UI/VLCLibraryCollectionViewAlbumSupplementaryDetailView.xib
- modules/gui/macosx/UI/VLCLibraryCollectionViewMediaItemSupplementaryDetailView.xib


Changes:

=====================================
modules/gui/macosx/UI/VLCLibraryCollectionViewAlbumSupplementaryDetailView.xib
=====================================
@@ -2,6 +2,7 @@
 <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
         <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
+        <capability name="Named colors" minToolsVersion="9.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
@@ -34,6 +35,7 @@
                                                 <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                                 <font key="font" metaFont="system"/>
                                             </buttonCell>
+                                            <color key="bezelColor" name="VLCAccentColor"/>
                                             <connections>
                                                 <action selector="playAction:" target="HAc-or-XD8" id="edJ-21-Ej1"/>
                                             </connections>
@@ -223,5 +225,8 @@
         <image name="no-art" width="128" height="128"/>
         <image name="play.fill" catalog="system" width="12" height="13"/>
         <image name="plus" catalog="system" width="15" height="13"/>
+        <namedColor name="VLCAccentColor">
+            <color red="1" green="0.37999999523162842" blue="0.039999999105930328" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+        </namedColor>
     </resources>
 </document>


=====================================
modules/gui/macosx/UI/VLCLibraryCollectionViewMediaItemSupplementaryDetailView.xib
=====================================
@@ -2,6 +2,7 @@
 <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
         <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
+        <capability name="Named colors" minToolsVersion="9.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
@@ -34,6 +35,7 @@
                                                 <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                                 <font key="font" metaFont="system"/>
                                             </buttonCell>
+                                            <color key="bezelColor" name="VLCAccentColor"/>
                                             <connections>
                                                 <action selector="playAction:" target="HAc-or-XD8" id="edJ-21-Ej1"/>
                                             </connections>
@@ -92,7 +94,7 @@
                                     <rect key="frame" x="-2" y="178" width="146" height="16"/>
                                     <textFieldCell key="cell" lineBreakMode="clipping" title="Media item detail string" id="S8T-h9-WYr">
                                         <font key="font" metaFont="system"/>
-                                        <color key="textColor" red="1" green="0.38123786450000002" blue="0.039215686270000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                        <color key="textColor" name="VLCAccentColor"/>
                                         <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                     </textFieldCell>
                                 </textField>
@@ -218,7 +220,7 @@
                 <outlet property="mediaItemPathTextField" destination="7gY-3s-Kay" id="P4t-h1-m3P"/>
                 <outlet property="mediaItemTitleTextField" destination="nCe-dY-YMM" id="h3l-p0-w3e"/>
                 <outlet property="mediaItemYearAndDurationTextField" destination="QuO-3G-BMT" id="y34-rD-uR"/>
-                <outlet property="playmediaItemButton" destination="ntd-VT-2KS" id="ah5-as-eqw"/>
+                <outlet property="playMediaItemButton" destination="ntd-VT-2KS" id="LJV-KL-cK4"/>
             </connections>
             <point key="canvasLocation" x="-237.5" y="-284"/>
         </view>
@@ -227,5 +229,8 @@
         <image name="no-art" width="128" height="128"/>
         <image name="play.fill" catalog="system" width="12" height="13"/>
         <image name="plus" catalog="system" width="15" height="13"/>
+        <namedColor name="VLCAccentColor">
+            <color red="1" green="0.37999999523162842" blue="0.039999999105930328" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+        </namedColor>
     </resources>
 </document>



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/aaae331c393d4b8a3c5f1a8892fbc36336f000c1...61e5973c9f5a0b3b960d27dd21874f0edb251f30

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/aaae331c393d4b8a3c5f1a8892fbc36336f000c1...61e5973c9f5a0b3b960d27dd21874f0edb251f30
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list