aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/Menu/MainMenu/ReleaseInfoBox.tscn
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2024-02-06 20:47:12 +0100
committer GitHub <noreply@github.com>2024-02-06 20:47:12 +0100
commit4bcf96c485408dec67264168b74eded2a912876e (patch)
treef383c29fe07145e8cda76456a7f99d5b89b52158 /game/src/Game/Menu/MainMenu/ReleaseInfoBox.tscn
parent0ed206d613109dad159e51f677bd1b56e9e5bd3e (diff)
parent300fefe2dc8dfa8a5cd47736cf6480380504101f (diff)
Merge pull request #205 from Spartan322/fixup/game-info
Add GameInfo button to MainMenu
Diffstat (limited to 'game/src/Game/Menu/MainMenu/ReleaseInfoBox.tscn')
-rw-r--r--game/src/Game/Menu/MainMenu/ReleaseInfoBox.tscn46
1 files changed, 36 insertions, 10 deletions
diff --git a/game/src/Game/Menu/MainMenu/ReleaseInfoBox.tscn b/game/src/Game/Menu/MainMenu/ReleaseInfoBox.tscn
index d9de5ea..55b2fdf 100644
--- a/game/src/Game/Menu/MainMenu/ReleaseInfoBox.tscn
+++ b/game/src/Game/Menu/MainMenu/ReleaseInfoBox.tscn
@@ -1,15 +1,34 @@
-[gd_scene load_steps=2 format=3 uid="uid://cen7wkmn6og66"]
+[gd_scene load_steps=4 format=3 uid="uid://cen7wkmn6og66"]
[ext_resource type="Script" path="res://src/Game/Menu/MainMenu/ReleaseInfoBox.gd" id="1_y2djw"]
+[sub_resource type="StyleBoxLine" id="StyleBoxLine_07plf"]
+content_margin_right = 2.0
+color = Color(1, 1, 1, 1)
+thickness = 2
+vertical = true
+
+[sub_resource type="Theme" id="Theme_une4m"]
+VSeparator/styles/separator = SubResource("StyleBoxLine_07plf")
+
[node name="ReleaseInfoBox" type="HBoxContainer" node_paths=PackedStringArray("_version_label", "_commit_label", "_checksum_label")]
editor_description = "UI-31"
+theme = SubResource("Theme_une4m")
script = ExtResource("1_y2djw")
-_version_label = NodePath("VersionLabel")
-_commit_label = NodePath("CommitLabel")
-_checksum_label = NodePath("ChecksumLabel")
+_version_label = NodePath("VersionButton")
+_commit_label = NodePath("CommitButton")
+_checksum_label = NodePath("ChecksumButton")
+
+[node name="GameInfoButton" type="Button" parent="."]
+layout_mode = 2
+theme_type_variation = &"GameInfoButton"
+text = "MAINMENU_GAME_INFO"
+flat = true
-[node name="VersionLabel" type="Button" parent="."]
+[node name="VSeparator" type="VSeparator" parent="."]
+layout_mode = 2
+
+[node name="VersionButton" type="Button" parent="."]
editor_description = "UI-869, UI-870"
layout_mode = 2
tooltip_text = "VERSION_MISSING"
@@ -19,7 +38,10 @@ text = "VERSION_MISSING"
flat = true
alignment = 0
-[node name="CommitLabel" type="Button" parent="."]
+[node name="VSeparator2" type="VSeparator" parent="."]
+layout_mode = 2
+
+[node name="CommitButton" type="Button" parent="."]
editor_description = "UI-871, UI-872"
layout_mode = 2
focus_mode = 0
@@ -28,7 +50,10 @@ text = "????????"
flat = true
alignment = 0
-[node name="ChecksumLabel" type="Button" parent="."]
+[node name="VSeparator3" type="VSeparator" parent="."]
+layout_mode = 2
+
+[node name="ChecksumButton" type="Button" parent="."]
editor_description = "UI-111"
layout_mode = 2
tooltip_text = "CHECKSUM_MISSING"
@@ -38,6 +63,7 @@ text = "(????)"
flat = true
alignment = 0
-[connection signal="pressed" from="VersionLabel" to="." method="_on_version_label_pressed"]
-[connection signal="pressed" from="CommitLabel" to="." method="_on_commit_label_pressed"]
-[connection signal="pressed" from="ChecksumLabel" to="." method="_on_checksum_label_pressed"]
+[connection signal="pressed" from="GameInfoButton" to="." method="_on_game_info_button_pressed"]
+[connection signal="pressed" from="VersionButton" to="." method="_on_version_label_pressed"]
+[connection signal="pressed" from="CommitButton" to="." method="_on_commit_label_pressed"]
+[connection signal="pressed" from="ChecksumButton" to="." method="_on_checksum_label_pressed"]