freeftf/menus/settings.tscn

66 lines
2 KiB
Text
Raw Normal View History

[gd_scene load_steps=4 format=3 uid="uid://buvl1aa0733mn"]
[ext_resource type="Script" path="res://scripts/settings_multioption.gd" id="1_kmx8a"]
[ext_resource type="Script" path="res://scripts/main_settings.gd" id="1_vdm7d"]
[ext_resource type="Script" path="res://scripts/settings_text.gd" id="3_faw6x"]
[node name="Settings" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_vdm7d")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="fps_counter" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="Label" type="Label" parent="VBoxContainer/fps_counter"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
text = "FPS Counter"
[node name="OptionButton" type="OptionButton" parent="VBoxContainer/fps_counter"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_font_sizes/font_size = 32
alignment = 1
selected = 1
item_count = 2
popup/item_0/text = "Off"
popup/item_1/text = "On"
popup/item_1/id = 1
script = ExtResource("1_kmx8a")
[node name="ip" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="Label" type="Label" parent="VBoxContainer/ip"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
text = "Matchmaking Server IP"
[node name="TextEdit" type="TextEdit" parent="VBoxContainer/ip"]
custom_minimum_size = Vector2(400, 56)
layout_mode = 2
theme_override_font_sizes/font_size = 32
placeholder_text = "Matchmaking Server IP"
script = ExtResource("3_faw6x")
[connection signal="item_selected" from="VBoxContainer/fps_counter/OptionButton" to="VBoxContainer/fps_counter/OptionButton" method="_on_item_selected"]
[connection signal="text_changed" from="VBoxContainer/ip/TextEdit" to="VBoxContainer/ip/TextEdit" method="_on_text_changed"]