redesign begining

This commit is contained in:
Nordup 2024-11-18 04:38:33 +04:00
parent ae84731913
commit 0b61c43576
23 changed files with 560 additions and 535 deletions

View file

@ -14,9 +14,9 @@ dest_files=["res://.godot/imported/Inter-Bold.otf-fed3606970d0d1ec228f8cbb3326ce
Rendering=null
antialiasing=1
generate_mipmaps=false
generate_mipmaps=true
disable_embedded_bitmaps=true
multichannel_signed_distance_field=false
multichannel_signed_distance_field=true
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true

View file

@ -14,9 +14,9 @@ dest_files=["res://.godot/imported/Inter-BoldItalic.otf-fc2a2d62a96e28426d3bc0af
Rendering=null
antialiasing=1
generate_mipmaps=false
generate_mipmaps=true
disable_embedded_bitmaps=true
multichannel_signed_distance_field=false
multichannel_signed_distance_field=true
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true

View file

@ -14,9 +14,9 @@ dest_files=["res://.godot/imported/Inter-Italic.otf-a2ee68ef97ef9010eaa7272e19db
Rendering=null
antialiasing=1
generate_mipmaps=false
generate_mipmaps=true
disable_embedded_bitmaps=true
multichannel_signed_distance_field=false
multichannel_signed_distance_field=true
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true

View file

@ -14,9 +14,9 @@ dest_files=["res://.godot/imported/Inter-Regular.otf-f352c7616b1c2d50404f5bb3f48
Rendering=null
antialiasing=1
generate_mipmaps=false
generate_mipmaps=true
disable_embedded_bitmaps=true
multichannel_signed_distance_field=false
multichannel_signed_distance_field=true
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true

View file

@ -14,9 +14,9 @@ dest_files=["res://.godot/imported/Monospace.ttf-84d18bc2b9fbca262f60d9ae15d1ff1
Rendering=null
antialiasing=1
generate_mipmaps=false
generate_mipmaps=true
disable_embedded_bitmaps=true
multichannel_signed_distance_field=false
multichannel_signed_distance_field=true
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true

View file

@ -14,9 +14,9 @@ dest_files=["res://.godot/imported/MonospaceBold.ttf-85e6bb30ac22368fdf6bd988771
Rendering=null
antialiasing=1
generate_mipmaps=false
generate_mipmaps=true
disable_embedded_bitmaps=true
multichannel_signed_distance_field=false
multichannel_signed_distance_field=true
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
id="svg1"
width="64"
height="64"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
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"
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"
id="path2" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 770 B

View file

@ -0,0 +1,39 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c4dxov80fjvaq"
path.s3tc="res://.godot/imported/arrow-left.svg-ec7ffec9a23e7e531fec72a04db83a5c.s3tc.ctex"
path.etc2="res://.godot/imported/arrow-left.svg-ec7ffec9a23e7e531fec72a04db83a5c.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/new_textures/arrow-left.svg"
dest_files=["res://.godot/imported/arrow-left.svg-ec7ffec9a23e7e531fec72a04db83a5c.s3tc.ctex", "res://.godot/imported/arrow-left.svg-ec7ffec9a23e7e531fec72a04db83a5c.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=2.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before After
Before After

View file

@ -3,8 +3,8 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://bo1pkhkdscf6v"
path.s3tc="res://.godot/imported/arrow.svg-22e549dfdeb825a8f10906a5fd5fa9bb.s3tc.ctex"
path.etc2="res://.godot/imported/arrow.svg-22e549dfdeb825a8f10906a5fd5fa9bb.etc2.ctex"
path.s3tc="res://.godot/imported/arrow-right.svg-3933a822bf7a3f5cf855cc96699d0030.s3tc.ctex"
path.etc2="res://.godot/imported/arrow-right.svg-3933a822bf7a3f5cf855cc96699d0030.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
@ -12,8 +12,8 @@ metadata={
[deps]
source_file="res://assets/new_textures/arrow.svg"
dest_files=["res://.godot/imported/arrow.svg-22e549dfdeb825a8f10906a5fd5fa9bb.s3tc.ctex", "res://.godot/imported/arrow.svg-22e549dfdeb825a8f10906a5fd5fa9bb.etc2.ctex"]
source_file="res://assets/new_textures/arrow-right.svg"
dest_files=["res://.godot/imported/arrow-right.svg-3933a822bf7a3f5cf855cc96699d0030.s3tc.ctex", "res://.godot/imported/arrow-right.svg-3933a822bf7a3f5cf855cc96699d0030.etc2.ctex"]
[params]

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
id="svg1"
width="64"
height="64"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="g1"
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"
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"
d="M 51.79899,12.20101 12.20101,51.79899"
id="path2" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 821 B

View file

@ -0,0 +1,39 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cli88m5w3op6l"
path.s3tc="res://.godot/imported/close-tab.svg-081e0c7b6a2589a52623872d7ed88949.s3tc.ctex"
path.etc2="res://.godot/imported/close-tab.svg-081e0c7b6a2589a52623872d7ed88949.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/new_textures/close-tab.svg"
dest_files=["res://.godot/imported/close-tab.svg-081e0c7b6a2589a52623872d7ed88949.s3tc.ctex", "res://.godot/imported/close-tab.svg-081e0c7b6a2589a52623872d7ed88949.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=2.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View file

@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="256"
height="256"
viewBox="0 0 67.733334 67.733337"
version="1.1"
id="svg5"
inkscape:export-filename="icon_256.png"
inkscape:export-xdpi="25.4"
inkscape:export-ydpi="25.4"
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
sodipodi:docname="icon-round-2.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="false"
inkscape:document-units="mm"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="0.50000003"
inkscape:cx="189.99999"
inkscape:cy="-80.999996"
inkscape:window-width="1920"
inkscape:window-height="1011"
inkscape:window-x="0"
inkscape:window-y="32"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
inkscape:showpageshadow="0"
inkscape:deskcolor="#505050"
showborder="true" />
<defs
id="defs2">
<linearGradient
id="linearGradient1"
inkscape:collect="always">
<stop
style="stop-color:#9e9efa;stop-opacity:1;"
offset="0"
id="stop1" />
<stop
style="stop-color:#3400ae;stop-opacity:1;"
offset="1"
id="stop2" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient1"
id="linearGradient2"
x1="10.522916"
y1="12.786757"
x2="52.949112"
y2="55.212955"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1058338,0,0,1.1058338,-3.3587443,-3.5983352)" />
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(2.2638371)">
<circle
style="display:inline;fill:url(#linearGradient2);fill-opacity:1;stroke:#000080;stroke-width:0;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
id="path1"
cx="31.736015"
cy="33.999855"
r="33.174854" />
<circle
style="display:none;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#000080;stroke-width:0;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
id="circle2"
cx="31.736015"
cy="33.999855"
r="33.174854" />
<circle
style="display:none;fill:#ffffff;fill-opacity:1;stroke:#000080;stroke-width:0;stroke-linecap:round;stroke-dasharray:none"
id="path2"
cx="31.736198"
cy="34.000034"
r="2.4857001" />
<path
style="display:none;fill:none;stroke:#ffffff;stroke-width:1.52622;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-dashoffset:40.2195;stroke-opacity:1"
d="m 28.446838,37.694758 c 0,0 0,-5.144147 0,-5.958098 0,-0.813953 0.247336,-3.723813 3.289366,-3.723813 3.054974,0 3.289367,2.90924 3.289367,3.723813 v 5.958098"
id="path2550"
sodipodi:nodetypes="csscc"
inkscape:label="small" />
<path
style="display:inline;fill:none;stroke:#ffffff;stroke-width:3.51213;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-dashoffset:40.2195;stroke-opacity:1"
d="m 24.576552,44.007247 c 0,0 0,-11.233378 0,-13.01082 0,-1.777445 0.538349,-8.131764 7.159632,-8.131764 6.649449,0 7.159632,6.352963 7.159632,8.131764 v 13.01082"
id="path2547"
sodipodi:nodetypes="csscc"
inkscape:label="medium" />
<path
style="display:inline;fill:none;stroke:#ffffff;stroke-width:5.75033;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-dashoffset:40.2195;stroke-opacity:1"
d="m 16.365089,56.116692 c 0,0 0,-23.73687 0,-27.49273 0,-3.75586 1.155789,-17.182957 15.371091,-17.182957 14.275767,0 15.371089,13.424236 15.371089,17.182957 v 27.49273"
id="path1246"
sodipodi:nodetypes="csscc"
inkscape:label="big" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

View file

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bw1cffhlt112i"
path="res://.godot/imported/icon-round.svg-14ecefe0ad7176f64ce7c5eb12e7883d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/new_textures/icon-round.svg"
dest_files=["res://.godot/imported/icon-round.svg-14ecefe0ad7176f64ce7c5eb12e7883d.ctex"]
[params]
compress/mode=0
compress/high_quality=true
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=2.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,8 @@
[gd_resource type="LabelSettings" load_steps=2 format=3 uid="uid://bo2334w4lf3ug"]
[ext_resource type="FontFile" uid="uid://do40418waa8w3" path="res://assets/fonts/Inter-Regular.otf" id="1_lfwid"]
[resource]
font = ExtResource("1_lfwid")
font_size = 14
font_color = Color(0.831373, 0.831373, 0.831373, 1)

View file

@ -0,0 +1,21 @@
[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"]

View file

@ -23,16 +23,16 @@
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hyysn"]
content_margin_left = 40.0
content_margin_right = 40.0
bg_color = Color(0.207843, 0.164706, 0.47451, 1)
bg_color = Color(0.0862745, 0.0901961, 0.117647, 1)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.176471, 0.14902, 0.352941, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
border_color = Color(0.0823529, 0.0823529, 0.105882, 1)
corner_radius_top_left = 15
corner_radius_top_right = 15
corner_radius_bottom_right = 15
corner_radius_bottom_left = 15
corner_detail = 10
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mh73y"]
@ -50,25 +50,22 @@ corner_detail = 10
[node name="Search" type="LineEdit" node_paths=PackedStringArray("prompt_panel")]
auto_translate_mode = 2
custom_minimum_size = Vector2(1000, 40)
anchors_preset = 8
anchor_left = 0.5
anchors_preset = 14
anchor_top = 0.5
anchor_right = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -500.0
offset_top = -20.0
offset_right = 500.0
offset_bottom = 20.0
offset_top = -16.5
offset_bottom = 15.5
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
localize_numeral_system = false
focus_next = NodePath("Prompt")
focus_mode = 1
theme_override_colors/font_placeholder_color = Color(1, 1, 1, 0.498039)
theme_override_colors/font_color = Color(1, 1, 1, 0.8)
theme_override_colors/font_placeholder_color = Color(0.431373, 0.435294, 0.494118, 1)
theme_override_colors/font_color = Color(0.831373, 0.831373, 0.831373, 1)
theme_override_fonts/font = ExtResource("1_cimak")
theme_override_font_sizes/font_size = 20
theme_override_font_sizes/font_size = 14
theme_override_styles/focus = SubResource("StyleBoxFlat_hyysn")
theme_override_styles/normal = SubResource("StyleBoxFlat_hyysn")
placeholder_text = "Search or enter address"
@ -77,7 +74,7 @@ gate_events = ExtResource("2_13io8")
prompt_panel = NodePath("Prompt/Panel")
[node name="SearchStatus" type="Control" parent="." node_paths=PackedStringArray("search_line_edit", "search", "downloading", "success", "error")]
self_modulate = Color(1, 1, 1, 0.8)
self_modulate = Color(0.831373, 0.831373, 0.831373, 1)
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5

View file

@ -0,0 +1,83 @@
[gd_scene load_steps=7 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"]
[ext_resource type="LabelSettings" uid="uid://bo2334w4lf3ug" path="res://assets/styles/text.tres" id="2_gll4d"]
[ext_resource type="Texture2D" uid="uid://cli88m5w3op6l" path="res://assets/new_textures/close-tab.svg" id="2_y6odh"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_33kce"]
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_id0w2"]
[node name="Tab" type="Control"]
custom_minimum_size = Vector2(180, 32)
layout_mode = 3
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_top = -16.0
offset_right = 180.0
offset_bottom = 16.0
grow_vertical = 2
[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_override_styles/panel = ExtResource("1_8hbf0")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 7
theme_override_constants/margin_right = 10
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 6
[node name="Panel" type="Panel" parent="MarginContainer/HBoxContainer"]
clip_children = 1
custom_minimum_size = Vector2(19, 19)
layout_mode = 2
size_flags_vertical = 4
theme_override_styles/panel = SubResource("StyleBoxFlat_33kce")
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/Panel"]
texture_filter = 6
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 4
texture = ExtResource("1_jc4ra")
expand_mode = 1
stretch_mode = 4
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "New Tab"
label_settings = ExtResource("2_gll4d")
[node name="Button" type="Button" parent="MarginContainer/HBoxContainer"]
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/normal = SubResource("StyleBoxEmpty_id0w2")
icon = ExtResource("2_y6odh")
expand_icon = true

View file

@ -1,24 +1,36 @@
[gd_scene load_steps=20 format=3 uid="uid://5btb7nvgmfhl"]
[gd_scene load_steps=26 format=3 uid="uid://5btb7nvgmfhl"]
[ext_resource type="Script" path="res://scripts/ui/menu/menu_navigation.gd" id="1_7anvm"]
[ext_resource type="Texture2D" uid="uid://8wvea7j0v0rx" path="res://assets/textures/Reload.svg" id="1_d6dhb"]
[ext_resource type="Script" path="res://scripts/ui/menu/menu.gd" id="1_o6vga"]
[ext_resource type="Texture2D" uid="uid://byvigfpu44dnu" path="res://assets/textures/arrow.svg" id="1_wkgtd"]
[ext_resource type="Texture2D" uid="uid://dystd8vvbqwo2" path="res://assets/textures/exit.svg" id="3_1a6fk"]
[ext_resource type="PackedScene" uid="uid://dkfy3rcfbxqc6" path="res://scenes/components/tab.tscn" id="3_atekt"]
[ext_resource type="Resource" uid="uid://b1xvdym0qh6td" path="res://resources/gate_events.res" id="3_m632k"]
[ext_resource type="Resource" uid="uid://bqgikyax6jfqa" path="res://resources/history.tres" id="3_wi554"]
[ext_resource type="Texture2D" uid="uid://bmju020v33vrv" path="res://assets/textures/home.svg" id="4_5npup"]
[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="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"]
[ext_resource type="Texture2D" uid="uid://csjqc48oqb0kc" path="res://assets/new_textures/maximaze.svg" id="8_yoyw7"]
[ext_resource type="Script" path="res://scripts/ui/menu/window_buttons.gd" id="10_0d0if"]
[ext_resource type="Texture2D" uid="uid://ba0x5hoq2ihbh" path="res://assets/textures/minimize.svg" id="11_36jpg"]
[ext_resource type="Texture2D" uid="uid://c4dxov80fjvaq" path="res://assets/new_textures/arrow-left.svg" id="12_5rx3j"]
[ext_resource type="Texture2D" uid="uid://bo1pkhkdscf6v" path="res://assets/new_textures/arrow-right.svg" id="12_nihkw"]
[ext_resource type="Texture2D" uid="uid://dapysvexbecnd" path="res://assets/new_textures/reload.svg" id="13_hwfo2"]
[ext_resource type="Texture2D" uid="uid://yn1l3ybpr7qv" path="res://assets/new_textures/menu.svg" id="13_ncruo"]
[ext_resource type="Texture2D" uid="uid://mgtj316adcja" path="res://assets/new_textures/home.svg" id="14_gbcfo"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pveoh"]
bg_color = Color(0.156863, 0.156863, 0.156863, 1)
bg_color = Color(0.0980392, 0.101961, 0.133333, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_re7ca"]
bg_color = Color(0.231373, 0.184314, 0.541176, 1)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cjjfu"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_4myyc"]
content_margin_top = 0.0
content_margin_bottom = 0.0
color = Color(0.12549, 0.133333, 0.172549, 1)
grow_begin = 0.0
grow_end = 0.0
thickness = 2
[sub_resource type="Animation" id="Animation_ydijj"]
length = 0.001
@ -32,12 +44,12 @@ tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, 60)]
"values": [Vector2(0, 101)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("VBoxContainer/Top/MenuNavigation:modulate")
tracks/1/path = NodePath("VBoxContainer/Top:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
@ -46,18 +58,6 @@ tracks/1/keys = {
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("VBoxContainer/Top/WindowButtons: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, 1)]
}
[sub_resource type="Animation" id="Animation_b8hjg"]
resource_name = "fullscreen"
@ -73,12 +73,12 @@ tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.25),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector2(0, 60), Vector2(0, 60), Vector2(0, 0)]
"values": [Vector2(0, 101), Vector2(0, 101), Vector2(0, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("VBoxContainer/Top/MenuNavigation:modulate")
tracks/1/path = NodePath("VBoxContainer/Top:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
@ -87,18 +87,6 @@ tracks/1/keys = {
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("VBoxContainer/Top/WindowButtons:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_yny1j"]
resource_name = "initial"
@ -114,12 +102,12 @@ tracks/0/keys = {
"times": PackedFloat32Array(0, 0.15, 0.25),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(0, 60), Vector2(0, 60)]
"values": [Vector2(0, 0), Vector2(0, 101), Vector2(0, 101)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("VBoxContainer/Top/MenuNavigation:modulate")
tracks/1/path = NodePath("VBoxContainer/Top:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
@ -128,18 +116,6 @@ tracks/1/keys = {
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("VBoxContainer/Top/WindowButtons:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.15, 0.25),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7jj8o"]
_data = {
@ -175,484 +151,137 @@ grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 0
[node name="Top" type="Control" parent="VBoxContainer"]
custom_minimum_size = Vector2(0, 60)
[node name="Top" type="MarginContainer" parent="VBoxContainer"]
custom_minimum_size = Vector2(0, 101)
layout_mode = 2
theme_override_constants/margin_left = 12
theme_override_constants/margin_right = 12
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/Top"]
layout_mode = 2
theme_override_constants/separation = 0
[node name="Tabs" type="Control" parent="VBoxContainer/Top/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Top/VBoxContainer/Tabs"]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_top = -16.0
offset_bottom = 16.0
grow_vertical = 2
theme_override_constants/separation = 7
[node name="Tab" parent="VBoxContainer/Top/VBoxContainer/Tabs/HBoxContainer" instance=ExtResource("3_atekt")]
layout_mode = 2
[node name="Background" type="Panel" parent="VBoxContainer/Top"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_re7ca")
[node name="MenuNavigation" type="HBoxContainer" parent="VBoxContainer/Top" node_paths=PackedStringArray("go_back", "go_forw", "reload", "home")]
layout_mode = 1
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -502.0
offset_right = 502.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 20
alignment = 1
script = ExtResource("1_7anvm")
gate_events = ExtResource("3_m632k")
history = ExtResource("3_wi554")
go_back = NodePath("GoBack")
go_forw = NodePath("GoForward")
reload = NodePath("Reload")
home = NodePath("Home")
[node name="GoBack" type="BaseButton" parent="VBoxContainer/Top/MenuNavigation"]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
physics_interpolation_mode = 2
auto_translate_mode = 1
editor_description = ""
visible = true
modulate = Color(1, 1, 1, 1)
self_modulate = Color(1, 1, 1, 1)
show_behind_parent = false
top_level = false
clip_children = 0
light_mask = 1
visibility_layer = 1
z_index = 0
z_as_relative = true
y_sort_enabled = false
texture_filter = 0
texture_repeat = 0
material = null
use_parent_material = false
clip_contents = false
custom_minimum_size = Vector2(20, 20)
layout_direction = 0
[node name="Button" type="Button" parent="VBoxContainer/Top/VBoxContainer/Tabs/HBoxContainer"]
custom_minimum_size = Vector2(14, 14)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 4
size_flags_stretch_ratio = 1.0
localize_numeral_system = true
tooltip_text = ""
focus_neighbor_left = NodePath("")
focus_neighbor_top = NodePath("")
focus_neighbor_right = NodePath("")
focus_neighbor_bottom = NodePath("")
focus_next = NodePath("")
focus_previous = NodePath("")
focus_mode = 0
mouse_filter = 0
mouse_force_pass_scroll_events = true
mouse_default_cursor_shape = 2
theme = null
theme_type_variation = &""
disabled = false
toggle_mode = false
button_pressed = false
action_mode = 1
button_mask = 1
keep_pressed_outside = false
button_group = null
shortcut = null
shortcut_feedback = true
shortcut_in_tooltip = true
script = null
theme_override_colors/icon_normal_color = Color(0.831373, 0.831373, 0.831373, 1)
theme_override_styles/normal = SubResource("StyleBoxEmpty_cjjfu")
icon = ExtResource("4_rdyyc")
expand_icon = true
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/Top/MenuNavigation/GoBack"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
rotation = 3.14159
pivot_offset = Vector2(10, 10)
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("1_wkgtd")
expand_mode = 1
[node name="GoForward" type="BaseButton" parent="VBoxContainer/Top/MenuNavigation"]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
physics_interpolation_mode = 2
auto_translate_mode = 1
editor_description = ""
visible = true
modulate = Color(1, 1, 1, 1)
self_modulate = Color(1, 1, 1, 1)
show_behind_parent = false
top_level = false
clip_children = 0
light_mask = 1
visibility_layer = 1
z_index = 0
z_as_relative = true
y_sort_enabled = false
texture_filter = 0
texture_repeat = 0
material = null
use_parent_material = false
clip_contents = false
custom_minimum_size = Vector2(20, 20)
layout_direction = 0
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 4
size_flags_stretch_ratio = 1.0
localize_numeral_system = true
tooltip_text = ""
focus_neighbor_left = NodePath("")
focus_neighbor_top = NodePath("")
focus_neighbor_right = NodePath("")
focus_neighbor_bottom = NodePath("")
focus_next = NodePath("")
focus_previous = NodePath("")
focus_mode = 0
mouse_filter = 0
mouse_force_pass_scroll_events = true
mouse_default_cursor_shape = 2
theme = null
theme_type_variation = &""
disabled = false
toggle_mode = false
button_pressed = false
action_mode = 1
button_mask = 1
keep_pressed_outside = false
button_group = null
shortcut = null
shortcut_feedback = true
shortcut_in_tooltip = true
script = null
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/Top/MenuNavigation/GoForward"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("1_wkgtd")
expand_mode = 1
[node name="Reload" type="BaseButton" parent="VBoxContainer/Top/MenuNavigation"]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
physics_interpolation_mode = 2
auto_translate_mode = 1
editor_description = ""
visible = true
modulate = Color(1, 1, 1, 1)
self_modulate = Color(1, 1, 1, 1)
show_behind_parent = false
top_level = false
clip_children = 0
light_mask = 1
visibility_layer = 1
z_index = 0
z_as_relative = true
y_sort_enabled = false
texture_filter = 0
texture_repeat = 0
material = null
use_parent_material = false
clip_contents = false
custom_minimum_size = Vector2(20, 20)
layout_direction = 0
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 4
size_flags_stretch_ratio = 1.0
localize_numeral_system = true
tooltip_text = ""
focus_neighbor_left = NodePath("")
focus_neighbor_top = NodePath("")
focus_neighbor_right = NodePath("")
focus_neighbor_bottom = NodePath("")
focus_next = NodePath("")
focus_previous = NodePath("")
focus_mode = 0
mouse_filter = 0
mouse_force_pass_scroll_events = true
mouse_default_cursor_shape = 2
theme = null
theme_type_variation = &""
disabled = false
toggle_mode = false
button_pressed = false
action_mode = 1
button_mask = 1
keep_pressed_outside = false
button_group = null
shortcut = null
shortcut_feedback = true
shortcut_in_tooltip = true
script = null
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/Top/MenuNavigation/Reload"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("1_d6dhb")
expand_mode = 1
[node name="Search" parent="VBoxContainer/Top/MenuNavigation" instance=ExtResource("5_li2do")]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="Home" type="BaseButton" parent="VBoxContainer/Top/MenuNavigation"]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
physics_interpolation_mode = 2
auto_translate_mode = 1
editor_description = ""
visible = true
modulate = Color(1, 1, 1, 1)
self_modulate = Color(1, 1, 1, 1)
show_behind_parent = false
top_level = false
clip_children = 0
light_mask = 1
visibility_layer = 1
z_index = 0
z_as_relative = true
y_sort_enabled = false
texture_filter = 0
texture_repeat = 0
material = null
use_parent_material = false
clip_contents = false
custom_minimum_size = Vector2(25, 25)
layout_direction = 0
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 4
size_flags_stretch_ratio = 1.0
localize_numeral_system = true
tooltip_text = ""
focus_neighbor_left = NodePath("")
focus_neighbor_top = NodePath("")
focus_neighbor_right = NodePath("")
focus_neighbor_bottom = NodePath("")
focus_next = NodePath("")
focus_previous = NodePath("")
focus_mode = 0
mouse_filter = 0
mouse_force_pass_scroll_events = true
mouse_default_cursor_shape = 2
theme = null
theme_type_variation = &""
disabled = false
toggle_mode = false
button_pressed = false
action_mode = 1
button_mask = 1
keep_pressed_outside = false
button_group = null
shortcut = null
shortcut_feedback = true
shortcut_in_tooltip = true
script = null
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/Top/MenuNavigation/Home"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("4_5npup")
expand_mode = 1
[node name="WindowButtons" type="HBoxContainer" parent="VBoxContainer/Top" node_paths=PackedStringArray("minimize", "exit")]
[node name="WindowButtons" type="HBoxContainer" parent="VBoxContainer/Top/VBoxContainer/Tabs" node_paths=PackedStringArray("minimize", "maximize", "exit")]
layout_mode = 1
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -40.0
offset_left = -20.0
offset_top = -10.0
offset_right = -20.0
offset_bottom = 10.0
grow_horizontal = 0
grow_vertical = 2
theme_override_constants/separation = 20
theme_override_constants/separation = 2
alignment = 2
script = ExtResource("10_0d0if")
minimize = NodePath("Minimize")
exit = NodePath("Exit")
maximize = NodePath("Maximize")
exit = NodePath("Close")
[node name="Minimize" type="BaseButton" parent="VBoxContainer/Top/WindowButtons"]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
physics_interpolation_mode = 2
auto_translate_mode = 1
editor_description = ""
visible = false
modulate = Color(1, 1, 1, 1)
self_modulate = Color(1, 1, 1, 1)
show_behind_parent = false
top_level = false
clip_children = 0
light_mask = 1
visibility_layer = 1
z_index = 0
z_as_relative = true
y_sort_enabled = false
texture_filter = 0
texture_repeat = 0
material = null
use_parent_material = false
clip_contents = false
custom_minimum_size = Vector2(20, 20)
layout_direction = 0
[node name="Minimize" parent="VBoxContainer/Top/VBoxContainer/Tabs/WindowButtons" instance=ExtResource("6_gxcmo")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
size_flags_stretch_ratio = 1.0
localize_numeral_system = true
tooltip_text = ""
focus_neighbor_left = NodePath("")
focus_neighbor_top = NodePath("")
focus_neighbor_right = NodePath("")
focus_neighbor_bottom = NodePath("")
focus_next = NodePath("")
focus_previous = NodePath("")
focus_mode = 0
mouse_filter = 0
mouse_force_pass_scroll_events = true
mouse_default_cursor_shape = 2
theme = null
theme_type_variation = &""
disabled = false
toggle_mode = false
button_pressed = false
action_mode = 1
button_mask = 1
keep_pressed_outside = false
button_group = null
shortcut = null
shortcut_feedback = true
shortcut_in_tooltip = true
script = null
disabled = true
icon = ExtResource("7_ab04l")
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/Top/WindowButtons/Minimize"]
[node name="Maximize" parent="VBoxContainer/Top/VBoxContainer/Tabs/WindowButtons" instance=ExtResource("6_gxcmo")]
layout_mode = 2
disabled = true
icon = ExtResource("8_yoyw7")
[node name="Close" parent="VBoxContainer/Top/VBoxContainer/Tabs/WindowButtons" instance=ExtResource("6_gxcmo")]
layout_mode = 2
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/Top/VBoxContainer"]
custom_minimum_size = Vector2(0, 1)
layout_mode = 2
theme_override_constants/separation = 0
theme_override_styles/separator = SubResource("StyleBoxLine_4myyc")
[node name="Navigation" type="Control" parent="VBoxContainer/Top/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="MenuNavigation" type="HBoxContainer" parent="VBoxContainer/Top/VBoxContainer/Navigation" node_paths=PackedStringArray("go_back", "go_forw", "reload", "home")]
layout_mode = 1
anchors_preset = 15
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 1.0
anchor_bottom = 0.5
offset_top = -16.5
offset_bottom = 15.5
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("11_36jpg")
expand_mode = 1
theme_override_constants/separation = 12
alignment = 1
script = ExtResource("1_7anvm")
gate_events = ExtResource("3_m632k")
history = ExtResource("3_wi554")
go_back = NodePath("HBoxContainer/Back")
go_forw = NodePath("HBoxContainer/Forward")
reload = NodePath("HBoxContainer/Reload")
home = NodePath("HBoxContainer/Home")
[node name="Exit" type="BaseButton" parent="VBoxContainer/Top/WindowButtons"]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
physics_interpolation_mode = 2
auto_translate_mode = 1
editor_description = ""
visible = true
modulate = Color(1, 1, 1, 1)
self_modulate = Color(1, 1, 1, 1)
show_behind_parent = false
top_level = false
clip_children = 0
light_mask = 1
visibility_layer = 1
z_index = 0
z_as_relative = true
y_sort_enabled = false
texture_filter = 0
texture_repeat = 0
material = null
use_parent_material = false
clip_contents = false
custom_minimum_size = Vector2(20, 20)
layout_direction = 0
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Top/VBoxContainer/Navigation/MenuNavigation"]
layout_mode = 2
size_flags_horizontal = 1
size_flags_vertical = 1
size_flags_stretch_ratio = 1.0
localize_numeral_system = true
tooltip_text = ""
focus_neighbor_left = NodePath("")
focus_neighbor_top = NodePath("")
focus_neighbor_right = NodePath("")
focus_neighbor_bottom = NodePath("")
focus_next = NodePath("")
focus_previous = NodePath("")
focus_mode = 0
mouse_filter = 0
mouse_force_pass_scroll_events = true
mouse_default_cursor_shape = 2
theme = null
theme_type_variation = &""
disabled = false
toggle_mode = false
button_pressed = false
action_mode = 1
button_mask = 1
keep_pressed_outside = false
button_group = null
shortcut = null
shortcut_feedback = true
shortcut_in_tooltip = true
script = null
theme_override_constants/separation = 2
alignment = 2
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/Top/WindowButtons/Exit"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("3_1a6fk")
expand_mode = 1
[node name="Back" parent="VBoxContainer/Top/VBoxContainer/Navigation/MenuNavigation/HBoxContainer" instance=ExtResource("6_gxcmo")]
layout_mode = 2
icon = ExtResource("12_5rx3j")
[node name="Forward" parent="VBoxContainer/Top/VBoxContainer/Navigation/MenuNavigation/HBoxContainer" instance=ExtResource("6_gxcmo")]
layout_mode = 2
icon = ExtResource("12_nihkw")
[node name="Reload" parent="VBoxContainer/Top/VBoxContainer/Navigation/MenuNavigation/HBoxContainer" instance=ExtResource("6_gxcmo")]
layout_mode = 2
icon = ExtResource("13_hwfo2")
[node name="Home" parent="VBoxContainer/Top/VBoxContainer/Navigation/MenuNavigation/HBoxContainer" instance=ExtResource("6_gxcmo")]
layout_mode = 2
icon = ExtResource("14_gbcfo")
[node name="Search" parent="VBoxContainer/Top/VBoxContainer/Navigation/MenuNavigation" instance=ExtResource("5_li2do")]
layout_mode = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/Top/VBoxContainer/Navigation/MenuNavigation"]
layout_mode = 2
theme_override_constants/separation = 2
alignment = 2
[node name="Options" parent="VBoxContainer/Top/VBoxContainer/Navigation/MenuNavigation/HBoxContainer2" instance=ExtResource("6_gxcmo")]
layout_mode = 2
disabled = true
icon = ExtResource("13_ncruo")
[node name="Body" type="Control" parent="VBoxContainer"]
layout_mode = 2

View file

@ -1,11 +1,13 @@
extends Control
@export var minimize: BaseButton
@export var maximize: BaseButton
@export var exit: BaseButton
func _ready() -> void:
minimize.pressed.connect(on_minimize)
maximize.pressed.connect(on_maximize)
exit.pressed.connect(on_exit)
@ -13,5 +15,9 @@ func on_minimize() -> void:
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_MINIMIZED)
func on_maximize() -> void:
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_MAXIMIZED)
func on_exit() -> void:
get_tree().quit()