CSV parser, langcode label, language selector, button makeover

This commit is contained in:
2025-09-08 00:00:32 +02:00
parent 1b46372bbf
commit ae2276866a
23 changed files with 671 additions and 230 deletions

View File

@@ -22,4 +22,7 @@ Point-and-click adventure game developed using Escoria framework and Godot engin
## Sound attributions:
- button_clicking.ogg | Button Clicking 1 by Sheyvan -- https://freesound.org/s/475188/ -- License: Creative Commons 0
- menu_button.ogg | Videogame Menu BUTTON CLICK by Christopherderp -- https://freesound.org/s/342200/ -- License: Creative Commons 0
- menu_button.ogg | Videogame Menu BUTTON CLICK by Christopherderp -- https://freesound.org/s/342200/ -- License: Creative Commons 0
## Icon attributions:
- Translate button: Noun Project. Public domain

View File

@@ -6,6 +6,8 @@ var tooltip_manager: ESCTootltipManager
var cursor_manager: RTMICursorManager = RTMICursorManager.new()
var csv_parser: RTMICsvParser = RTMICsvParser.new()
func get_item(global_id: String) -> ESCItem:
var object = escoria.object_manager.get_object(global_id)
if !object:

View File

@@ -535,6 +535,9 @@ func play_game_music():
)
var musicEnabled = true
var confiduredVolume = ESCProjectSettingsManager.get_setting(
ESCProjectSettingsManager.MUSIC_VOLUME
)
func _on_MusicButton_pressed():
if musicEnabled:
@@ -547,9 +550,11 @@ func _on_MusicButton_pressed():
AudioServer.set_bus_volume_db(
AudioServer.get_bus_index(escoria.BUS_MUSIC),
linear_to_db(
ESCProjectSettingsManager.get_setting(
ESCProjectSettingsManager.MUSIC_VOLUME
)
confiduredVolume
)
)
musicEnabled = true
func _on_translation_button_pressed() -> void:
$CanvasLayer/language_selector.show()

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=17 format=3 uid="uid://cabos3cse6b71"]
[gd_scene load_steps=20 format=3 uid="uid://cabos3cse6b71"]
[ext_resource type="PackedScene" uid="uid://bl50queikqfjc" path="res://addons/escoria-ui-return-monkey-island/inventory/inventory_ui.tscn" id="1"]
[ext_resource type="Script" uid="uid://dfl7khtlretr7" path="res://addons/escoria-core/game/scenes/dialogs/esc_dialog_player.gd" id="2"]
@@ -6,16 +6,19 @@
[ext_resource type="PackedScene" uid="uid://d2kogebvoxy51" path="res://addons/escoria-ui-return-monkey-island/esc_rich_tooltip.tscn" id="4"]
[ext_resource type="Script" uid="uid://lkc4isk3g0rj" path="res://addons/escoria-ui-return-monkey-island/game.gd" id="5"]
[ext_resource type="Texture2D" uid="uid://ce2rx8nm1s6gh" path="res://addons/escoria-ui-return-monkey-island/icons/music-double-note.svg" id="6"]
[ext_resource type="Texture2D" uid="uid://d0ta8viehhtdj" path="res://addons/escoria-ui-return-monkey-island/icons/translation.svg" id="6_yfacq"]
[ext_resource type="PackedScene" uid="uid://d3wdxi18u52c5" path="res://addons/escoria-ui-return-monkey-island/menus/main_menu/main_menu.tscn" id="7"]
[ext_resource type="Texture2D" uid="uid://dmtpxqpjt2hvh" path="res://addons/escoria-ui-return-monkey-island/icons/translation_hover.svg" id="7_we0hb"]
[ext_resource type="PackedScene" uid="uid://dl7w8oqk1rmhw" path="res://addons/escoria-ui-return-monkey-island/menus/pause_menu/pause_menu.tscn" id="8"]
[ext_resource type="Theme" uid="uid://bf2eet52fueam" path="res://addons/escoria-ui-return-monkey-island/theme/ui.tres" id="9"]
[ext_resource type="Texture2D" uid="uid://doahvd61d05u8" path="res://addons/escoria-ui-return-monkey-island/icons/cog-64-hover.svg" id="10"]
[ext_resource type="Texture2D" uid="uid://cvxd4tjmdwj5l" path="res://addons/escoria-ui-return-monkey-island/icons/cog-64.svg" id="11"]
[ext_resource type="PackedScene" uid="uid://ctg3fukoficqk" path="res://addons/escoria-ui-return-monkey-island/video_player/video_player.tscn" id="12"]
[ext_resource type="Texture2D" uid="uid://dghklsdy5nmcg" path="res://addons/escoria-ui-return-monkey-island/icons/music-double-note-hover.svg" id="13"]
[ext_resource type="Texture2D" uid="uid://b35fk7ltvp1hc" path="res://addons/escoria-ui-return-monkey-island/icons/menu.svg" id="13_we0hb"]
[ext_resource type="Script" uid="uid://chas0xyx88njl" path="res://addons/escoria-ui-return-monkey-island/MusicButton.gd" id="14"]
[ext_resource type="Texture2D" uid="uid://c6hw4fs6aoydo" path="res://addons/escoria-ui-return-monkey-island/icons/menu_hover.svg" id="14_parhr"]
[ext_resource type="Texture2D" uid="uid://d2sehci16hioi" path="res://addons/escoria-ui-return-monkey-island/icons/music-double-note-hover-disabled.svg" id="15"]
[ext_resource type="Texture2D" uid="uid://e2xk0aimdte" path="res://addons/escoria-ui-return-monkey-island/icons/music-double-note-disabled.svg" id="16"]
[ext_resource type="PackedScene" uid="uid://c0066wpl3qky4" path="res://addons/escoria-ui-return-monkey-island/menus/language_selector/language_selector.tscn" id="19_we0hb"]
[node name="game" type="Node2D"]
script = ExtResource("5")
@@ -71,13 +74,19 @@ grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/ui/menu_button"]
layout_mode = 0
offset_left = -135.0
offset_top = 32.0
offset_left = -179.0
offset_top = 33.0
offset_right = 21.0
offset_bottom = 102.0
offset_bottom = 103.0
alignment = 1
[node name="TranslationButton" type="TextureButton" parent="CanvasLayer/ui/menu_button/HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("6_yfacq")
texture_hover = ExtResource("7_we0hb")
[node name="MusicButton" type="TextureButton" parent="CanvasLayer/ui/menu_button/HBoxContainer"]
custom_minimum_size = Vector2(64, 0)
layout_mode = 2
script = ExtResource("14")
musicEnabledTexture = ExtResource("6")
@@ -87,8 +96,8 @@ musicDisabledHoverTexture = ExtResource("15")
[node name="MenuButton" type="TextureButton" parent="CanvasLayer/ui/menu_button/HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("11")
texture_hover = ExtResource("10")
texture_normal = ExtResource("13_we0hb")
texture_hover = ExtResource("14_parhr")
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/ui"]
layout_mode = 1
@@ -113,23 +122,18 @@ layout_mode = 2
[node name="pause_menu" parent="CanvasLayer" instance=ExtResource("8")]
visible = false
layout_mode = 3
anchors_preset = 15
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("9")
[node name="main_menu" parent="CanvasLayer" instance=ExtResource("7")]
visible = false
layout_mode = 3
anchors_preset = 15
grow_horizontal = 2
grow_vertical = 2
[node name="video_player" parent="CanvasLayer" instance=ExtResource("12")]
visible = false
layout_mode = 3
anchors_preset = 0
[node name="language_selector" parent="CanvasLayer" instance=ExtResource("19_we0hb")]
[connection signal="pressed" from="CanvasLayer/ui/menu_button/HBoxContainer/TranslationButton" to="." method="_on_translation_button_pressed"]
[connection signal="pressed" from="CanvasLayer/ui/menu_button/HBoxContainer/MusicButton" to="." method="_on_MusicButton_pressed"]
[connection signal="pressed" from="CanvasLayer/ui/menu_button/HBoxContainer/MenuButton" to="." method="_on_MenuButton_pressed"]

View File

@@ -6,7 +6,7 @@
sodipodi:docname="cog-64-hover.svg"
width="64"
height="64"
inkscape:version="1.3 (1:1.3+202307231459+0e150ed6c4)"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
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"
@@ -20,11 +20,11 @@
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="5.1099513"
inkscape:cx="-8.5128012"
inkscape:cy="1.4677243"
inkscape:zoom="14.453125"
inkscape:cx="41.202163"
inkscape:cy="44.730811"
inkscape:window-width="1920"
inkscape:window-height="1171"
inkscape:window-height="1001"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
@@ -33,10 +33,10 @@
id="defs3">
<filter
id="shadow-1"
height="1.1524932"
width="1.1529045"
x="-0.076452048"
y="-0.076200418">
height="1.0020877"
width="1.0021021"
x="-0.0010510324"
y="-0.0010438413">
<feFlood
flood-color="rgba(255, 255, 255, 1)"
result="flood"
@@ -49,7 +49,7 @@
id="feComposite1" />
<feGaussianBlur
in="composite"
stdDeviation="15"
stdDeviation="0.001 0"
result="blur"
id="feGaussianBlur1" />
<feOffset
@@ -73,11 +73,10 @@
r="275.2504"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
offset="0%"
stop-color="#828080"
stop-opacity="1"
id="stop2"
style="stop-color:#d131c1;stop-opacity:1;" />
id="stop2" />
<stop
offset="100%"
stop-color="#000000"
@@ -89,12 +88,20 @@
class=""
id="g3"
transform="matrix(0.05818161,0,0,0.05818161,1.0708312,0.97285232)">
<rect
style="fill:#ffffff;fill-opacity:0.546763;stroke:#ffffff;stroke-width:11.4584;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
id="rect1"
width="1100.0039"
height="1100.0039"
x="-18.404963"
y="-16.720943"
ry="189.61452" />
<path
d="m 234.875,18.78 c -26.087,2.367 -51.557,8.56 -74.875,18.782 15.37,32.763 14.222,66.706 -6.72,82.407 -20.835,15.617 -54.055,7.965 -81.124,-15.69 -16.246,19.452 -29.336,41.36 -38.875,65.626 33.83,12.333 56.635,37.665 52.94,63.5 -3.698,25.835 -32.697,43.74 -68.626,46.094 2.338,25.796 8.91,50.778 18.937,73.875 17.81,-8.182 35.793,-11.09 51.095,-8.938 13.032,1.87 23.927,7.015 31.156,16.657 15.817,21.097 7.603,54.713 -16.78,81.97 19.516,16.35 42.216,29.444 66.594,39.03 12.33,-33.828 37.655,-56.634 63.5,-52.938 25.844,3.697 43.74,32.696 46.094,68.625 26.087,-2.365 51.557,-8.555 74.875,-18.78 -15.766,-32.997 -14.26,-67.588 6.843,-83.406 9.64,-7.23 22.568,-9.022 35.594,-7.125 15.112,2.16 31.19,10.25 45.563,22.78 16.088,-19.345 29.4,-41.51 38.875,-65.594 -33.83,-12.332 -56.635,-37.653 -52.938,-63.5 3.697,-25.846 32.665,-43.772 68.594,-46.125 -2.36,-25.944 -8.774,-50.663 -18.906,-73.874 -32.612,15.117 -66.66,13.145 -82.282,-7.687 -15.696,-20.944 -7.252,-53.86 16.688,-81 C 391.577,57.117 368.849,44.022 344.472,34.437 332.14,68.265 306.815,91.097 280.972,87.405 255.126,83.712 237.228,54.709 234.877,18.78 Z m 21.656,95.126 c 79.626,0 144.376,64.752 144.376,144.375 0,79.626 -64.75,144.376 -144.375,144.376 -79.624,0 -144.374,-64.75 -144.374,-144.375 0,-79.624 64.75,-144.374 144.375,-144.374 z m 0,18.688 c -69.524,0 -125.686,56.162 -125.686,125.687 0,69.526 56.162,125.69 125.687,125.69 69.526,0 125.69,-56.164 125.69,-125.69 0,-69.522 -56.164,-125.686 -125.69,-125.686 z m 0.033,15.125 c 61.094,0 110.625,49.53 110.625,110.624 0,61.095 -49.53,110.625 -110.625,110.625 -61.095,0 -110.625,-49.53 -110.625,-110.626 0,-61.095 49.53,-110.625 110.625,-110.625 z"
fill="url(#lorc-cog-gradient-1)"
filter="url(#shadow-1)"
id="path3"
style="fill:url(#lorc-cog-gradient-1);stroke:#ffffff;stroke-opacity:1"
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;filter:url(#shadow-1)"
transform="matrix(1.9999999,0,0,1.9999999,18.404999,17.219999)" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@@ -6,7 +6,7 @@
sodipodi:docname="cog-64-press.svg"
width="64"
height="64"
inkscape:version="1.3 (1:1.3+202307231459+0e150ed6c4)"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
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"
@@ -20,12 +20,12 @@
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="5.1099513"
inkscape:cx="-8.5128012"
inkscape:cy="1.4677243"
inkscape:zoom="7.2265624"
inkscape:cx="4.2205406"
inkscape:cy="30.789189"
inkscape:window-width="1920"
inkscape:window-height="1171"
inkscape:window-x="1920"
inkscape:window-height="971"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g3" />
@@ -33,10 +33,10 @@
id="defs3">
<filter
id="shadow-1"
height="1.1524932"
width="1.1529045"
x="-0.076452048"
y="-0.076200418">
height="1.0021802"
width="1.0022776"
x="-0.0011386166"
y="-0.001043902">
<feFlood
flood-color="rgba(255, 255, 255, 1)"
result="flood"
@@ -49,7 +49,7 @@
id="feComposite1" />
<feGaussianBlur
in="composite"
stdDeviation="15"
stdDeviation="1.2098506e-05"
result="blur"
id="feGaussianBlur1" />
<feOffset
@@ -73,29 +73,35 @@
r="275.2504"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
offset="0%"
stop-color="#828080"
stop-opacity="1"
id="stop2"
style="stop-color:#d131c1;stop-opacity:1;" />
id="stop2" />
<stop
offset="1"
offset="100%"
stop-color="#000000"
stop-opacity="1"
id="stop3"
style="stop-color:#bebebe;stop-opacity:1;" />
id="stop3" />
</radialGradient>
</defs>
<g
class=""
id="g3"
transform="matrix(0.05818161,0,0,0.05818161,1.0708312,0.97285232)">
<rect
style="fill:#ffffff;fill-opacity:0.546763;stroke:#ffffff;stroke-width:11.4584;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
id="rect1"
width="1100.0039"
height="1100.0039"
x="-18.404963"
y="-16.720943"
ry="189.61452" />
<path
d="m 234.875,18.78 c -26.087,2.367 -51.557,8.56 -74.875,18.782 15.37,32.763 14.222,66.706 -6.72,82.407 -20.835,15.617 -54.055,7.965 -81.124,-15.69 -16.246,19.452 -29.336,41.36 -38.875,65.626 33.83,12.333 56.635,37.665 52.94,63.5 -3.698,25.835 -32.697,43.74 -68.626,46.094 2.338,25.796 8.91,50.778 18.937,73.875 17.81,-8.182 35.793,-11.09 51.095,-8.938 13.032,1.87 23.927,7.015 31.156,16.657 15.817,21.097 7.603,54.713 -16.78,81.97 19.516,16.35 42.216,29.444 66.594,39.03 12.33,-33.828 37.655,-56.634 63.5,-52.938 25.844,3.697 43.74,32.696 46.094,68.625 26.087,-2.365 51.557,-8.555 74.875,-18.78 -15.766,-32.997 -14.26,-67.588 6.843,-83.406 9.64,-7.23 22.568,-9.022 35.594,-7.125 15.112,2.16 31.19,10.25 45.563,22.78 16.088,-19.345 29.4,-41.51 38.875,-65.594 -33.83,-12.332 -56.635,-37.653 -52.938,-63.5 3.697,-25.846 32.665,-43.772 68.594,-46.125 -2.36,-25.944 -8.774,-50.663 -18.906,-73.874 -32.612,15.117 -66.66,13.145 -82.282,-7.687 -15.696,-20.944 -7.252,-53.86 16.688,-81 C 391.577,57.117 368.849,44.022 344.472,34.437 332.14,68.265 306.815,91.097 280.972,87.405 255.126,83.712 237.228,54.709 234.877,18.78 Z m 21.656,95.126 c 79.626,0 144.376,64.752 144.376,144.375 0,79.626 -64.75,144.376 -144.375,144.376 -79.624,0 -144.374,-64.75 -144.374,-144.375 0,-79.624 64.75,-144.374 144.375,-144.374 z m 0,18.688 c -69.524,0 -125.686,56.162 -125.686,125.687 0,69.526 56.162,125.69 125.687,125.69 69.526,0 125.69,-56.164 125.69,-125.69 0,-69.522 -56.164,-125.686 -125.69,-125.686 z m 0.033,15.125 c 61.094,0 110.625,49.53 110.625,110.624 0,61.095 -49.53,110.625 -110.625,110.625 -61.095,0 -110.625,-49.53 -110.625,-110.626 0,-61.095 49.53,-110.625 110.625,-110.625 z"
fill="url(#lorc-cog-gradient-1)"
filter="url(#shadow-1)"
id="path3"
style="fill:url(#lorc-cog-gradient-1);stroke:#ffffff;stroke-opacity:1"
style="fill:#000000;stroke:#ffffff;stroke-opacity:1;filter:url(#shadow-1);fill-opacity:1"
transform="matrix(1.9999999,0,0,1.9999999,18.404999,17.219999)" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@@ -6,7 +6,7 @@
sodipodi:docname="cog-64.svg"
width="64"
height="64"
inkscape:version="1.3 (1:1.3+202307231459+0e150ed6c4)"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
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"
@@ -20,80 +20,38 @@
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="5.1099513"
inkscape:cx="-8.5128012"
inkscape:cy="1.4677243"
inkscape:zoom="7.2265624"
inkscape:cx="4.2205406"
inkscape:cy="30.789189"
inkscape:window-width="1920"
inkscape:window-height="1171"
inkscape:window-x="1920"
inkscape:window-height="971"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g3" />
<defs
id="defs3">
<filter
id="shadow-1"
height="1.1524932"
width="1.1529045"
x="-0.076452048"
y="-0.076200418">
<feFlood
flood-color="rgba(255, 255, 255, 1)"
result="flood"
id="feFlood1" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="atop"
result="composite"
id="feComposite1" />
<feGaussianBlur
in="composite"
stdDeviation="15"
result="blur"
id="feGaussianBlur1" />
<feOffset
dx="0"
dy="0"
result="offset"
id="feOffset1" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
id="feComposite2" />
</filter>
<radialGradient
id="lorc-cog-gradient-1"
gradientTransform="scale(0.99909393,1.0009069)"
cx="256.8287"
cy="258.04602"
fx="256.8287"
fy="258.04602"
r="275.2504"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-color="#828080"
stop-opacity="1"
id="stop2" />
<stop
offset="100%"
stop-color="#000000"
stop-opacity="1"
id="stop3" />
</radialGradient>
</defs>
<g
class=""
id="g3"
transform="matrix(0.05818161,0,0,0.05818161,1.0708312,0.97285232)">
<rect
style="fill:#ffffff;fill-opacity:0.330383;stroke:none;stroke-width:58.6096;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:normal"
id="rect1"
width="1100.0039"
height="1100.0039"
x="-18.404963"
y="-16.720943"
ry="189.61452" />
<path
d="m 234.875,18.78 c -26.087,2.367 -51.557,8.56 -74.875,18.782 15.37,32.763 14.222,66.706 -6.72,82.407 -20.835,15.617 -54.055,7.965 -81.124,-15.69 -16.246,19.452 -29.336,41.36 -38.875,65.626 33.83,12.333 56.635,37.665 52.94,63.5 -3.698,25.835 -32.697,43.74 -68.626,46.094 2.338,25.796 8.91,50.778 18.937,73.875 17.81,-8.182 35.793,-11.09 51.095,-8.938 13.032,1.87 23.927,7.015 31.156,16.657 15.817,21.097 7.603,54.713 -16.78,81.97 19.516,16.35 42.216,29.444 66.594,39.03 12.33,-33.828 37.655,-56.634 63.5,-52.938 25.844,3.697 43.74,32.696 46.094,68.625 26.087,-2.365 51.557,-8.555 74.875,-18.78 -15.766,-32.997 -14.26,-67.588 6.843,-83.406 9.64,-7.23 22.568,-9.022 35.594,-7.125 15.112,2.16 31.19,10.25 45.563,22.78 16.088,-19.345 29.4,-41.51 38.875,-65.594 -33.83,-12.332 -56.635,-37.653 -52.938,-63.5 3.697,-25.846 32.665,-43.772 68.594,-46.125 -2.36,-25.944 -8.774,-50.663 -18.906,-73.874 -32.612,15.117 -66.66,13.145 -82.282,-7.687 -15.696,-20.944 -7.252,-53.86 16.688,-81 C 391.577,57.117 368.849,44.022 344.472,34.437 332.14,68.265 306.815,91.097 280.972,87.405 255.126,83.712 237.228,54.709 234.877,18.78 Z m 21.656,95.126 c 79.626,0 144.376,64.752 144.376,144.375 0,79.626 -64.75,144.376 -144.375,144.376 -79.624,0 -144.374,-64.75 -144.374,-144.375 0,-79.624 64.75,-144.374 144.375,-144.374 z m 0,18.688 c -69.524,0 -125.686,56.162 -125.686,125.687 0,69.526 56.162,125.69 125.687,125.69 69.526,0 125.69,-56.164 125.69,-125.69 0,-69.522 -56.164,-125.686 -125.69,-125.686 z m 0.033,15.125 c 61.094,0 110.625,49.53 110.625,110.624 0,61.095 -49.53,110.625 -110.625,110.625 -61.095,0 -110.625,-49.53 -110.625,-110.626 0,-61.095 49.53,-110.625 110.625,-110.625 z"
fill="url(#lorc-cog-gradient-1)"
filter="url(#shadow-1)"
id="path3"
style="fill:url(#lorc-cog-gradient-1);stroke:#ffffff;stroke-opacity:1"
style="fill:#000000;stroke:#ffffff;stroke-opacity:1;filter:url(#shadow-1);fill-opacity:1"
transform="matrix(1.9999999,0,0,1.9999999,18.404999,17.219999)" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64"
height="64"
stroke-width="1.5"
viewBox="0 0 64 64"
fill="none"
color="#000000"
version="1.1"
id="svg3"
sodipodi:docname="menu.svg"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
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">
<defs
id="defs3" />
<sodipodi:namedview
id="namedview3"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="10.680259"
inkscape:cx="31.038573"
inkscape:cy="34.034755"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3" />
<rect
style="fill:#ffffff;fill-opacity:0.330383;stroke:none;stroke-width:3.41;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:normal"
id="rect1"
width="64"
height="64"
x="0"
y="0"
ry="11.032078" />
<g
id="g4"
transform="translate(0.4742665,-0.4717435)"
style="stroke-width:3.5;stroke-dasharray:none">
<path
style="fill:none;stroke:#000000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="m 11.825638,21.914699 c 0.485321,0 39.40019,0 39.40019,0"
id="path4" />
<path
style="fill:none;stroke:#000000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="m 11.825639,32.471744 c 0.485321,0 39.40019,0 39.40019,0"
id="path4-6" />
<path
style="fill:none;stroke:#000000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="m 11.82564,43.028788 c 0.485321,0 39.400187,0 39.400187,0"
id="path4-6-5" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64"
height="64"
stroke-width="1.5"
viewBox="0 0 64 64"
fill="none"
color="#000000"
version="1.1"
id="svg3"
sodipodi:docname="menu_hover.svg"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
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">
<defs
id="defs3" />
<sodipodi:namedview
id="namedview3"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="10.680259"
inkscape:cx="31.038573"
inkscape:cy="34.034755"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3" />
<rect
style="fill:#ffffff;fill-opacity:0.546763;stroke:#ffffff;stroke-width:0.666668;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
id="rect1"
width="64"
height="64"
x="0"
y="0"
ry="11.032078" />
<g
id="g4"
transform="translate(0.4742665,-0.4717435)"
style="stroke-width:3.5;stroke-dasharray:none">
<path
style="fill:none;stroke:#000000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="m 11.825638,21.914699 c 0.485321,0 39.40019,0 39.40019,0"
id="path4" />
<path
style="fill:none;stroke:#000000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="m 11.825639,32.471744 c 0.485321,0 39.40019,0 39.40019,0"
id="path4-6" />
<path
style="fill:none;stroke:#000000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="m 11.82564,43.028788 c 0.485321,0 39.400187,0 39.400187,0"
id="path4-6-5" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -25,45 +25,29 @@
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="5.3401293"
inkscape:cx="51.215988"
inkscape:cy="36.984123"
inkscape:zoom="7.5520834"
inkscape:cx="39.128276"
inkscape:cy="42.703448"
inkscape:window-width="1920"
inkscape:window-height="971"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3" />
<rect
style="fill:#ffffff;fill-opacity:0.330383;stroke:none;stroke-width:3.41;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:normal"
id="rect1"
width="64"
height="64"
x="0"
y="0"
ry="11.032078" />
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path1"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path2"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path3"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
d="m 12.666302,52.141122 h 2.720376 c 3.004845,0 5.440751,-2.165181 5.440751,-4.83623 v -7.25434 h -8.161127 c -3.0048457,0 -5.4407521,2.165181 -5.4407521,4.836227 v 2.418113 c 0,2.671049 2.4359064,4.83623 5.4407521,4.83623 z m 29.924136,-4.83623 h 2.720373 c 3.004927,0 5.440751,-2.165178 5.440751,-4.836229 v -7.254338 h -8.161124 c -3.004931,0 -5.440755,2.165178 -5.440755,4.836227 v 2.418111 c 0,2.671051 2.435824,4.836229 5.440755,4.836229 z M 50.751562,35.214325 V 8.6150737 L 20.827429,13.451301 v 26.599251"
style="stroke:#000000;stroke-opacity:1;stroke-width:3.6;stroke-dasharray:none;stroke-linejoin:round" />
<path
style="fill:#ff0000;stroke:#f40a09;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-dasharray:none"
d="M 7.4308899,51.792606 53.261256,12.207394"
id="path6" />
<path
style="fill:#ff0000;stroke:#f40a09;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="M 53.261256,51.792606 7.4308899,12.207394"
id="path6-3" />
style="fill:none;stroke:#cd2000;stroke-width:3.8;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="M 3.564511,55.248751 54.412601,5.5074766"
id="path4" />
</svg>

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -25,45 +25,29 @@
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="5.3401293"
inkscape:cx="51.215988"
inkscape:cy="36.984123"
inkscape:zoom="7.5520834"
inkscape:cx="39.128276"
inkscape:cy="42.703448"
inkscape:window-width="1920"
inkscape:window-height="971"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3" />
<rect
style="fill:#ffffff;fill-opacity:0.546763;stroke:#ffffff;stroke-width:0.666667;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
id="rect1"
width="64"
height="64"
x="0"
y="0"
ry="11.032078" />
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path1"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#bd2ab0;stroke-opacity:1" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path2"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#bd2ab0;stroke-opacity:1" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path3"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#bd2ab0;stroke-opacity:1" />
d="m 12.666302,52.141122 h 2.720376 c 3.004845,0 5.440751,-2.165181 5.440751,-4.83623 v -7.25434 h -8.161127 c -3.0048457,0 -5.4407521,2.165181 -5.4407521,4.836227 v 2.418113 c 0,2.671049 2.4359064,4.83623 5.4407521,4.83623 z m 29.924136,-4.83623 h 2.720373 c 3.004927,0 5.440751,-2.165178 5.440751,-4.836229 v -7.254338 h -8.161124 c -3.004931,0 -5.440755,2.165178 -5.440755,4.836227 v 2.418111 c 0,2.671051 2.435824,4.836229 5.440755,4.836229 z M 50.751562,35.214325 V 8.6150737 L 20.827429,13.451301 v 26.599251"
style="stroke:#000000;stroke-opacity:1;stroke-width:3.6;stroke-dasharray:none;stroke-linejoin:round" />
<path
style="fill:#ff0000;stroke:#f40a09;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-dasharray:none"
d="M 7.4308899,51.792606 53.261256,12.207394"
id="path6" />
<path
style="fill:#ff0000;stroke:#f40a09;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="M 53.261256,51.792606 7.4308899,12.207394"
id="path6-3" />
style="fill:none;stroke:#cd2000;stroke-width:3.8;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="M 3.564511,55.248751 54.412601,5.5074766"
id="path4" />
</svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -25,37 +25,108 @@
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="3.7760417"
inkscape:cx="88.055172"
inkscape:cy="40.915862"
inkscape:zoom="7.5520836"
inkscape:cx="18.604137"
inkscape:cy="45.219309"
inkscape:window-width="1920"
inkscape:window-height="971"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3" />
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path1"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#bd2ab0;stroke-opacity:1" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path2"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#bd2ab0;stroke-opacity:1" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path3"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#bd2ab0;stroke-opacity:1" />
<rect
style="fill:#ffffff;fill-opacity:0.546763;stroke:#ffffff;stroke-width:0.666667;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
id="rect1"
width="64"
height="64"
x="0"
y="0"
ry="11.032078" />
<g
id="g9"
transform="matrix(0.74020638,0,0,0.74020638,5.3019549,6.6915144)"
style="stroke-width:5.4038983;stroke-dasharray:none;stroke:#000000;stroke-opacity:1">
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path7"
style="stroke-width:5.4038983;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path8"
style="stroke-width:5.4038983;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path9"
style="stroke-width:5.4038983;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
</g>
<g
id="g1"
transform="matrix(0.74020638,0,0,0.74020638,5.3019549,6.6915144)"
style="stroke:#ffffff;stroke-opacity:1;stroke-width:1.49958178;stroke-dasharray:none">
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path1"
style="stroke:#ffffff;stroke-opacity:1;stroke-width:1.49958178;stroke-dasharray:none" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path2"
style="stroke:#ffffff;stroke-opacity:1;stroke-width:1.49958178;stroke-dasharray:none" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path3"
style="stroke:#ffffff;stroke-opacity:1;stroke-width:1.49958178;stroke-dasharray:none" />
</g>
<g
id="g6"
transform="matrix(0.74020638,0,0,0.74020638,5.3019549,6.6915144)"
style="stroke-width:4.6068233;stroke-dasharray:none;stroke:#000000;stroke-opacity:1">
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path4"
style="stroke-width:4.6068233;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path5"
style="stroke-width:4.6068233;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path6"
style="stroke-width:4.6068233;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@@ -25,34 +25,79 @@
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="3.7760417"
inkscape:cx="109.50621"
inkscape:cy="128.57379"
inkscape:zoom="10.680259"
inkscape:cx="31.038573"
inkscape:cy="26.5443"
inkscape:window-width="1920"
inkscape:window-height="971"
inkscape:window-x="0"
inkscape:window-height="1001"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3" />
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path1" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path2" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path3" />
<rect
style="fill:#ffffff;fill-opacity:0.330383;stroke:none;stroke-width:3.41;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:normal"
id="rect1"
width="64"
height="64"
x="0"
y="0"
ry="11.032078" />
<g
id="g1"
transform="matrix(0.74020638,0,0,0.74020638,5.3019549,6.6915144)"
style="stroke:#ffffff;stroke-opacity:1;stroke-width:1.49958178;stroke-dasharray:none">
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path1"
style="stroke:#ffffff;stroke-opacity:1;stroke-width:1.49958178;stroke-dasharray:none" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path2"
style="stroke:#ffffff;stroke-opacity:1;stroke-width:1.49958178;stroke-dasharray:none" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path3"
style="stroke:#ffffff;stroke-opacity:1;stroke-width:1.49958178;stroke-dasharray:none" />
</g>
<g
id="g6"
transform="matrix(0.74020638,0,0,0.74020638,5.3019549,6.6915144)"
style="stroke-width:4.6068233;stroke-dasharray:none;stroke:#000000;stroke-opacity:1">
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path4"
style="stroke-width:4.6068233;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path5"
style="stroke-width:4.6068233;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path6"
style="stroke-width:4.6068233;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64"
height="64"
version="1.1"
viewBox="0 0 48 48"
id="svg4"
sodipodi:docname="translation.svg"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
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">
<defs
id="defs4" />
<sodipodi:namedview
id="namedview4"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="pt"
inkscape:zoom="7.25"
inkscape:cx="27.931034"
inkscape:cy="32.068966"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g4" />
<rect
style="fill:#ffffff;fill-opacity:0.330383;stroke:none;stroke-width:2.5575;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:normal"
id="rect1"
width="48"
height="48"
x="3.5527137e-15"
y="3.5527137e-15"
ry="8.2740583" />
<g
id="g4"
transform="matrix(0.82910493,0,0,0.82910493,4.1014817,8.9548203)">
<path
d="M 9.1834747,21.166889 V 17.221951 H 5.0585476 c -1.5965752,0 -2.8964284,-1.382512 -2.8964284,-3.081509 V 5.2447907 c 0,-1.6994779 1.2992118,-3.0824711 2.8964284,-3.0824711 H 23.504067 c 1.596575,0 2.895346,1.3829932 2.895346,3.0824711 v 8.8952513 c 0,1.698996 -1.298731,3.081508 -2.895346,3.081508 v 2.162801 c 2.788515,0 5.057745,-2.352732 5.057745,-5.244149 V 5.2449511 C 28.561812,2.3533731 26.293143,0 23.504067,0 H 5.0585476 C 2.2689103,0 0,2.3532127 0,5.2449511 v 8.8952509 c 0,2.891578 2.2691107,5.244149 5.0585476,5.244149 h 1.9626875 v 3.832975 c 0,0.588313 0.3795736,1.121788 0.9442434,1.329598 0.16066,0.05919 0.3257052,0.08847 0.4877757,0.08847 0.3949189,0 0.7740352,-0.170212 1.0414539,-0.485891 l 4.0259129,-4.764712 h 4.017895 V 17.22199 l -5.021667,1.61e-4 z"
id="path1"
style="stroke-width:0.0400867" />
<path
d="M 42.941332,11.657108 H 30.453507 v 2.1628 h 12.487825 c 1.596576,0 2.896428,1.382994 2.896428,3.082472 v 8.894048 c 0,1.699478 -1.29921,3.082471 -2.896428,3.082471 h -4.124525 v 3.946983 l -3.334096,-3.946061 -10.987379,1.6e-4 c -1.596094,0 -2.895346,-1.382993 -2.895346,-3.082471 v -8.89485 c 0,-1.699478 1.299212,-3.082471 2.895346,-3.082471 v -2.1628 c -2.788515,0 -5.058147,2.353212 -5.058147,5.24495 v 8.89485 c 0,2.892981 2.269111,5.245353 5.058147,5.245353 h 9.983605 l 4.027118,4.767116 c 0.266986,0.313647 0.645595,0.482925 1.039608,0.482925 0.162072,0 0.327116,-0.02835 0.487778,-0.08753 0.565742,-0.207793 0.946246,-0.742248 0.946246,-1.331482 v -3.831574 h 1.961767 C 45.73109,31.041995 48,28.689265 48,25.796644 v -8.894048 c 0,-2.892059 -2.26899,-5.245352 -5.058546,-5.245352 z"
id="path2"
style="stroke-width:0.03980196;stroke-dasharray:none" />
<path
d="M 12.711109,3.5776225 8.8857903,13.655834 h 2.2440567 l 0.790791,-2.244057 h 3.768476 l 0.761969,2.244057 h 2.300298 L 14.983066,3.5776225 Z m -0.211081,6.1829812 1.312681,-3.6983239 h 0.02787 l 1.270389,3.6983239 z"
id="path3"
style="stroke-width:0.0400867" />
<path
d="m 28.868476,23.62581 c 0,1.104871 0.706209,1.821743 1.85778,1.821743 1.383475,-0.02928 2.752038,-0.907765 3.197561,-1.304062 0.445485,-0.397268 1.64512,-1.776485 2.174868,-2.868408 0.670049,0.316465 0.987617,0.846672 0.987617,1.433582 0,1.269468 -1.222807,2.005901 -3.174392,2.229666 l 0.946729,1.310797 c 3.056455,-0.400243 4.096468,-1.683644 4.096468,-3.563513 0,-1.587956 -0.999204,-2.551922 -2.280097,-2.974236 0.02365,-0.116344 0.06639,-0.238172 0.09051,-0.355927 l -1.737038,-0.309261 c -0.01157,0.175536 -0.04666,0.207794 -0.0808,0.383799 -0.623829,-0.03555 -1.317049,0.05825 -1.540373,0.105384 0,-0.317563 0.01157,-1.16456 0.02365,-1.469581 1.445929,-0.05872 2.867928,-0.175536 4.184658,-0.375657 L 37.46263,15.974704 c -1.351684,0.270273 -2.656829,0.411811 -3.937723,0.482444 0.03461,-0.341519 0.08268,-1.307029 0.08268,-1.307029 l -1.834291,-0.139991 c -0.02413,0.470378 -0.0346,1.023135 -0.05825,1.504657 -0.812077,0.01159 -1.77464,0.01159 -2.281015,0 l 0.08221,1.657667 h 0.199183 c 0.482445,0 1.270389,-0.02458 1.976638,-0.0476 0,0.458032 0.01113,1.445489 0.02303,1.892376 -1.658908,0.692137 -2.846479,1.974593 -2.846479,3.608609 z m 5.525157,-2.657311 c -0.247254,0.493108 -0.54069,0.941398 -0.869681,1.316129 -0.04807,-0.388185 -0.07125,-0.787505 -0.09427,-1.210259 0.128871,-0.02302 0.645917,-0.105853 0.963964,-0.105853 z m -2.586678,0.682277 c 0.05919,0.658625 0.129815,1.293118 0.235199,1.868884 -0.305037,0.152988 -0.598497,0.247256 -0.870163,0.259314 -0.588316,0.02364 -0.588316,-0.35217 -0.588316,-0.51752 5.95e-4,-0.624151 0.482604,-1.198995 1.223289,-1.610686 z"
id="path4"
style="stroke-width:0.0400867" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64"
height="64"
version="1.1"
viewBox="0 0 48 48"
id="svg4"
sodipodi:docname="translation_hover.svg"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
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">
<defs
id="defs4" />
<sodipodi:namedview
id="namedview4"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="pt"
inkscape:zoom="7.25"
inkscape:cx="27.793103"
inkscape:cy="54"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4" />
<rect
style="fill:#ffffff;fill-opacity:0.54676282;stroke:#ffffff;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:normal;stroke-dasharray:none"
id="rect1"
width="48"
height="48"
x="3.5527137e-15"
y="3.5527137e-15"
ry="8.2740583" />
<g
id="g4"
transform="matrix(0.82910493,0,0,0.82910493,4.1014817,8.9548203)">
<path
d="M 9.1834747,21.166889 V 17.221951 H 5.0585476 c -1.5965752,0 -2.8964284,-1.382512 -2.8964284,-3.081509 V 5.2447907 c 0,-1.6994779 1.2992118,-3.0824711 2.8964284,-3.0824711 H 23.504067 c 1.596575,0 2.895346,1.3829932 2.895346,3.0824711 v 8.8952513 c 0,1.698996 -1.298731,3.081508 -2.895346,3.081508 v 2.162801 c 2.788515,0 5.057745,-2.352732 5.057745,-5.244149 V 5.2449511 C 28.561812,2.3533731 26.293143,0 23.504067,0 H 5.0585476 C 2.2689103,0 0,2.3532127 0,5.2449511 v 8.8952509 c 0,2.891578 2.2691107,5.244149 5.0585476,5.244149 h 1.9626875 v 3.832975 c 0,0.588313 0.3795736,1.121788 0.9442434,1.329598 0.16066,0.05919 0.3257052,0.08847 0.4877757,0.08847 0.3949189,0 0.7740352,-0.170212 1.0414539,-0.485891 l 4.0259129,-4.764712 h 4.017895 V 17.22199 l -5.021667,1.61e-4 z"
id="path1"
style="stroke-width:0.0400867" />
<path
d="M 42.941332,11.657108 H 30.453507 v 2.1628 h 12.487825 c 1.596576,0 2.896428,1.382994 2.896428,3.082472 v 8.894048 c 0,1.699478 -1.29921,3.082471 -2.896428,3.082471 h -4.124525 v 3.946983 l -3.334096,-3.946061 -10.987379,1.6e-4 c -1.596094,0 -2.895346,-1.382993 -2.895346,-3.082471 v -8.89485 c 0,-1.699478 1.299212,-3.082471 2.895346,-3.082471 v -2.1628 c -2.788515,0 -5.058147,2.353212 -5.058147,5.24495 v 8.89485 c 0,2.892981 2.269111,5.245353 5.058147,5.245353 h 9.983605 l 4.027118,4.767116 c 0.266986,0.313647 0.645595,0.482925 1.039608,0.482925 0.162072,0 0.327116,-0.02835 0.487778,-0.08753 0.565742,-0.207793 0.946246,-0.742248 0.946246,-1.331482 v -3.831574 h 1.961767 C 45.73109,31.041995 48,28.689265 48,25.796644 v -8.894048 c 0,-2.892059 -2.26899,-5.245352 -5.058546,-5.245352 z"
id="path2"
style="stroke-width:0.0400867" />
<path
d="M 12.711109,3.5776225 8.8857903,13.655834 h 2.2440567 l 0.790791,-2.244057 h 3.768476 l 0.761969,2.244057 h 2.300298 L 14.983066,3.5776225 Z m -0.211081,6.1829812 1.312681,-3.6983239 h 0.02787 l 1.270389,3.6983239 z"
id="path3"
style="stroke-width:0.0400867" />
<path
d="m 28.868476,23.62581 c 0,1.104871 0.706209,1.821743 1.85778,1.821743 1.383475,-0.02928 2.752038,-0.907765 3.197561,-1.304062 0.445485,-0.397268 1.64512,-1.776485 2.174868,-2.868408 0.670049,0.316465 0.987617,0.846672 0.987617,1.433582 0,1.269468 -1.222807,2.005901 -3.174392,2.229666 l 0.946729,1.310797 c 3.056455,-0.400243 4.096468,-1.683644 4.096468,-3.563513 0,-1.587956 -0.999204,-2.551922 -2.280097,-2.974236 0.02365,-0.116344 0.06639,-0.238172 0.09051,-0.355927 l -1.737038,-0.309261 c -0.01157,0.175536 -0.04666,0.207794 -0.0808,0.383799 -0.623829,-0.03555 -1.317049,0.05825 -1.540373,0.105384 0,-0.317563 0.01157,-1.16456 0.02365,-1.469581 1.445929,-0.05872 2.867928,-0.175536 4.184658,-0.375657 L 37.46263,15.974704 c -1.351684,0.270273 -2.656829,0.411811 -3.937723,0.482444 0.03461,-0.341519 0.08268,-1.307029 0.08268,-1.307029 l -1.834291,-0.139991 c -0.02413,0.470378 -0.0346,1.023135 -0.05825,1.504657 -0.812077,0.01159 -1.77464,0.01159 -2.281015,0 l 0.08221,1.657667 h 0.199183 c 0.482445,0 1.270389,-0.02458 1.976638,-0.0476 0,0.458032 0.01113,1.445489 0.02303,1.892376 -1.658908,0.692137 -2.846479,1.974593 -2.846479,3.608609 z m 5.525157,-2.657311 c -0.247254,0.493108 -0.54069,0.941398 -0.869681,1.316129 -0.04807,-0.388185 -0.07125,-0.787505 -0.09427,-1.210259 0.128871,-0.02302 0.645917,-0.105853 0.963964,-0.105853 z m -2.586678,0.682277 c 0.05919,0.658625 0.129815,1.293118 0.235199,1.868884 -0.305037,0.152988 -0.598497,0.247256 -0.870163,0.259314 -0.588316,0.02364 -0.588316,-0.35217 -0.588316,-0.51752 5.95e-4,-0.624151 0.482604,-1.198995 1.223289,-1.610686 z"
id="path4"
style="stroke-width:0.0400867" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@@ -0,0 +1,40 @@
extends Control
# A list of languages already added to the language selection
var _loaded_languages: Array = []
var _language_keys_resource = "res://gymkhana/translations/language_keys.csv"
var _language_key_labels: Dictionary;
# Initialize the flags
func _ready() -> void:
var _languages_container: VBoxContainer = \
$VBoxContainer/languageItems
for child in _languages_container.get_children():
_languages_container.remove_child(child)
child.queue_free()
var _language_key_labels_raw = gymkhana.csv_parser.load_from_file(_language_keys_resource)
for rawLang in _language_key_labels_raw:
_language_key_labels[rawLang[0]] = rawLang[1]
_loaded_languages = []
for lang in TranslationServer.get_loaded_locales():
if not lang in _loaded_languages:
_loaded_languages.append(lang)
var _lang_button = RTMIMenuButton.new()
_lang_button.text = _language_key_labels[lang] if _language_key_labels.has(lang) else lang
_languages_container.add_child(_lang_button)
_lang_button.connect("gui_input", Callable(self, "_on_language_input").bind(lang))
func _on_language_input(event: InputEvent, language: String):
if event.is_pressed():
TranslationServer.set_locale(language)
ESCProjectSettingsManager.set_setting(
ESCProjectSettingsManager.TEXT_LANG,
language
)
self.hide()

View File

@@ -0,0 +1 @@
uid://bb2dncmckwtj2

View File

@@ -0,0 +1,50 @@
[gd_scene load_steps=4 format=3 uid="uid://c0066wpl3qky4"]
[ext_resource type="Script" uid="uid://bb2dncmckwtj2" path="res://addons/escoria-ui-return-monkey-island/menus/language_selector/language_selector.gd" id="1_rfy64"]
[ext_resource type="Texture2D" uid="uid://d0ta8viehhtdj" path="res://addons/escoria-ui-return-monkey-island/icons/translation.svg" id="2_502ci"]
[ext_resource type="Theme" uid="uid://dvpaon5mw2w8l" path="res://addons/escoria-ui-return-monkey-island/theme.tres" id="2_jw4w0"]
[node name="language_selector" type="Control"]
clip_contents = true
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_rfy64")
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(1.02084, 1)
theme = ExtResource("2_jw4w0")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -308.0
offset_top = 9.0
offset_right = 308.0
offset_bottom = 44.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.92, 0.92)
theme_override_constants/separation = 100
alignment = 1
[node name="TextureRect" type="TextureRect" parent="VBoxContainer"]
layout_mode = 2
texture = ExtResource("2_502ci")
stretch_mode = 3
[node name="languageItems" type="VBoxContainer" parent="VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 10

View File

@@ -1,7 +1,7 @@
[gd_scene load_steps=7 format=3 uid="uid://d3wdxi18u52c5"]
[ext_resource type="Script" uid="uid://cnlvmkxk41x6j" path="res://addons/escoria-ui-return-monkey-island/menus/main_menu/main_menu.gd" id="1"]
[ext_resource type="Script" uid="uid://c7y2f4rocpq4h" path="res://addons/escoria-ui-return-monkey-island/menus/RTMIMenuButtonWithSaveFeature.gd" id="2"]
[ext_resource type="Script" uid="uid://bfi05b2x5srm2" path="res://addons/escoria-ui-return-monkey-island/menus/RTMIMenuButtonWithSaveFeature.gd" id="2"]
[ext_resource type="Texture2D" uid="uid://bgfi7t6khinjw" path="res://gymkhana/logo-small.png" id="3"]
[ext_resource type="PackedScene" uid="uid://csxvnrljbqkr8" path="res://addons/escoria-ui-return-monkey-island/menus/options/options.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://j3wkbyhedkpr" path="res://addons/escoria-core/ui_library/menus/load_save/load/load_game.tscn" id="5"]
@@ -12,6 +12,8 @@ layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1")
[node name="load_game" parent="." instance=ExtResource("5")]

View File

@@ -1,4 +1,4 @@
[gd_resource type="Theme" load_steps=4 format=3 uid="uid://dvpaon5mw2w8l"]
[gd_resource type="Theme" load_steps=5 format=3 uid="uid://dvpaon5mw2w8l"]
[sub_resource type="StyleBoxFlat" id="1"]
content_margin_left = 4.0
@@ -10,6 +10,9 @@ corner_radius_top_right = 5
corner_radius_bottom_right = 5
expand_margin_left = 19.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tpolp"]
bg_color = Color(0.144063, 0.144063, 0.144062, 1)
[sub_resource type="StyleBoxFlat" id="2"]
bg_color = Color(0, 0, 0, 0.509804)
corner_radius_top_left = 5
@@ -34,5 +37,6 @@ Label/colors/font_color_shadow = Color(0, 0, 0, 0)
Label/colors/font_outline_modulate = Color(1, 0, 0, 1)
Label/colors/label_box_bg = Color(0, 0, 0, 0.745098)
Label/styles/normal = SubResource("1")
Panel/styles/panel = SubResource("StyleBoxFlat_tpolp")
RichTextLabel/styles/focus = SubResource("2")
RichTextLabel/styles/normal = SubResource("3")

View File

@@ -0,0 +1,18 @@
class_name RTMICsvParser
func load_from_file(resource: String) -> Array:
var output = []
var file = FileAccess.open(resource, FileAccess.READ)
if file == null:
escoria.logger.warn(self, "No language keys")
return output
var header = file.get_csv_line(",")
while not file.eof_reached():
var line = file.get_csv_line(",")
output.append(line)
file.close()
return output

View File

@@ -0,0 +1 @@
uid://dsmu5gbhd3vfy

View File

@@ -0,0 +1,6 @@
key,label
es,Español
en,English
fr,Français
eu,Euskera
de,Deutsch
1 key label
2 es Español
3 en English
4 fr Français
5 eu Euskera
6 de Deutsch