thinner icons, buttons cursor fix
|
@ -15,12 +15,12 @@
|
|||
id="g1"
|
||||
transform="rotate(180,30.4,29.825)">
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 4,29.691467 49.6,0.267067"
|
||||
id="path1" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="M 36.771429,14.25 53.6,29.825 36.771429,45.4"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 34.771,12.25 53.6,29.825 34.771,47.4"
|
||||
id="path2" />
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 770 B After Width: | Height: | Size: 808 B |
|
@ -7,42 +7,20 @@
|
|||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
sodipodi:docname="5_arrow.svg"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
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">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="4.3807475"
|
||||
inkscape:cx="-18.489995"
|
||||
inkscape:cy="41.659557"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
id="g1"
|
||||
transform="translate(3.2)">
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 4,29.691467 49.6,0.267067"
|
||||
id="path1" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="M 36.771429,14.25 53.6,29.825 36.771429,45.4"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 34.771,12.25 53.6,29.825 34.771,47.4"
|
||||
id="path2" />
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 799 B |
|
@ -16,11 +16,11 @@
|
|||
transform="matrix(0.88571429,0,0,0.88571429,3.6571437,3.6571437)"
|
||||
style="stroke-width:1.12903">
|
||||
<path
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:9.03226;stroke-linecap:round;stroke-miterlimit:4.7"
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:6.77419352;stroke-linecap:round;stroke-miterlimit:4.7;stroke-dasharray:none"
|
||||
d="M 12.20101,12.20101 51.79899,51.79899"
|
||||
id="path1" />
|
||||
<path
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:9.03226;stroke-linecap:round;stroke-miterlimit:4.7"
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:6.77419352;stroke-linecap:round;stroke-miterlimit:4.7;stroke-dasharray:none"
|
||||
d="M 51.79899,12.20101 12.20101,51.79899"
|
||||
id="path2" />
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 821 B After Width: | Height: | Size: 871 B |
|
@ -7,30 +7,8 @@
|
|||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
sodipodi:docname="5_close.svg"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
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">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="8.761495"
|
||||
inkscape:cx="17.120366"
|
||||
inkscape:cy="28.705147"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
|
@ -38,11 +16,11 @@
|
|||
style="stroke-width:1.12903"
|
||||
transform="matrix(0.88571426,0,0,0.88571429,3.6571438,3.6571437)">
|
||||
<path
|
||||
style="display:inline;fill:#ffffff;stroke:#ffffff;stroke-width:9.03226;stroke-linecap:round;stroke-dasharray:none"
|
||||
style="display:inline;fill:#ffffff;stroke:#ffffff;stroke-width:6.77419363;stroke-linecap:round;stroke-dasharray:none"
|
||||
d="M 4,4 60,60"
|
||||
id="path1" />
|
||||
<path
|
||||
style="display:inline;fill:#ffffff;stroke:#ffffff;stroke-width:9.03226;stroke-linecap:round;stroke-dasharray:none"
|
||||
style="display:inline;fill:#ffffff;stroke:#ffffff;stroke-width:6.77419363;stroke-linecap:round;stroke-dasharray:none"
|
||||
d="M 60,4 4,60"
|
||||
id="path2" />
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 805 B |
|
@ -7,30 +7,8 @@
|
|||
width="96"
|
||||
height="96"
|
||||
viewBox="0 0 96 96"
|
||||
sodipodi:docname="5_help.svg"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
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">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="8.2604167"
|
||||
inkscape:cx="47.93947"
|
||||
inkscape:cy="48"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
|
@ -38,20 +16,20 @@
|
|||
transform="matrix(0.89092716,0,0,0.89092252,5.234802,5.2348408)"
|
||||
style="stroke-width:1.12243">
|
||||
<path
|
||||
style="display:inline;fill:none;stroke:#ffffff;stroke-width:8.97943;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
style="display:inline;fill:none;stroke:#ffffff;stroke-width:6.73457483;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="M 68.765026,86.803101 92,92 87.363893,67.677255"
|
||||
id="path3" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:8.97943;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:normal"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:6.73457482;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:normal;stroke-dasharray:none"
|
||||
id="path4"
|
||||
transform="matrix(0.49999583,0.86602781,-0.866023,0.50000417,0,0)"
|
||||
d="M 109.55318,-16.180385 A 44.009815,44.009941 0 0 1 70.932468,26.11372 44.009815,44.009941 0 0 1 23.221626,-5.5725856 44.009815,44.009941 0 0 1 47.225416,-57.574261 44.009815,44.009941 0 0 1 102.29018,-41.819439" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:8.97943;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:normal"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:6.73457483;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:normal;stroke-dasharray:none"
|
||||
d="M 29.698485,40 H 68.589358"
|
||||
id="path5" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:8.97943;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:normal"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:6.73457483;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:normal;stroke-dasharray:none"
|
||||
d="M 38.714096,57 H 69.296464"
|
||||
id="path6" />
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 1.6 KiB |
|
@ -7,30 +7,8 @@
|
|||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
sodipodi:docname="5_home.svg"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
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">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="8.761495"
|
||||
inkscape:cx="25.794685"
|
||||
inkscape:cy="36.808787"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
|
@ -38,7 +16,7 @@
|
|||
transform="matrix(0.88575474,0,0,0.88625491,3.6558493,0.42309627)"
|
||||
style="stroke-width:1.12866">
|
||||
<path
|
||||
style="display:inline;fill:none;stroke:#ffffff;stroke-width:9.02929;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;paint-order:normal"
|
||||
style="display:inline;fill:none;stroke:#ffffff;stroke-width:6.77197242;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;paint-order:normal;stroke-dasharray:none"
|
||||
d="M 37.858987,9.3883351 54.141013,20.033061 A 12.939621,12.939621 0 0 1 60,30.8635 v 25.747198 a 7,7 0 0 1 -7,7 H 11 a 7,7 0 0 1 -7,-7 V 30.8635 A 12.939621,12.939621 0 0 1 9.8589874,20.033061 L 26.141013,9.3883351 a 10.707104,10.707104 0 0 1 11.717974,0 z"
|
||||
id="path1" />
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 928 B |
|
@ -3,19 +3,21 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bw1cffhlt112i"
|
||||
path="res://.godot/imported/icon-round.svg-14ecefe0ad7176f64ce7c5eb12e7883d.ctex"
|
||||
path.bptc="res://.godot/imported/icon-round.svg-14ecefe0ad7176f64ce7c5eb12e7883d.bptc.ctex"
|
||||
path.astc="res://.godot/imported/icon-round.svg-14ecefe0ad7176f64ce7c5eb12e7883d.astc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/new_textures/icon-round.svg"
|
||||
dest_files=["res://.godot/imported/icon-round.svg-14ecefe0ad7176f64ce7c5eb12e7883d.ctex"]
|
||||
dest_files=["res://.godot/imported/icon-round.svg-14ecefe0ad7176f64ce7c5eb12e7883d.bptc.ctex", "res://.godot/imported/icon-round.svg-14ecefe0ad7176f64ce7c5eb12e7883d.astc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
|
@ -32,6 +34,6 @@ process/hdr_as_srgb=false
|
|||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
svg/scale=2.0
|
||||
svg/scale=0.5
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
|
|
|
@ -7,30 +7,8 @@
|
|||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
sodipodi:docname="5_maximaze.svg"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
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">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="4.3807475"
|
||||
inkscape:cx="41.31715"
|
||||
inkscape:cy="31.387338"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
|
@ -38,7 +16,7 @@
|
|||
transform="matrix(0.88571423,0,0,0.88571422,3.6568974,3.6568974)"
|
||||
style="stroke-width:1.12903">
|
||||
<rect
|
||||
style="display:inline;fill:none;stroke:#ffffff;stroke-width:9.03226;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.7;stroke-dasharray:none;stroke-opacity:1"
|
||||
style="display:inline;fill:none;stroke:#ffffff;stroke-width:6.77419401;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.7;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect1"
|
||||
width="56.000004"
|
||||
height="55.999996"
|
||||
|
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 796 B |
|
@ -7,30 +7,8 @@
|
|||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
sodipodi:docname="5_menu.svg"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
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">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="6.1953125"
|
||||
inkscape:cx="31.152585"
|
||||
inkscape:cy="42.854981"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
|
@ -38,16 +16,16 @@
|
|||
transform="matrix(0.88518058,0,0,0.878614,3.674117,3.8843748)"
|
||||
style="stroke-width:1.13393">
|
||||
<path
|
||||
style="display:inline;fill:#ffffff;stroke:#ffffff;stroke-width:9.07141;stroke-linecap:round;stroke-miterlimit:4.7"
|
||||
d="M 4,12.8 H 60"
|
||||
style="display:inline;fill:#ffffff;stroke:#ffffff;stroke-width:6.80356052;stroke-linecap:round;stroke-miterlimit:4.7;stroke-dasharray:none"
|
||||
d="M 4,10.524257 H 60"
|
||||
id="path1" />
|
||||
<path
|
||||
style="display:inline;fill:#ffffff;stroke:#ffffff;stroke-width:9.07141;stroke-linecap:round;stroke-miterlimit:4.7"
|
||||
style="display:inline;fill:#ffffff;stroke:#ffffff;stroke-width:6.80356052;stroke-linecap:round;stroke-miterlimit:4.7;stroke-dasharray:none"
|
||||
d="M 4,32 H 60"
|
||||
id="path2" />
|
||||
<path
|
||||
style="display:inline;fill:#ffffff;stroke:#ffffff;stroke-width:9.07141;stroke-linecap:round;stroke-miterlimit:4.7"
|
||||
d="M 4,51.2 H 60"
|
||||
style="display:inline;fill:#ffffff;stroke:#ffffff;stroke-width:6.80356052;stroke-linecap:round;stroke-miterlimit:4.7;stroke-dasharray:none"
|
||||
d="M 4,53.475997 H 60"
|
||||
id="path3" />
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1 KiB |
|
@ -7,30 +7,8 @@
|
|||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
sodipodi:docname="5_minimize.svg"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
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">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="8.761495"
|
||||
inkscape:cx="26.593635"
|
||||
inkscape:cy="32.015084"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
|
@ -38,7 +16,7 @@
|
|||
transform="matrix(0.88571943,0,0,0.88571943,3.6571244,3.6569803)"
|
||||
style="stroke-width:1.12902">
|
||||
<path
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:9.03221;stroke-linecap:round;stroke-miterlimit:4.7"
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:6.7741542;stroke-linecap:round;stroke-miterlimit:4.7;stroke-dasharray:none"
|
||||
d="M 4,32 H 60"
|
||||
id="path1" />
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 632 B |
|
@ -7,30 +7,8 @@
|
|||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
sodipodi:docname="5_plus.svg"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
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">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="6.1953125"
|
||||
inkscape:cx="20.337957"
|
||||
inkscape:cy="36.398487"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
|
@ -38,11 +16,11 @@
|
|||
transform="matrix(0.88571429,0,0,0.88571429,3.6571437,3.6571437)"
|
||||
style="stroke-width:1.12903">
|
||||
<path
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:9.03226;stroke-linecap:round;stroke-miterlimit:4.7"
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:6.77419352;stroke-linecap:round;stroke-miterlimit:4.7;stroke-dasharray:none"
|
||||
d="M 4,32 H 60"
|
||||
id="path1" />
|
||||
<path
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:9.03226;stroke-linecap:round;stroke-miterlimit:4.7"
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:6.77419352;stroke-linecap:round;stroke-miterlimit:4.7;stroke-dasharray:none"
|
||||
d="M 32,4 V 60"
|
||||
id="path2" />
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 819 B |
|
@ -7,30 +7,8 @@
|
|||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
sodipodi:docname="5_reload.svg"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
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">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="8.761495"
|
||||
inkscape:cx="24.139716"
|
||||
inkscape:cy="36.238108"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
|
@ -38,12 +16,12 @@
|
|||
transform="matrix(0.88572611,0,0,0.88573579,3.6565421,3.6560231)"
|
||||
style="stroke-width:1.12901">
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:9.03209;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:6.7740661;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-dasharray:none"
|
||||
id="path1"
|
||||
d="M 59.999902,32.879416 A 28.007214,28.002794 0 0 1 35.422235,59.790453 28.007214,28.002794 0 0 1 5.0597404,39.628983 28.007214,28.002794 0 0 1 20.335408,6.5411813 28.007214,28.002794 0 0 1 55.377829,16.565713" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:9.03209;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 57.381884,7.7640728 -2.002012,8.8053192 -9.142597,0.161412"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:6.77407;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 56.619771,1.2512863 55.379872,16.569392 39.891021,17.44869"
|
||||
id="path3" />
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.1 KiB |
|
@ -7,30 +7,8 @@
|
|||
width="96"
|
||||
height="96"
|
||||
viewBox="0 0 96 96"
|
||||
sodipodi:docname="5_search-96.svg"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
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">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="4.1302083"
|
||||
inkscape:cx="19.127364"
|
||||
inkscape:cy="47.092055"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
|
@ -38,13 +16,13 @@
|
|||
transform="matrix(0.89090913,0,0,0.89090913,5.2363596,5.2363596)"
|
||||
style="stroke-width:1.12245">
|
||||
<circle
|
||||
style="display:inline;fill:none;stroke:#ffffff;stroke-width:8.97959;stroke-linecap:round;stroke-linejoin:round"
|
||||
style="display:inline;fill:none;stroke:#ffffff;stroke-width:6.73469358;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
|
||||
id="path1"
|
||||
cx="43.285717"
|
||||
cy="43.285717"
|
||||
r="39.285713" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:8.97959;stroke-linecap:round;stroke-linejoin:round"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:6.73469358;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
|
||||
d="M 92,92 71.571429,71.571429"
|
||||
id="path2" />
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 888 B |
|
@ -7,30 +7,8 @@
|
|||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
sodipodi:docname="5_search.svg"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
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">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="6.1953125"
|
||||
inkscape:cx="16.141236"
|
||||
inkscape:cy="33.654477"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
|
@ -38,13 +16,13 @@
|
|||
transform="matrix(0.88571432,0,0,0.88571432,3.657142,3.657142)"
|
||||
style="stroke-width:1.12903">
|
||||
<circle
|
||||
style="display:inline;fill:none;stroke:#ffffff;stroke-width:9.03226;stroke-linecap:round;stroke-linejoin:round"
|
||||
style="display:inline;fill:none;stroke:#ffffff;stroke-width:6.77419329;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
|
||||
id="path1"
|
||||
cx="29.000002"
|
||||
cy="29.000002"
|
||||
r="25" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:9.03226;stroke-linecap:round;stroke-linejoin:round"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:6.77419329;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
|
||||
d="M 60,60 47,47"
|
||||
id="path2" />
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 865 B |
|
@ -54,7 +54,7 @@
|
|||
<g
|
||||
id="g1">
|
||||
<path
|
||||
style="fill:url(#linearGradient6);stroke:url(#linearGradient4);stroke-width:9.09481;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
|
||||
style="fill:url(#linearGradient6);stroke:url(#linearGradient4);stroke-width:6.82111451;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;stroke-dasharray:none"
|
||||
id="path1"
|
||||
d="M 50.360656,57.785624 C 47.408938,59.890212 36.710928,52.328803 33.085892,52.296475 29.460857,52.264146 18.629691,59.633553 15.715978,57.476656 12.802265,55.319759 16.687725,42.808743 15.598274,39.351139 14.508823,35.893536 4.153086,27.869757 5.3040301,24.432134 6.4549743,20.99451 19.554331,20.823685 22.506048,18.719097 25.457766,16.614509 29.888734,4.2861344 33.51377,4.3184632 37.138805,4.350792 41.349193,16.756233 44.262906,18.91313 c 2.913713,2.156897 16.007939,2.56132 17.09739,6.018924 1.089451,3.457604 -9.407743,11.295412 -10.558687,14.733036 -1.150944,3.437624 2.510765,16.015946 -0.440953,18.120534 z"
|
||||
transform="matrix(0.8799215,-0.00739617,0.00740138,0.87925969,2.4880043,4.7923146)" />
|
||||
|
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.3 KiB |
|
@ -14,7 +14,7 @@
|
|||
<g
|
||||
id="g1">
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:9.09481;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:6.82111451;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1;stroke-dasharray:none"
|
||||
id="path1"
|
||||
d="M 50.360656,57.785624 C 47.408938,59.890212 36.710928,52.328803 33.085892,52.296475 29.460857,52.264146 18.629691,59.633553 15.715978,57.476656 12.802265,55.319759 16.687725,42.808743 15.598274,39.351139 14.508823,35.893536 4.153086,27.869757 5.3040301,24.432134 6.4549743,20.99451 19.554331,20.823685 22.506048,18.719097 25.457766,16.614509 29.888734,4.2861344 33.51377,4.3184632 37.138805,4.350792 41.349193,16.756233 44.262906,18.91313 c 2.913713,2.156897 16.007939,2.56132 17.09739,6.018924 1.089451,3.457604 -9.407743,11.295412 -10.558687,14.733036 -1.150944,3.437624 2.510765,16.015946 -0.440953,18.120534 z"
|
||||
transform="matrix(0.8799215,-0.00739617,0.00740138,0.87925969,2.4880043,4.7923146)" />
|
||||
|
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
@ -14,7 +14,7 @@
|
|||
<g
|
||||
id="g1">
|
||||
<path
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:9.09481;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:6.82111451;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1;stroke-dasharray:none"
|
||||
id="path1"
|
||||
d="M 50.360656,57.785624 C 47.408938,59.890212 36.710928,52.328803 33.085892,52.296475 29.460857,52.264146 18.629691,59.633553 15.715978,57.476656 12.802265,55.319759 16.687725,42.808743 15.598274,39.351139 14.508823,35.893536 4.153086,27.869757 5.3040301,24.432134 6.4549743,20.99451 19.554331,20.823685 22.506048,18.719097 25.457766,16.614509 29.888734,4.2861344 33.51377,4.3184632 37.138805,4.350792 41.349193,16.756233 44.262906,18.91313 c 2.913713,2.156897 16.007939,2.56132 17.09739,6.018924 1.089451,3.457604 -9.407743,11.295412 -10.558687,14.733036 -1.150944,3.437624 2.510765,16.015946 -0.440953,18.120534 z"
|
||||
transform="matrix(0.8799215,-0.00739617,0.00740138,0.87925969,2.4880043,4.7923146)" />
|
||||
|
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
@ -1,21 +0,0 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://xagbhqfidf2"]
|
||||
|
||||
[ext_resource type="StyleBox" uid="uid://b4j4kd2p3aypx" path="res://assets/styles/button.stylebox" id="1_n17s0"]
|
||||
[ext_resource type="StyleBox" uid="uid://ck127amfs72dv" path="res://assets/styles/button_hover.stylebox" id="2_rltks"]
|
||||
[ext_resource type="Texture2D" uid="uid://bevejhgdw7mey" path="res://assets/new_textures/close.svg" id="2_yeqne"]
|
||||
|
||||
[node name="Button" type="Button"]
|
||||
texture_filter = 4
|
||||
custom_minimum_size = Vector2(26, 26)
|
||||
size_flags_vertical = 4
|
||||
theme_override_colors/icon_normal_color = Color(0.831373, 0.831373, 0.831373, 1)
|
||||
theme_override_colors/icon_disabled_color = Color(0.431373, 0.435294, 0.494118, 1)
|
||||
theme_override_styles/focus = ExtResource("1_n17s0")
|
||||
theme_override_styles/disabled = ExtResource("1_n17s0")
|
||||
theme_override_styles/hover = ExtResource("2_rltks")
|
||||
theme_override_styles/pressed = ExtResource("1_n17s0")
|
||||
theme_override_styles/normal = ExtResource("1_n17s0")
|
||||
icon = ExtResource("2_yeqne")
|
||||
expand_icon = true
|
||||
|
||||
[connection signal="button_up" from="." to="." method="release_focus"]
|
21
app/scenes/components/round_button.tscn
Normal file
|
@ -0,0 +1,21 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://xagbhqfidf2"]
|
||||
|
||||
[ext_resource type="StyleBox" uid="uid://b4j4kd2p3aypx" path="res://assets/styles/button.stylebox" id="1_6dhuv"]
|
||||
[ext_resource type="StyleBox" uid="uid://ck127amfs72dv" path="res://assets/styles/button_hover.stylebox" id="2_3cilb"]
|
||||
[ext_resource type="Texture2D" uid="uid://bevejhgdw7mey" path="res://assets/new_textures/close.svg" id="3_t5vxw"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/menu/round_button.gd" id="4_7t145"]
|
||||
|
||||
[node name="RoundButton" type="Button"]
|
||||
texture_filter = 4
|
||||
custom_minimum_size = Vector2(26, 26)
|
||||
size_flags_vertical = 4
|
||||
theme_override_colors/icon_normal_color = Color(0.831373, 0.831373, 0.831373, 1)
|
||||
theme_override_colors/icon_disabled_color = Color(0.431373, 0.435294, 0.494118, 1)
|
||||
theme_override_styles/focus = ExtResource("1_6dhuv")
|
||||
theme_override_styles/disabled = ExtResource("1_6dhuv")
|
||||
theme_override_styles/hover = ExtResource("2_3cilb")
|
||||
theme_override_styles/pressed = ExtResource("1_6dhuv")
|
||||
theme_override_styles/normal = ExtResource("1_6dhuv")
|
||||
icon = ExtResource("3_t5vxw")
|
||||
expand_icon = true
|
||||
script = ExtResource("4_7t145")
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://dkfy3rcfbxqc6"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://dkfy3rcfbxqc6"]
|
||||
|
||||
[ext_resource type="StyleBox" uid="uid://cf4jgdfsjmjxl" path="res://assets/styles/tab.stylebox" id="1_8hbf0"]
|
||||
[ext_resource type="Texture2D" uid="uid://bw1cffhlt112i" path="res://assets/new_textures/icon-round.svg" id="1_jc4ra"]
|
||||
|
@ -11,6 +11,10 @@ corner_radius_top_right = 10
|
|||
corner_radius_bottom_right = 10
|
||||
corner_radius_bottom_left = 10
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_lq3t8"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_hghgl"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_id0w2"]
|
||||
|
||||
[node name="Tab" type="Control"]
|
||||
|
@ -78,6 +82,9 @@ custom_minimum_size = Vector2(14, 14)
|
|||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_override_colors/icon_normal_color = Color(0.831373, 0.831373, 0.831373, 1)
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_lq3t8")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_hghgl")
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_id0w2")
|
||||
disabled = true
|
||||
icon = ExtResource("2_y6odh")
|
||||
expand_icon = true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=26 format=3 uid="uid://5btb7nvgmfhl"]
|
||||
[gd_scene load_steps=28 format=3 uid="uid://5btb7nvgmfhl"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/ui/menu/menu_navigation.gd" id="1_7anvm"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/menu/menu.gd" id="1_o6vga"]
|
||||
|
@ -7,7 +7,7 @@
|
|||
[ext_resource type="Resource" uid="uid://bqgikyax6jfqa" path="res://resources/history.tres" id="3_wi554"]
|
||||
[ext_resource type="Texture2D" uid="uid://c80732g67qmvx" path="res://assets/new_textures/plus.svg" id="4_rdyyc"]
|
||||
[ext_resource type="PackedScene" uid="uid://ctam0fxigbefk" path="res://scenes/components/search.tscn" id="5_li2do"]
|
||||
[ext_resource type="PackedScene" uid="uid://xagbhqfidf2" path="res://scenes/components/button.tscn" id="6_gxcmo"]
|
||||
[ext_resource type="PackedScene" uid="uid://xagbhqfidf2" path="res://scenes/components/round_button.tscn" id="6_gxcmo"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/fullscreen_animation.gd" id="7_1hi62"]
|
||||
[ext_resource type="Texture2D" uid="uid://d1ehc1xs5hwyn" path="res://assets/new_textures/minimize.svg" id="7_ab04l"]
|
||||
[ext_resource type="Resource" uid="uid://crjhix0osmtnf" path="res://resources/ui_events.res" id="8_8dnbq"]
|
||||
|
@ -22,6 +22,10 @@
|
|||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pveoh"]
|
||||
bg_color = Color(0.0980392, 0.101961, 0.133333, 1)
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_qg3ls"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_eo1gx"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cjjfu"]
|
||||
|
||||
[sub_resource type="StyleBoxLine" id="StyleBoxLine_4myyc"]
|
||||
|
@ -183,7 +187,10 @@ custom_minimum_size = Vector2(14, 14)
|
|||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_override_colors/icon_normal_color = Color(0.831373, 0.831373, 0.831373, 1)
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_qg3ls")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_eo1gx")
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_cjjfu")
|
||||
disabled = true
|
||||
icon = ExtResource("4_rdyyc")
|
||||
expand_icon = true
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@ extends Node
|
|||
@export var gate_events: GateEvents
|
||||
@export var history: History
|
||||
|
||||
@export var go_back: BaseButton
|
||||
@export var go_forw: BaseButton
|
||||
@export var reload: BaseButton
|
||||
@export var home: BaseButton
|
||||
@export var go_back: RoundButton
|
||||
@export var go_forw: RoundButton
|
||||
@export var reload: RoundButton
|
||||
@export var home: RoundButton
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
|
@ -66,15 +66,11 @@ func open(location: String) -> void:
|
|||
gate_events.search_emit(location)
|
||||
|
||||
|
||||
func disable(buttons: Array[BaseButton]) -> void:
|
||||
func disable(buttons: Array[RoundButton]) -> void:
|
||||
for button in buttons:
|
||||
button.disabled = true
|
||||
button.modulate.a = 0.5
|
||||
button.mouse_default_cursor_shape = Control.CURSOR_ARROW
|
||||
button.disable()
|
||||
|
||||
|
||||
func enable(buttons: Array[BaseButton]) -> void:
|
||||
func enable(buttons: Array[RoundButton]) -> void:
|
||||
for button in buttons:
|
||||
button.disabled = false
|
||||
button.modulate.a = 1
|
||||
button.mouse_default_cursor_shape = Control.CURSOR_POINTING_HAND
|
||||
button.enable()
|
||||
|
|
23
app/scripts/ui/menu/round_button.gd
Normal file
|
@ -0,0 +1,23 @@
|
|||
extends Button
|
||||
class_name RoundButton
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
if disabled: disable()
|
||||
else: enable()
|
||||
|
||||
button_up.connect(on_button_up)
|
||||
|
||||
|
||||
func on_button_up() -> void:
|
||||
release_focus()
|
||||
|
||||
|
||||
func disable() -> void:
|
||||
disabled = true
|
||||
mouse_default_cursor_shape = Control.CURSOR_ARROW
|
||||
|
||||
|
||||
func enable() -> void:
|
||||
disabled = false
|
||||
mouse_default_cursor_shape = Control.CURSOR_POINTING_HAND
|