diff --git a/GodSVG CONTRIBUTORS.md b/GodSVG CONTRIBUTORS.md index 6d107ee..58c2867 100644 --- a/GodSVG CONTRIBUTORS.md +++ b/GodSVG CONTRIBUTORS.md @@ -1,23 +1,24 @@ # GodSVG Contributors -This project is made possible by the contributions of the following individuals: +GodSVG authors file: https://github.com/MewPurPur/GodSVG/blob/main/app_info.toml -### Original Author -- **MewPurPur** - Project Founder and Manager +### Project Founder and Manager +- **MewPurPur** ### Contributors - Aaron Franke (aaronfranke) - ajreckof - aladvs -- Alex2782 - DevPoodle +- FlooferLand - ilikefrogs101 -- itycodes +- Yordan Dolchinkov (Jordyfel) - Kiisu-Master - MewPurPur - Qainguin - Serem Titus (SeremTitus) - Swarkin +- Anish Mishra (syntaxerror247) - thiagola92 - Tom Blackwell (Volts-s) - WeaverSong diff --git a/export_presets.cfg b/export_presets.cfg index d4fdc76..ae9f007 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -7,7 +7,7 @@ advanced_options=true dedicated_server=false custom_features="" export_filter="all_resources" -include_filter="" +include_filter="*.toml" exclude_filter="godot_only/*, *.md, *.ico, *.icns" export_path="" patches=PackedStringArray() @@ -232,7 +232,7 @@ advanced_options=true dedicated_server=false custom_features="" export_filter="all_resources" -include_filter="" +include_filter="*.toml" exclude_filter="godot_only/*, *.md, *.ico, *.icns" export_path="" patches=PackedStringArray() diff --git a/src/ui_parts/about_menu.gd b/src/ui_parts/about_menu.gd index 96b7fdb..9c91730 100644 --- a/src/ui_parts/about_menu.gd +++ b/src/ui_parts/about_menu.gd @@ -1,6 +1,6 @@ extends PanelContainer -@onready var close_button: Button = $VBoxContainer/CloseButton +@onready var back_button: Button = $VBoxContainer/PanelContainer/BackButton @onready var translators_vbox: VBoxContainer = %TranslatorsVBox @onready var developers_list: PanelGrid = %DevelopersList @@ -17,15 +17,15 @@ func _ready() -> void: stylebox.content_margin_top += 2.0 add_theme_stylebox_override("panel", stylebox) - %VersionLabel.text = "VectorTouch Mobile v" + ProjectSettings.get_setting("application/config/version") + %VersionLabel.text = "VectorTouch v" + ProjectSettings.get_setting("application/config/version") - close_button.pressed.connect(queue_free) - close_button.text = Translator.translate("Close") + back_button.pressed.connect(queue_free) tab_container.set_tab_title(0, Translator.translate("Authors")) tab_container.set_tab_title(1, Translator.translate("Donors")) tab_container.set_tab_title(2, Translator.translate("License")) tab_container.set_tab_title(3, Translator.translate("Third-party licenses")) + tab_container.set_tab_hidden(1, true) tab_container.tab_changed.connect(_on_tab_changed) _on_tab_changed(0) @@ -118,7 +118,7 @@ func _on_tab_changed(idx: int) -> void: 2: # This part doesn't need to be translated. %LicenseLabel.text = "MIT License\n\nCopyright (c) 2025 Anish Mishra\n" +\ - "Copyright (c) 2023-present VectorTouch contributors\n\n" +\ + "Copyright (c) 2023-present GodSVG contributors\n\n" +\ Engine.get_license_info()["Expat"] 3: for child in %VectorTouchParts.get_children(): diff --git a/src/ui_parts/about_menu.tscn b/src/ui_parts/about_menu.tscn index 0bd5baf..c0c8748 100644 --- a/src/ui_parts/about_menu.tscn +++ b/src/ui_parts/about_menu.tscn @@ -1,51 +1,52 @@ -[gd_scene load_steps=5 format=3 uid="uid://mhfp37lr7q4f"] +[gd_scene load_steps=7 format=3 uid="uid://mhfp37lr7q4f"] [ext_resource type="Script" uid="uid://ys8g367cpqc2" path="res://src/ui_parts/about_menu.gd" id="1_xxltt"] +[ext_resource type="Texture2D" uid="uid://ljdlk0jneuwh" path="res://assets/icons/ArrowLeft.svg" id="2_q2got"] [ext_resource type="Texture2D" uid="uid://mkitu0lvacs2" path="res://assets/logos/icon.svg" id="2_t7fbd"] [ext_resource type="FontFile" uid="uid://depydd16jq777" path="res://assets/fonts/FontMono.ttf" id="3_e8i1t"] [ext_resource type="Script" uid="uid://ci44864moadn" path="res://src/ui_widgets/PanelGrid.gd" id="7_nvctb"] +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_s8tsc"] + [node name="AboutMenu" type="PanelContainer"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -theme_type_variation = &"OverlayPanel" +theme_type_variation = &"BasePanel" script = ExtResource("1_xxltt") [node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 2 theme_override_constants/separation = 8 +alignment = 1 + +[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer"] +layout_mode = 2 +theme_override_styles/panel = SubResource("StyleBoxEmpty_s8tsc") -[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] +[node name="BackButton" type="Button" parent="VBoxContainer/PanelContainer"] +layout_mode = 2 +size_flags_horizontal = 0 +icon = ExtResource("2_q2got") + +[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/PanelContainer"] layout_mode = 2 size_flags_horizontal = 4 theme_override_constants/separation = 8 -[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HBoxContainer"] +[node name="TextureRect" type="TextureRect" parent="VBoxContainer/PanelContainer/HBoxContainer"] layout_mode = 2 texture = ExtResource("2_t7fbd") expand_mode = 2 -[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"] -layout_mode = 2 - -[node name="VersionLabel" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"] +[node name="VersionLabel" type="Label" parent="VBoxContainer/PanelContainer/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 theme_type_variation = &"TitleLabel" theme_override_font_sizes/font_size = 16 -[node name="CopyLabel" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"] -layout_mode = 2 -theme_type_variation = &"TitleLabel" -theme_override_constants/line_spacing = 0 -theme_override_font_sizes/font_size = 12 -text = "© 2025 Anish Mishra -© 2023 MewPurPur -© 2023-present VectorTouch contributors" - [node name="TabContainer" type="TabContainer" parent="VBoxContainer"] custom_minimum_size = Vector2(0, 280) layout_mode = 2 @@ -88,7 +89,6 @@ horizontal_alignment = 1 unique_name_in_owner = true layout_mode = 2 script = ExtResource("7_nvctb") -columns = 2 [node name="TranslatorsLabel" type="Label" parent="VBoxContainer/TabContainer/Authors/MarginContainer/VBoxContainer"] unique_name_in_owner = true @@ -274,11 +274,3 @@ theme_override_constants/separation = 8 unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 12 - -[node name="CloseButton" type="Button" parent="VBoxContainer"] -layout_mode = 2 -size_flags_horizontal = 4 -size_flags_vertical = 8 -focus_mode = 0 -mouse_default_cursor_shape = 2 -text = "Close" diff --git a/src/ui_widgets/PanelGrid.gd b/src/ui_widgets/PanelGrid.gd index bf20369..07824e3 100644 --- a/src/ui_widgets/PanelGrid.gd +++ b/src/ui_widgets/PanelGrid.gd @@ -17,8 +17,8 @@ func _draw() -> void: if item_count == 0: return - var inner_color := ThemeUtils.basic_panel_inner_color.lerp(ThemeUtils.desaturated_color, 0.35) - var border_color := ThemeUtils.basic_panel_inner_color.lerp(ThemeUtils.desaturated_color, 0.85) + var inner_color := ThemeUtils.softer_base_color + var border_color := ThemeUtils.basic_panel_border_color var effective_columns := clampi(columns, 1, item_count) var text_color := get_theme_color("font_color", "Label")