91 lines
2.3 KiB
Plaintext
91 lines
2.3 KiB
Plaintext
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://mods/interface/src/Menu/GameMenu.cs" id="GameMenuScript"]
|
|
|
|
[node name="GameMenu" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 1
|
|
script = ExtResource("GameMenuScript")
|
|
|
|
[node name="Bg" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 0.9)
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -200.0
|
|
offset_top = -220.0
|
|
offset_right = 200.0
|
|
offset_bottom = 220.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Margin" type="MarginContainer" parent="Panel"]
|
|
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 = 28
|
|
theme_override_constants/margin_top = 20
|
|
theme_override_constants/margin_right = 28
|
|
theme_override_constants/margin_bottom = 20
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="Panel/Margin"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="Title" type="Label" parent="Panel/Margin/VBox"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 24
|
|
theme_override_colors/font_color = Color(0.956863, 0.941176, 0.905882, 1)
|
|
text = "Меню"
|
|
horizontal_alignment = 1
|
|
uppercase = true
|
|
|
|
[node name="ReturnBtn" type="Button" parent="Panel/Margin/VBox"]
|
|
layout_mode = 2
|
|
text = "Вернуться"
|
|
theme_type_variation = "CthangoverPrimary"
|
|
|
|
[node name="SaveBtn" type="Button" parent="Panel/Margin/VBox"]
|
|
layout_mode = 2
|
|
text = "Сохранить"
|
|
|
|
[node name="LoadBtn" type="Button" parent="Panel/Margin/VBox"]
|
|
layout_mode = 2
|
|
text = "Загрузить"
|
|
|
|
[node name="SettingsBtn" type="Button" parent="Panel/Margin/VBox"]
|
|
layout_mode = 2
|
|
text = "Настройки"
|
|
|
|
[node name="Spacer" type="Control" parent="Panel/Margin/VBox"]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 16)
|
|
|
|
[node name="MainMenuBtn" type="Button" parent="Panel/Margin/VBox"]
|
|
layout_mode = 2
|
|
text = "Главное меню"
|
|
|
|
[node name="ExitBtn" type="Button" parent="Panel/Margin/VBox"]
|
|
layout_mode = 2
|
|
text = "Выход"
|
|
theme_type_variation = "CthangoverDanger"
|