]> granicus.if.org Git - handbrake/commitdiff
MacGui: add a nicer icon to the details toolbar button.
authorDamiano Galassi <damiog@gmail.com>
Tue, 30 Jul 2019 08:27:43 +0000 (10:27 +0200)
committerDamiano Galassi <damiog@gmail.com>
Tue, 30 Jul 2019 08:27:43 +0000 (10:27 +0200)
macosx/Assets.xcassets/details.imageset/Contents.json [new file with mode: 0644]
macosx/Assets.xcassets/details.imageset/details.png [new file with mode: 0644]
macosx/Assets.xcassets/details.imageset/details@2x.png [new file with mode: 0644]
macosx/Base.lproj/Queue.xib

diff --git a/macosx/Assets.xcassets/details.imageset/Contents.json b/macosx/Assets.xcassets/details.imageset/Contents.json
new file mode 100644 (file)
index 0000000..859185a
--- /dev/null
@@ -0,0 +1,25 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "details.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "details@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  },
+  "properties" : {
+    "template-rendering-intent" : "template"
+  }
+}
\ No newline at end of file
diff --git a/macosx/Assets.xcassets/details.imageset/details.png b/macosx/Assets.xcassets/details.imageset/details.png
new file mode 100644 (file)
index 0000000..9846085
Binary files /dev/null and b/macosx/Assets.xcassets/details.imageset/details.png differ
diff --git a/macosx/Assets.xcassets/details.imageset/details@2x.png b/macosx/Assets.xcassets/details.imageset/details@2x.png
new file mode 100644 (file)
index 0000000..af974fa
Binary files /dev/null and b/macosx/Assets.xcassets/details.imageset/details@2x.png differ
index 6c912fd7b9f4e0a16d3c0b9a3b53bb9a8a2dbf77..2e53c9bf3db52a4c66cb135f56df6318508cf39d 100644 (file)
@@ -20,7 +20,7 @@
             <windowCollectionBehavior key="collectionBehavior" fullScreenPrimary="YES"/>
             <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
             <rect key="contentRect" x="157" y="863" width="584" height="424"/>
-            <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1177"/>
+            <rect key="screenRect" x="0.0" y="0.0" width="1440" height="877"/>
             <value key="minSize" type="size" width="320" height="240"/>
             <view key="contentView" id="2577">
                 <rect key="frame" x="0.0" y="0.0" width="584" height="424"/>
                             </connections>
                         </popUpButton>
                     </toolbarItem>
-                    <toolbarItem implicitItemIdentifier="963C2AD9-6708-4781-9411-3111E9713E3B" label="Details" paletteLabel="Details" image="NSGoLeftTemplate" sizingBehavior="auto" id="DfN-Iw-bzy">
+                    <toolbarItem implicitItemIdentifier="963C2AD9-6708-4781-9411-3111E9713E3B" label="Details" paletteLabel="Details" image="details" sizingBehavior="auto" id="DfN-Iw-bzy">
                         <nil key="toolTip"/>
                         <button key="view" verticalHuggingPriority="750" id="KyK-r0-0eJ">
                             <rect key="frame" x="6" y="14" width="32" height="25"/>
                             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                            <buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="NSGoLeftTemplate" imagePosition="only" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="BjZ-aR-Hpe">
+                            <buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="details" imagePosition="only" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="BjZ-aR-Hpe">
                                 <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                 <font key="font" metaFont="system"/>
                             </buttonCell>
     </objects>
     <resources>
         <image name="NSActionTemplate" width="14" height="14"/>
-        <image name="NSGoLeftTemplate" width="9" height="12"/>
+        <image name="details" width="15" height="12"/>
         <image name="encode" width="32" height="32"/>
         <image name="pauseencode" width="32" height="32"/>
     </resources>