cancel disabled icon

This commit is contained in:
Matt Parker
2026-01-17 14:05:40 +10:00
parent bec07f148b
commit a2329bf2d9
4 changed files with 93 additions and 7 deletions

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 20 20"
version="1.1"
id="svg1"
sodipodi:docname="cancel-disabled.svg"
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
width="20"
height="20"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:bx="https://boxy-svg.com">
<sodipodi:namedview
id="namedview1"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#505050"
inkscape:zoom="3.3007745"
inkscape:cx="-13.784644"
inkscape:cy="16.208317"
inkscape:window-width="2560"
inkscape:window-height="1369"
inkscape:window-x="2552"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<defs
id="defs1">
<bx:export>
<bx:file
format="svg"
href="#object-0"
excluded="true" />
<bx:file
format="svg"
href="#object-1"
path="Untitled 2.svg" />
</bx:export>
</defs>
<path
d="m 10,1 c -4.977,0 -9,4.023 -9,9 0,4.977 4.023,9 9,9 4.977,0 9,-4.023 9,-9 C 19,5.023 14.977,1 10,1 Z M 14.5,13.231 13.231,14.5 10,11.269 6.769,14.5 5.5,13.231 8.731,10 5.5,6.769 6.769,5.5 10,8.731 13.231,5.5 14.5,6.769 11.269,10 Z"
style="display:inline;fill:#808080;fill-opacity:0.67263;stroke-width:0.9px"
id="object-1" />
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,18 @@
[remap]
importer="svg"
type="DPITexture"
uid="uid://ccj73acbnukyt"
path="res://.godot/imported/cancel-disabled.svg-38152a91b5278d2b7ab35157a74b03a7.dpitex"
[deps]
source_file="res://Resources/cancel-disabled.svg"
dest_files=["res://.godot/imported/cancel-disabled.svg-38152a91b5278d2b7ab35157a74b03a7.dpitex"]
[params]
base_scale=1.0
saturation=1.0
color_map={}
compress=true

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 100 100"
viewBox="0 0 20 20"
version="1.1"
id="svg1"
sodipodi:docname="cancel.svg"
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
width="100"
height="100"
width="20"
height="20"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
@@ -22,8 +22,8 @@
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#505050"
inkscape:zoom="3.3007745"
inkscape:cx="-13.784644"
inkscape:cy="16.208317"
inkscape:cx="69.226178"
inkscape:cy="33.476992"
inkscape:window-width="2560"
inkscape:window-height="1369"
inkscape:window-x="2552"
@@ -44,7 +44,7 @@
</bx:export>
</defs>
<path
d="M 50,5 C 25.115,5 5,25.115 5,50 5,74.885 25.115,95 50,95 74.885,95 95,74.885 95,50 95,25.115 74.885,5 50,5 Z M 72.5,66.155 66.155,72.5 50,56.345 33.845,72.5 27.5,66.155 43.655,50 27.5,33.845 33.845,27.5 50,43.655 66.155,27.5 72.5,33.845 56.345,50 Z"
style="display:inline;stroke-width:4.5px;fill:#f64e62;fill-opacity:1"
d="m 10,1 c -4.977,0 -9,4.023 -9,9 0,4.977 4.023,9 9,9 4.977,0 9,-4.023 9,-9 C 19,5.023 14.977,1 10,1 Z M 14.5,13.231 13.231,14.5 10,11.269 6.769,14.5 5.5,13.231 8.731,10 5.5,6.769 6.769,5.5 10,8.731 13.231,5.5 14.5,6.769 11.269,10 Z"
style="display:inline;fill:#f64e62;fill-opacity:1;stroke-width:0.9px"
id="object-1" />
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,18 @@
[remap]
importer="svg"
type="DPITexture"
uid="uid://dhwm7cehq2ftr"
path="res://.godot/imported/cancel.svg-290a92741a9be04e833a40407cdb13de.dpitex"
[deps]
source_file="res://Resources/cancel.svg"
dest_files=["res://.godot/imported/cancel.svg-290a92741a9be04e833a40407cdb13de.dpitex"]
[params]
base_scale=1.0
saturation=1.0
color_map={}
compress=true