Files

172 lines
5.5 KiB
Plaintext
Raw Permalink Normal View History

2026-01-29 19:54:18 +08:00
[gd_scene format=3 uid="uid://bxbycggrcmo3q"]
[ext_resource type="Script" uid="uid://deltvf06kqovt" path="res://scripts/settings/settings.gd" id="1_r6d6q"]
[ext_resource type="FontFile" uid="uid://c2bipf4tpdjj8" path="res://assets/fonts/AlibabaPuHuiTi-3-65-Medium.ttf" id="2_6wm04"]
2026-01-29 19:54:18 +08:00
[node name="Settings" type="Node2D" unique_id=1528483]
script = ExtResource("1_r6d6q")
2026-01-29 19:54:18 +08:00
[node name="Background" type="ColorRect" parent="." unique_id=1213198647]
offset_left = -34.0
offset_top = -27.0
2026-02-16 20:39:58 +08:00
offset_right = 2623.0
offset_bottom = 1500.0
color = Color(0.7058824, 0.6862745, 0, 1)
2026-01-29 19:54:18 +08:00
[node name="DataSetting" type="Node2D" parent="." unique_id=700043200]
metadata/_edit_group_ = true
2026-01-29 19:54:18 +08:00
[node name="DataSetLabel" type="Label" parent="DataSetting" unique_id=1130835123]
offset_left = 45.0
offset_top = 28.0
offset_right = 193.0
offset_bottom = 90.0
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 30
text = "SETTINGS_SETSOURCE"
2026-01-29 19:54:18 +08:00
[node name="LineEdit" type="LineEdit" parent="DataSetting" unique_id=34011310]
offset_left = 217.0
offset_top = 18.0
offset_right = 874.0
offset_bottom = 81.0
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 24
2026-01-29 19:54:18 +08:00
[node name="IPBeginSetting" type="Node2D" parent="." unique_id=1428256194]
position = Vector2(-1, 94)
metadata/_edit_group_ = true
2026-01-29 19:54:18 +08:00
[node name="IPBeginSetLabel" type="Label" parent="IPBeginSetting" unique_id=561890346]
offset_left = 45.0
offset_top = 28.0
offset_right = 193.0
offset_bottom = 90.0
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 30
text = "SETTINGS_IPBEGIN"
2026-01-29 19:54:18 +08:00
[node name="LineEdit" type="LineEdit" parent="IPBeginSetting" unique_id=1179342188]
offset_left = 424.0
offset_top = 18.0
offset_right = 874.0
offset_bottom = 81.0
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 24
2026-01-29 19:54:18 +08:00
[node name="UsernameSetting" type="Node2D" parent="." unique_id=564366013]
position = Vector2(0, 208)
metadata/_edit_group_ = true
2026-01-29 19:54:18 +08:00
[node name="UsernameSetLabel" type="Label" parent="UsernameSetting" unique_id=1569658441]
offset_left = 45.0
offset_top = 28.0
offset_right = 193.0
offset_bottom = 90.0
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 30
text = "SETTINGS_NICKNAME"
2026-01-29 19:54:18 +08:00
[node name="LineEdit" type="LineEdit" parent="UsernameSetting" unique_id=694430941]
offset_left = 424.0
offset_top = 18.0
offset_right = 874.0
offset_bottom = 81.0
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 24
[node name="LoadSource" type="Node2D" parent="." unique_id=230611076]
position = Vector2(44, 314)
metadata/_edit_group_ = true
[node name="LoadSourceLabel" type="Label" parent="LoadSource" unique_id=299353496]
offset_left = 9.0
offset_top = 10.0
offset_right = 132.0
offset_bottom = 40.0
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 30
text = "SETTINGS_LOADDATA"
[node name="ChooseSource" type="OptionButton" parent="LoadSource" unique_id=1045074926]
offset_left = 381.0
offset_top = 5.0
offset_right = 830.0
offset_bottom = 60.0
theme_override_font_sizes/font_size = 25
[node name="ChooseLanguage" type="Node2D" parent="." unique_id=323270128]
position = Vector2(39, 405)
metadata/_edit_group_ = true
[node name="ChooseLanguageLabel" type="Label" parent="ChooseLanguage" unique_id=1719434618]
offset_left = 9.0
offset_top = 10.0
offset_right = 132.0
offset_bottom = 40.0
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 30
text = "SETTINGS_CHOOSELANG"
[node name="ChooseLanguage" type="OptionButton" parent="ChooseLanguage" unique_id=476490830]
offset_left = 381.0
offset_top = 5.0
offset_right = 830.0
offset_bottom = 60.0
theme_override_font_sizes/font_size = 25
item_count = 2
popup/item_0/text = "en"
popup/item_0/id = 0
popup/item_1/text = "zh-cn"
popup/item_1/id = 1
2026-01-29 19:54:18 +08:00
[node name="SaveButton" type="Button" parent="." unique_id=1377249836]
offset_left = 132.0
offset_top = 1315.0
offset_right = 338.0
offset_bottom = 1392.0
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 30
text = "SETTINGS_SAVESETTINGS"
2026-01-29 19:54:18 +08:00
[node name="DownloadButton" type="Button" parent="." unique_id=315804661]
2026-02-16 20:39:58 +08:00
offset_left = 598.0
offset_top = 1316.0
offset_right = 774.0
offset_bottom = 1405.0
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 30
text = "SETTINGS_DOWNLOAD"
2026-01-29 19:54:18 +08:00
[node name="CancelButton" type="Button" parent="." unique_id=135993345]
2026-02-16 20:39:58 +08:00
offset_left = 371.0
offset_top = 1305.0
offset_right = 550.0
offset_bottom = 1394.0
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 30
text = "SETTINGS_BACK"
[node name="LoadButton" type="Button" parent="." unique_id=2015694853]
2026-02-16 20:39:58 +08:00
offset_left = 135.0
offset_top = 1198.0
offset_right = 311.0
offset_bottom = 1287.0
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 30
text = "SETTINGS_LOAD"
2026-02-14 10:24:16 +08:00
[node name="Tips" type="Label" parent="." unique_id=1777076648]
2026-02-16 20:39:58 +08:00
offset_left = 893.0
offset_top = 1318.0
offset_right = 1920.0
offset_bottom = 1388.0
2026-02-14 10:24:16 +08:00
theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 50
text = "SETTINGS_TIP_NULL"
2026-02-14 10:24:16 +08:00
[connection signal="pressed" from="SaveButton" to="." method="_on_save_button_pressed"]
[connection signal="pressed" from="DownloadButton" to="." method="_on_download_button_pressed"]
[connection signal="pressed" from="CancelButton" to="." method="_on_cancel_button_pressed"]
[connection signal="pressed" from="LoadButton" to="." method="_on_load_button_pressed"]