GUI!!!!!!!!!!!!!!

This commit is contained in:
2025-09-15 16:59:07 +03:00
parent 42b7961659
commit e2c514c684
24 changed files with 1014 additions and 1 deletions

2
GUI/.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf

2
GUI/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
# Godot 4+ specific ignores
.godot/

16
GUI/ErrorPanel.gd Normal file
View File

@@ -0,0 +1,16 @@
extends Panel
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _on_show_error_pressed():
$"../../AnimationPlayer".play("Show_Error")
pass # Replace with function body.

40
GUI/Throbber.gd Normal file
View File

@@ -0,0 +1,40 @@
extends TextureRect
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
if $".".rotation < 360: $".".rotation = rotation + 0.1
else: $".".rotation = -360
pass
func showThrobber():
$"../AnimationPlayer".play("RESET")
$"../AnimationPlayer".play("Show_Throbber")
pass
func hideThrobber():
$"../AnimationPlayer".play("Hide_Throbber")
pass
func _on_button_pressed():
showThrobber()
await get_tree().create_timer(10).timeout
hideThrobber()
pass # Replace with function body.
func _on_show_throbber_2_pressed():
hideThrobber()
pass # Replace with function body.

428
GUI/loading.tscn Normal file
View File

@@ -0,0 +1,428 @@
[gd_scene load_steps=30 format=3 uid="uid://b608tqke81k8v"]
[ext_resource type="Script" path="res://ErrorPanel.gd" id="1_joc8o"]
[ext_resource type="Texture2D" uid="uid://5xvpmo6a3yoo" path="res://svg/Warning.svg" id="1_w7hak"]
[ext_resource type="Texture2D" uid="uid://ilik5t6splna" path="res://svg/Settings.svg" id="2_1x1hs"]
[ext_resource type="Texture2D" uid="uid://33jm85imdybv" path="res://svg/Throbber.svg" id="2_wvjlw"]
[ext_resource type="Texture2D" uid="uid://cr41ebynd12bw" path="res://svg/Trophys.svg" id="3_4tgp2"]
[ext_resource type="Script" path="res://Throbber.gd" id="3_l17jk"]
[ext_resource type="Texture2D" uid="uid://j7rt1ewft5qs" path="res://svg/User.svg" id="3_n26ui"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4t4qt"]
bg_color = Color(0.141176, 0.145098, 0.14902, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
corner_detail = 20
shadow_offset = Vector2(0, 1)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cg2pq"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_d5ykn"]
bg_color = Color(0.435294, 0.439216, 0.447059, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
corner_detail = 20
shadow_offset = Vector2(0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hh8sq"]
bg_color = Color(0.360525, 0.364431, 0.372244, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
corner_detail = 20
shadow_offset = Vector2(0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1elua"]
bg_color = Color(0.231373, 0.235294, 0.239216, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
corner_detail = 20
shadow_offset = Vector2(0, 1)
[sub_resource type="Gradient" id="Gradient_8qfvq"]
colors = PackedColorArray(0.109422, 0.117235, 0.125536, 1, 0.195895, 0.203708, 0.211521, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_mmhso"]
gradient = SubResource("Gradient_8qfvq")
fill_from = Vector2(1, 1)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_x56fa"]
texture = SubResource("GradientTexture2D_mmhso")
[sub_resource type="Theme" id="Theme_03exx"]
Button/styles/disabled = SubResource("StyleBoxFlat_4t4qt")
Button/styles/focus = SubResource("StyleBoxEmpty_cg2pq")
Button/styles/hover = SubResource("StyleBoxFlat_d5ykn")
Button/styles/normal = SubResource("StyleBoxFlat_hh8sq")
Button/styles/pressed = SubResource("StyleBoxFlat_1elua")
CheckButton/icons/checked = null
CheckButton/icons/unchecked = null
Panel/styles/panel = SubResource("StyleBoxTexture_x56fa")
[sub_resource type="Theme" id="Theme_hd0cq"]
CheckButton/icons/checked = null
[sub_resource type="Gradient" id="Gradient_dgi3k"]
colors = PackedColorArray(0.0596131, 0.0652199, 0.0739803, 1, 0.163357, 0.170321, 0.177272, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_p352m"]
gradient = SubResource("Gradient_dgi3k")
fill_from = Vector2(0, 0.978495)
fill_to = Vector2(0, 0)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_fp6ob"]
texture = SubResource("GradientTexture2D_p352m")
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mqokj"]
bg_color = Color(0.188235, 0.2, 0.211765, 1)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.45098, 0.45098, 0.45098, 1)
border_blend = true
corner_radius_top_left = 25
corner_radius_top_right = 25
corner_radius_bottom_right = 25
corner_radius_bottom_left = 25
shadow_size = 10
[sub_resource type="Gradient" id="Gradient_fu1yj"]
colors = PackedColorArray(0.105516, 0.113329, 0.125536, 1, 0.25421, 0.175074, 0.177013, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_y0xvk"]
gradient = SubResource("Gradient_fu1yj")
fill_from = Vector2(1, 1)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_l51jq"]
texture = SubResource("GradientTexture2D_y0xvk")
[sub_resource type="Animation" id="Animation_s5qm1"]
resource_name = "Show_Throbber"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Throbber:modulate")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(2.21914, 2.21914),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="Animation" id="Animation_b0age"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Throbber:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Panel/ErrorPanel:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Panel/ErrorPanel:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_ngvoo"]
resource_name = "Hide_Throbber"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Throbber:modulate")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(2.21914, 2.21914),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_syso0"]
resource_name = "Show_Error"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/ErrorPanel:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Panel/ErrorPanel:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_h86lq"]
_data = {
"Hide_Throbber": SubResource("Animation_ngvoo"),
"RESET": SubResource("Animation_b0age"),
"Show_Error": SubResource("Animation_syso0"),
"Show_Throbber": SubResource("Animation_s5qm1")
}
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = SubResource("Theme_03exx")
[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
theme = SubResource("Theme_hd0cq")
[node name="Panel" type="Panel" parent="Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="HSplitContainer" type="HSplitContainer" parent="Panel/Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Panel" type="Panel" parent="Panel/Panel/HSplitContainer"]
custom_minimum_size = Vector2(250, 0)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_fp6ob")
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Panel/HSplitContainer/Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/Panel/HSplitContainer/Panel/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="Account" type="Panel" parent="Panel/Panel/HSplitContainer/Panel/VBoxContainer"]
custom_minimum_size = Vector2(0, 80)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_mqokj")
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Panel/HSplitContainer/Panel/VBoxContainer/Account"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 14.0
offset_top = -1.0
offset_right = -18.0
offset_bottom = 2.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/Panel/HSplitContainer/Panel/VBoxContainer/Account/VBoxContainer"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="Panel/Panel/HSplitContainer/Panel/VBoxContainer/Account/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("3_n26ui")
expand_mode = 1
stretch_mode = 5
[node name="OptionButton" type="OptionButton" parent="Panel/Panel/HSplitContainer/Panel/VBoxContainer/Account/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
expand_icon = true
item_count = 4
selected = 1
popup/item_0/text = "Tiropit Accounts"
popup/item_0/id = 3
popup/item_1/text = "user 1"
popup/item_1/id = 1
popup/item_2/text = "Steam Accounts"
popup/item_2/id = 2
popup/item_3/text = "Kevin"
popup/item_3/id = 1
[node name="Button" type="Button" parent="Panel/Panel/HSplitContainer/Panel/VBoxContainer/Account/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
icon = ExtResource("2_1x1hs")
[node name="Button2" type="Button" parent="Panel/Panel/HSplitContainer/Panel/VBoxContainer/Account/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
icon = ExtResource("3_4tgp2")
[node name="ProgressBar" type="ProgressBar" parent="Panel/Panel/HSplitContainer/Panel/VBoxContainer/Account/VBoxContainer"]
layout_mode = 2
value = 24.38
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/Panel/HSplitContainer"]
layout_mode = 2
[node name="ErrorPanel" type="Panel" parent="Panel"]
modulate = Color(1, 1, 1, 0)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = SubResource("Theme_hd0cq")
theme_override_styles/panel = SubResource("StyleBoxTexture_l51jq")
script = ExtResource("1_joc8o")
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/ErrorPanel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Container" type="Container" parent="Panel/ErrorPanel/VBoxContainer"]
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="Panel/ErrorPanel/VBoxContainer"]
custom_minimum_size = Vector2(0, 161.305)
layout_mode = 2
size_flags_vertical = 0
texture = ExtResource("1_w7hak")
expand_mode = 3
stretch_mode = 5
[node name="Container2" type="Container" parent="Panel/ErrorPanel/VBoxContainer"]
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
size_flags_vertical = 0
[node name="Label" type="Label" parent="Panel/ErrorPanel/VBoxContainer"]
layout_mode = 2
text = "An Error Has Occured"
horizontal_alignment = 1
[node name="Throbber" type="TextureRect" parent="."]
custom_minimum_size = Vector2(0, 60)
layout_mode = 1
anchors_preset = -1
anchor_left = 1.01226
anchor_top = 1.02244
anchor_right = 1.01226
anchor_bottom = 1.02244
offset_left = -124.128
offset_top = -124.539
offset_right = -64.1284
offset_bottom = -64.5386
grow_horizontal = 0
grow_vertical = 0
rotation = 6.28319
pivot_offset = Vector2(30, 30)
size_flags_horizontal = 10
size_flags_vertical = 10
texture = ExtResource("2_wvjlw")
expand_mode = 3
script = ExtResource("3_l17jk")
metadata/_edit_use_anchors_ = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_h86lq")
}
[node name="Window" type="Window" parent="."]
position = Vector2i(0, 36)
size = Vector2i(500, 600)
[node name="Panel" type="Panel" parent="Window"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Window/Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Window/Panel/VBoxContainer"]
layout_mode = 2
[node name="ShowThrobber" type="Button" parent="Window/Panel/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "testTHR"
[node name="ShowThrobber2" type="Button" parent="Window/Panel/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "EndTHR"
[node name="ShowError" type="Button" parent="Window/Panel/VBoxContainer"]
layout_mode = 2
text = "Show Error Panel"
[connection signal="pressed" from="Window/Panel/VBoxContainer/HBoxContainer/ShowThrobber" to="Throbber" method="_on_button_pressed"]
[connection signal="pressed" from="Window/Panel/VBoxContainer/HBoxContainer/ShowThrobber2" to="Throbber" method="_on_show_throbber_2_pressed"]
[connection signal="pressed" from="Window/Panel/VBoxContainer/ShowError" to="Panel/ErrorPanel" method="_on_show_error_pressed"]

20
GUI/project.godot Normal file
View File

@@ -0,0 +1,20 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="Tiropit Launcher"
run/main_scene="res://loading.tscn"
config/features=PackedStringArray("4.2", "Forward Plus")
config/icon="res://svg/icon.svg"
[display]
window/subwindows/embed_subwindows=false

1
GUI/svg/Settings.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48px" viewBox="0 -960 960 960" width="48px" fill="#e3e3e3"><path d="M452-286h56l10-54q20-6 34-15t26-21l62 19 26-54-47-30q4-21 4-39t-4-39l47-30-26-54-62 19q-12-12-26-21t-34-15l-10-54h-56l-10 54q-20 6-34 15t-26 21l-62-19-26 54 47 30q-4 21-4 39t4 39l-47 30 26 54 62-19q12 12 26 21t34 15l10 54Zm28-109q-36 0-60.5-24.5T395-480q0-36 24.5-60.5T480-565q36 0 60.5 24.5T565-480q0 36-24.5 60.5T480-395ZM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18H180Zm0-60h600v-600H180v600Zm0-600v600-600Z"/></svg>

After

Width:  |  Height:  |  Size: 583 B

View File

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ilik5t6splna"
path="res://.godot/imported/Settings.svg-aac7abdc1412f4fca2ee10e9f8197b96.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://svg/Settings.svg"
dest_files=["res://.godot/imported/Settings.svg-aac7abdc1412f4fca2ee10e9f8197b96.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

8
GUI/svg/Throbber.svg Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="none" class="hds-flight-icon--animation-loading">
<g fill="#000000" fill-rule="evenodd" clip-rule="evenodd">
<path d="M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM0 8a8 8 0 1116 0A8 8 0 010 8z" opacity=".2"/>

After

Width:  |  Height:  |  Size: 543 B

View File

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://33jm85imdybv"
path="res://.godot/imported/Throbber.svg-d7a8a7e32f427294b2f28808be17521d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://svg/Throbber.svg"
dest_files=["res://.godot/imported/Throbber.svg-d7a8a7e32f427294b2f28808be17521d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

1
GUI/svg/Trophys.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48px" viewBox="0 -960 960 960" width="48px" fill="#e3e3e3"><path d="M298-120v-60h152v-148q-54-11-96-46.5T296-463q-74-8-125-60t-51-125v-44q0-25 17.5-42.5T180-752h104v-88h392v88h104q25 0 42.5 17.5T840-692v44q0 73-51 125t-125 60q-16 53-58 88.5T510-328v148h152v60H298Zm-14-406v-166H180v44q0 45 29.5 78.5T284-526Zm196 141q57 0 96.5-40t39.5-97v-258H344v258q0 57 39.5 97t96.5 40Zm196-141q45-10 74.5-43.5T780-648v-44H676v166Zm-196-57Z"/></svg>

After

Width:  |  Height:  |  Size: 483 B

View File

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cr41ebynd12bw"
path="res://.godot/imported/Trophys.svg-15f8dbc92eaae84c764edba7553bc13b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://svg/Trophys.svg"
dest_files=["res://.godot/imported/Trophys.svg-15f8dbc92eaae84c764edba7553bc13b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

4
GUI/svg/User.svg Normal file
View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM15 9C15 10.6569 13.6569 12 12 12C10.3431 12 9 10.6569 9 9C9 7.34315 10.3431 6 12 6C13.6569 6 15 7.34315 15 9ZM12 20.5C13.784 20.5 15.4397 19.9504 16.8069 19.0112C17.4108 18.5964 17.6688 17.8062 17.3178 17.1632C16.59 15.8303 15.0902 15 11.9999 15C8.90969 15 7.40997 15.8302 6.68214 17.1632C6.33105 17.8062 6.5891 18.5963 7.19296 19.0111C8.56018 19.9503 10.2159 20.5 12 20.5Z" fill="#1C274C"/>
</svg>

After

Width:  |  Height:  |  Size: 782 B

37
GUI/svg/User.svg.import Normal file
View File

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://j7rt1ewft5qs"
path="res://.godot/imported/User.svg-8d14732b500396fc0cbb7793502f83d5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://svg/User.svg"
dest_files=["res://.godot/imported/User.svg-8d14732b500396fc0cbb7793502f83d5.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

50
GUI/svg/Warning.svg Normal file
View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg
fill="#000000"
width="800px"
height="800px"
viewBox="0 0 512 512"
version="1.1"
id="svg1458"
sodipodi:docname="Warning.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
xml:space="preserve"
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:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"><defs
id="defs1462" /><sodipodi:namedview
id="namedview1460"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="1.10375"
inkscape:cx="377.34994"
inkscape:cy="395.46999"
inkscape:window-width="1920"
inkscape:window-height="1134"
inkscape:window-x="1440"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1458" /><title
id="title1454">ionicons-v5-k</title><metadata
id="metadata3181"><rdf:RDF><cc:Work
rdf:about=""><dc:title>ionicons-v5-k</dc:title></cc:Work></rdf:RDF></metadata><g
style="fill:#e23131;fill-opacity:1"
id="g6905"
transform="translate(-6.0878544,-7.2475367)"><path
fill-rule="evenodd"
d="M 253.61741,12.496777 434.39826,193.27763 c 16.66237,16.66237 16.66237,43.67741 0,60.33978 L 253.61741,434.39826 c -16.66237,16.66237 -43.67741,16.66237 -60.33978,0 L 12.496777,253.61741 c -16.6623694,-16.66237 -16.6623694,-43.67741 0,-60.33978 L 193.27763,12.496777 c 16.66237,-16.6623694 43.67741,-16.6623694 60.33978,0 z M 223.44752,282.11418 c -15.2381,0 -26.66667,11.264 -26.66667,26.28267 0,15.70133 11.08225,26.96533 26.66667,26.96533 15.23809,0 26.66666,-11.264 26.66666,-26.624 0,-15.36 -11.42857,-26.624 -26.66666,-26.624 z m 21.33333,-165.33333 h -42.66667 v 128 h 42.66667 z"
transform="translate(32.552,32.552)"
id="path6896"
style="fill:#e23131;fill-opacity:1" /></g></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://5xvpmo6a3yoo"
path="res://.godot/imported/Warning.svg-70bbaae63956a1633ed5782b5c6028ed.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://svg/Warning.svg"
dest_files=["res://.godot/imported/Warning.svg-70bbaae63956a1633ed5782b5c6028ed.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

1
GUI/svg/icon.svg Normal file
View File

@@ -0,0 +1 @@
<svg height="128" width="128" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="2" width="124" height="124" rx="14" fill="#363d52" stroke="#212532" stroke-width="4"/><g transform="scale(.101) translate(122 122)"><g fill="#fff"><path d="M105 673v33q407 354 814 0v-33z"/><path fill="#478cbf" d="m105 673 152 14q12 1 15 14l4 67 132 10 8-61q2-11 15-15h162q13 4 15 15l8 61 132-10 4-67q3-13 15-14l152-14V427q30-39 56-81-35-59-83-108-43 20-82 47-40-37-88-64 7-51 8-102-59-28-123-42-26 43-46 89-49-7-98 0-20-46-46-89-64 14-123 42 1 51 8 102-48 27-88 64-39-27-82-47-48 49-83 108 26 42 56 81zm0 33v39c0 276 813 276 813 0v-39l-134 12-5 69q-2 10-14 13l-162 11q-12 0-16-11l-10-65H447l-10 65q-4 11-16 11l-162-11q-12-3-14-13l-5-69z"/><path d="M483 600c3 34 55 34 58 0v-86c-3-34-55-34-58 0z"/><circle cx="725" cy="526" r="90"/><circle cx="299" cy="526" r="90"/></g><g fill="#414042"><circle cx="307" cy="532" r="60"/><circle cx="717" cy="532" r="60"/></g></g></svg>

After

Width:  |  Height:  |  Size: 950 B

37
GUI/svg/icon.svg.import Normal file
View File

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bf8dix406fsis"
path="res://.godot/imported/icon.svg-b25f6a603df3da61d09977cc64cb8f32.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://svg/icon.svg"
dest_files=["res://.godot/imported/icon.svg-b25f6a603df3da61d09977cc64cb8f32.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

57
GUI/svg/switchOFF.svg Normal file
View File

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg
fill="#000000"
width="800px"
height="800px"
viewBox="0 0 512 512"
version="1.1"
id="svg1458"
sodipodi:docname="switchOFF.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
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:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs1462" />
<sodipodi:namedview
id="namedview1460"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="1.10375"
inkscape:cx="541.33635"
inkscape:cy="334.76784"
inkscape:window-width="1920"
inkscape:window-height="1134"
inkscape:window-x="1440"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1458" />
<title
id="title1454">ionicons-v5-k</title>
<path
d="m 166.26386,174.74295 h 203.82563 c 54.90846,0 99.58209,44.67363 99.58209,99.58209 0,54.90846 -44.67363,99.58209 -99.58209,99.58209 H 166.26386 c -54.90846,0 -99.582093,-44.67363 -99.582093,-99.58209 0,-54.90846 44.673633,-99.58209 99.582093,-99.58209 z m 0,177.03483 c 31.32668,0 59.56894,-18.87086 71.55646,-47.81241 11.9875,-28.9415 5.35932,-62.25369 -16.79188,-84.40491 -22.15121,-22.1512 -55.4634,-28.77938 -84.40491,-16.79188 -28.94155,11.98752 -47.812413,40.22979 -47.812413,71.55646 0.0457,42.75701 34.695743,77.407 77.452743,77.45274 z"
id="path1456"
style="fill:#5c5c5c;fill-opacity:1;stroke-width:0.691542"
sodipodi:nodetypes="ssssssscssscc" />
<metadata
id="metadata3181">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:title>ionicons-v5-k</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,14 @@
[remap]
importer="image"
type="Image"
uid="uid://7dki3t6t65f3"
path="res://.godot/imported/switchOFF.svg-e91f8f0e748425937a55a08a448c43ec.image"
[deps]
source_file="res://svg/switchOFF.svg"
dest_files=["res://.godot/imported/switchOFF.svg-e91f8f0e748425937a55a08a448c43ec.image"]
[params]

57
GUI/svg/switchON.svg Normal file
View File

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg
fill="#000000"
width="800px"
height="800px"
viewBox="0 0 512 512"
version="1.1"
id="svg1458"
sodipodi:docname="switchON.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
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:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs1462" />
<sodipodi:namedview
id="namedview1460"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="1.10375"
inkscape:cx="541.33635"
inkscape:cy="334.76784"
inkscape:window-width="1920"
inkscape:window-height="1134"
inkscape:window-x="1440"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1458" />
<title
id="title1454">ionicons-v5-k</title>
<path
d="M 370.08949,174.74295 H 166.26386 c -54.90846,0 -99.582093,44.67363 -99.582093,99.58209 0,54.90846 44.673633,99.58209 99.582093,99.58209 h 203.82563 c 54.90846,0 99.58209,-44.67363 99.58209,-99.58209 0,-54.90846 -44.67363,-99.58209 -99.58209,-99.58209 z m 0,177.03483 c -31.32668,0 -59.56894,-18.87086 -71.55646,-47.81241 -11.9875,-28.9415 -5.35932,-62.25369 16.79188,-84.40491 22.15121,-22.1512 55.4634,-28.77938 84.40491,-16.79188 28.94155,11.98752 47.81241,40.22979 47.81241,71.55646 -0.0457,42.75701 -34.69574,77.407 -77.45274,77.45274 z"
id="path1456"
style="fill:#055fc5;fill-opacity:1;stroke-width:0.691542"
sodipodi:nodetypes="ssssssscssscc" />
<metadata
id="metadata3181">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:title>ionicons-v5-k</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,14 @@
[remap]
importer="image"
type="Image"
uid="uid://du6bf46c7h0ao"
path="res://.godot/imported/switchON.svg-73394c3394b3307efd9de9e29bef49df.image"
[deps]
source_file="res://svg/switchON.svg"
dest_files=["res://.godot/imported/switchON.svg-73394c3394b3307efd9de9e29bef49df.image"]
[params]