diff --git a/app/assets/fonts/Inter-Bold.otf.import b/app/assets/fonts/Inter-Bold.otf.import index ad54dc3..2acb0dd 100644 --- a/app/assets/fonts/Inter-Bold.otf.import +++ b/app/assets/fonts/Inter-Bold.otf.import @@ -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 diff --git a/app/assets/fonts/Inter-BoldItalic.otf.import b/app/assets/fonts/Inter-BoldItalic.otf.import index c56b53d..d9a4f0e 100644 --- a/app/assets/fonts/Inter-BoldItalic.otf.import +++ b/app/assets/fonts/Inter-BoldItalic.otf.import @@ -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 diff --git a/app/assets/fonts/Inter-Italic.otf.import b/app/assets/fonts/Inter-Italic.otf.import index 7da89e5..d890a52 100644 --- a/app/assets/fonts/Inter-Italic.otf.import +++ b/app/assets/fonts/Inter-Italic.otf.import @@ -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 diff --git a/app/assets/fonts/Inter-Regular.otf.import b/app/assets/fonts/Inter-Regular.otf.import index bd860b2..79ca033 100644 --- a/app/assets/fonts/Inter-Regular.otf.import +++ b/app/assets/fonts/Inter-Regular.otf.import @@ -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 diff --git a/app/assets/fonts/Monospace.ttf.import b/app/assets/fonts/Monospace.ttf.import index d0bd784..5308139 100644 --- a/app/assets/fonts/Monospace.ttf.import +++ b/app/assets/fonts/Monospace.ttf.import @@ -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 diff --git a/app/assets/fonts/MonospaceBold.ttf.import b/app/assets/fonts/MonospaceBold.ttf.import index 987d9fb..969b1f0 100644 --- a/app/assets/fonts/MonospaceBold.ttf.import +++ b/app/assets/fonts/MonospaceBold.ttf.import @@ -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 diff --git a/app/assets/new_textures/arrow-left.svg b/app/assets/new_textures/arrow-left.svg new file mode 100644 index 0000000..0464cf5 --- /dev/null +++ b/app/assets/new_textures/arrow-left.svg @@ -0,0 +1,26 @@ + + + + + + + + + + diff --git a/app/assets/new_textures/arrow-left.svg.import b/app/assets/new_textures/arrow-left.svg.import new file mode 100644 index 0000000..9913d17 --- /dev/null +++ b/app/assets/new_textures/arrow-left.svg.import @@ -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 diff --git a/app/assets/new_textures/arrow.svg b/app/assets/new_textures/arrow-right.svg similarity index 100% rename from app/assets/new_textures/arrow.svg rename to app/assets/new_textures/arrow-right.svg diff --git a/app/assets/new_textures/arrow.svg.import b/app/assets/new_textures/arrow-right.svg.import similarity index 62% rename from app/assets/new_textures/arrow.svg.import rename to app/assets/new_textures/arrow-right.svg.import index f57121a..fdeb732 100644 --- a/app/assets/new_textures/arrow.svg.import +++ b/app/assets/new_textures/arrow-right.svg.import @@ -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] diff --git a/app/assets/new_textures/close-tab.svg b/app/assets/new_textures/close-tab.svg new file mode 100644 index 0000000..b8fba36 --- /dev/null +++ b/app/assets/new_textures/close-tab.svg @@ -0,0 +1,27 @@ + + + + + + + + + + diff --git a/app/assets/new_textures/close-tab.svg.import b/app/assets/new_textures/close-tab.svg.import new file mode 100644 index 0000000..f3860ef --- /dev/null +++ b/app/assets/new_textures/close-tab.svg.import @@ -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 diff --git a/app/assets/new_textures/icon-round.svg b/app/assets/new_textures/icon-round.svg new file mode 100644 index 0000000..8ca81ce --- /dev/null +++ b/app/assets/new_textures/icon-round.svg @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/app/assets/new_textures/icon-round.svg.import b/app/assets/new_textures/icon-round.svg.import new file mode 100644 index 0000000..fa301c0 --- /dev/null +++ b/app/assets/new_textures/icon-round.svg.import @@ -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 diff --git a/app/assets/styles/button.stylebox b/app/assets/styles/button.stylebox new file mode 100644 index 0000000..81f9314 Binary files /dev/null and b/app/assets/styles/button.stylebox differ diff --git a/app/assets/styles/button_hover.stylebox b/app/assets/styles/button_hover.stylebox new file mode 100644 index 0000000..2ec14dd Binary files /dev/null and b/app/assets/styles/button_hover.stylebox differ diff --git a/app/assets/styles/tab.stylebox b/app/assets/styles/tab.stylebox new file mode 100644 index 0000000..7b83d17 Binary files /dev/null and b/app/assets/styles/tab.stylebox differ diff --git a/app/assets/styles/text.tres b/app/assets/styles/text.tres new file mode 100644 index 0000000..0129f8b --- /dev/null +++ b/app/assets/styles/text.tres @@ -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) diff --git a/app/scenes/components/button.tscn b/app/scenes/components/button.tscn new file mode 100644 index 0000000..d6f7976 --- /dev/null +++ b/app/scenes/components/button.tscn @@ -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"] diff --git a/app/scenes/components/search.tscn b/app/scenes/components/search.tscn index c05b4c0..33fe476 100644 --- a/app/scenes/components/search.tscn +++ b/app/scenes/components/search.tscn @@ -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 diff --git a/app/scenes/components/tab.tscn b/app/scenes/components/tab.tscn new file mode 100644 index 0000000..ed2fe52 --- /dev/null +++ b/app/scenes/components/tab.tscn @@ -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 diff --git a/app/scenes/menu.tscn b/app/scenes/menu.tscn index f93644c..ccaaa55 100644 --- a/app/scenes/menu.tscn +++ b/app/scenes/menu.tscn @@ -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 diff --git a/app/scripts/ui/menu/window_buttons.gd b/app/scripts/ui/menu/window_buttons.gd index a2e6696..347a943 100644 --- a/app/scripts/ui/menu/window_buttons.gd +++ b/app/scripts/ui/menu/window_buttons.gd @@ -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()