소스 검색

Merge pull request #108894 from bruvzg/lg_ed_icon

[macOS] Use liquid glass icon for the editor.
Thaddeus Crews 1 개월 전
부모
커밋
00c69703a9

+ 1 - 0
misc/dist/macos/GodotLG.icon/Assets/layer_0.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 1024 1024"><path fill="#fff" d="M104.743,673.152C104.728,673.152 104.714,673.152 104.699,673.152L104.699,427.387C86.329,404.634 66.493,375.457 48,346.429C71.531,306.384 100.337,270.598 131.144,237.443C159.724,251.825 187.468,268.117 213.68,285.455C226.801,272.417 241.599,261.753 256.089,250.605C270.35,239.154 286.397,230.758 301.665,220.976C297.116,187.188 294.872,153.925 293.973,119.208C333.289,99.419 375.223,86.299 417.615,76.875C434.573,105.334 450.05,136.154 463.528,166.283C479.525,163.611 495.581,162.62 511.698,162.429L511.698,162.404C511.798,162.404 511.902,162.429 512.002,162.429C512.098,162.429 512.202,162.404 512.314,162.404L512.314,162.429C528.403,162.62 544.47,163.611 560.463,166.283C573.95,136.154 589.435,105.334 606.368,76.875C648.781,86.299 690.711,99.419 730.031,119.208C729.128,153.925 726.884,187.188 722.347,220.976C737.586,230.758 753.654,239.154 767.911,250.605C782.422,261.753 797.195,272.417 810.311,285.455C836.523,268.117 864.276,251.825 892.848,237.443C923.655,270.598 952.477,306.384 976,346.429C960.608,371.216 940.518,400.678 919.301,427.387L919.301,653.521L919.239,653.542L919.239,673.14C919.24,673.148 919.241,673.152 919.241,673.152L919.449,705.662L919.39,705.672L919.502,705.661C919.435,720.23 919.24,736.115 919.24,739.349C919.24,882.434 737.792,951.209 512.278,952L511.724,952C286.211,951.209 104.7,882.434 104.7,739.349C104.7,736.173 104.513,720.222 104.45,705.661L104.497,705.665L104.701,673.16C104.715,673.16 104.729,673.158 104.743,673.152Z"/></svg>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
misc/dist/macos/GodotLG.icon/Assets/layer_1.svg


+ 1 - 0
misc/dist/macos/GodotLG.icon/Assets/layer_2.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 1024 1024"><path fill="#414042" fill-rule="nonzero" d="M0,0C0,-7.994 -6.479,-14.473 -14.479,-14.473C-22.475,-14.473 -28.958,-7.994 -28.958,0C-28.958,7.994 -22.475,14.479 -14.479,14.479C-6.479,14.479 0,7.994 0,0" transform="matrix(4.16261 0 0 -4.16261 367.367 532.537)"/><path fill="#414042" fill-rule="nonzero" d="M0,0C0,-7.994 6.477,-14.473 14.471,-14.473C22.473,-14.473 28.95,-7.994 28.95,0C28.95,7.994 22.473,14.479 14.471,14.479C6.477,14.479 0,7.994 0,0" transform="matrix(4.16261 0 0 -4.16261 656.641 532.537)"/></svg>

+ 77 - 0
misc/dist/macos/GodotLG.icon/icon.json

@@ -0,0 +1,77 @@
+{
+  "fill-specializations" : [
+    {
+      "value" : {
+        "automatic-gradient" : "display-p3:0.84784,0.92489,1.00000,1.00000"
+      }
+    },
+    {
+      "appearance" : "dark",
+      "value" : "automatic"
+    }
+  ],
+  "groups" : [
+    {
+      "blur-material-specializations" : [
+        {
+          "value" : 0.5
+        },
+        {
+          "appearance" : "tinted",
+          "value" : 1
+        }
+      ],
+      "layers" : [
+        {
+          "image-name" : "layer_2.svg",
+          "name" : "layer_2"
+        },
+        {
+          "fill" : {
+            "automatic-gradient" : "srgb:0.00000,0.50588,1.00000,1.00000"
+          },
+          "image-name" : "layer_1.svg",
+          "name" : "layer_1"
+        },
+        {
+          "fill" : {
+            "automatic-gradient" : "extended-gray:1.00000,1.00000"
+          },
+          "image-name" : "layer_0.svg",
+          "name" : "layer_0"
+        }
+      ],
+      "lighting-specializations" : [
+        {
+          "value" : "individual"
+        },
+        {
+          "appearance" : "tinted",
+          "value" : "individual"
+        }
+      ],
+      "position" : {
+        "scale" : 0.92,
+        "translation-in-points" : [
+          0,
+          0
+        ]
+      },
+      "shadow" : {
+        "kind" : "layer-color",
+        "opacity" : 0.5
+      },
+      "specular" : true,
+      "translucency" : {
+        "enabled" : true,
+        "value" : 0.2
+      }
+    }
+  ],
+  "supported-platforms" : {
+    "circles" : [
+      "watchOS"
+    ],
+    "squares" : "shared"
+  }
+}

+ 3 - 1
misc/dist/macos/editor_info_plist.template

@@ -9,7 +9,9 @@
 	<key>CFBundleName</key>
 	<string>Godot</string>
 	<key>CFBundleIconFile</key>
-	<string>Godot.icns</string>
+	<string>GodotLG.icns</string>
+	<key>CFBundleIconName</key>
+	<string>GodotLG</string>
 	<key>CFBundleIdentifier</key>
 	<string>org.godotengine.godot</string>
 	<key>CFBundleInfoDictionaryVersion</key>

+ 3 - 1
misc/dist/macos_tools.app/Contents/Info.plist

@@ -9,7 +9,9 @@
 	<key>CFBundleName</key>
 	<string>Godot</string>
 	<key>CFBundleIconFile</key>
-	<string>Godot.icns</string>
+	<string>GodotLG.icns</string>
+	<key>CFBundleIconName</key>
+	<string>GodotLG</string>
 	<key>CFBundleIdentifier</key>
 	<string>org.godotengine.godot</string>
 	<key>CFBundleInfoDictionaryVersion</key>

BIN
misc/dist/macos_tools.app/Contents/Resources/Assets.car


BIN
misc/dist/macos_tools.app/Contents/Resources/GodotLG.icns


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.