添加弟子管理UI界面
This commit is contained in:
@@ -0,0 +1,154 @@
|
||||
[gd_scene format=3 uid="uid://swa7gtddn6fj"]
|
||||
|
||||
[ext_resource type="LabelSettings" uid="uid://dur4uye3m0ffd" path="res://resources/disciple_info_label_settings.tres" id="1_abpqa"]
|
||||
[ext_resource type="StyleBox" uid="uid://kxc0y8146vlk" path="res://resources/disciple_info_style_box_flat.tres" id="1_po3i5"]
|
||||
|
||||
[node name="DiscipleInformationPanel" type="PanelContainer" unique_id=2024414593]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = ExtResource("1_po3i5")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1066350214]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer" unique_id=528093249]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer" unique_id=2078348112]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
text = "姓名"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Name" type="Label" parent="VBoxContainer/HBoxContainer" unique_id=1124761822]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer" unique_id=1255356167]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2" unique_id=233829191]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
text = "境界"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Level" type="Label" parent="VBoxContainer/HBoxContainer2" unique_id=913472455]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
|
||||
[node name="HBoxContainer3" type="HBoxContainer" parent="VBoxContainer" unique_id=1358402714]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer3" unique_id=1781987484]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
text = "属性"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer/HBoxContainer3" unique_id=251442021]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Metal" type="Label" parent="VBoxContainer/HBoxContainer3/VBoxContainer2" unique_id=395220991]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "金"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Wood" type="Label" parent="VBoxContainer/HBoxContainer3/VBoxContainer2" unique_id=1852801128]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "木"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Water" type="Label" parent="VBoxContainer/HBoxContainer3/VBoxContainer2" unique_id=1864946709]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "水"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Fire" type="Label" parent="VBoxContainer/HBoxContainer3/VBoxContainer2" unique_id=1916838020]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "火"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Earth" type="Label" parent="VBoxContainer/HBoxContainer3/VBoxContainer2" unique_id=2106256122]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "土"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer3" unique_id=565242402]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Metal" type="Label" parent="VBoxContainer/HBoxContainer3/VBoxContainer" unique_id=334471189]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "1"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Wood" type="Label" parent="VBoxContainer/HBoxContainer3/VBoxContainer" unique_id=1099683329]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "1"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Water" type="Label" parent="VBoxContainer/HBoxContainer3/VBoxContainer" unique_id=1520779703]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "1"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Fire" type="Label" parent="VBoxContainer/HBoxContainer3/VBoxContainer" unique_id=66098798]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "1"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Earth" type="Label" parent="VBoxContainer/HBoxContainer3/VBoxContainer" unique_id=170833691]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "1"
|
||||
label_settings = ExtResource("1_abpqa")
|
||||
vertical_alignment = 1
|
||||
@@ -0,0 +1,170 @@
|
||||
[gd_scene format=3 uid="uid://bcaiw3oyukljd"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://swa7gtddn6fj" path="res://src/UI/Panels/Manager/DisciplePanel/DiscipleInformationPanel.tscn" id="1_ieo5l"]
|
||||
|
||||
[node name="DisciplePanel" type="Control" unique_id=1161780936]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="." unique_id=1114464724]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="HFlowContainer" type="HFlowContainer" parent="ScrollContainer" unique_id=1296331534]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
alignment = 1
|
||||
|
||||
[node name="DiscipleInformationPanel" parent="ScrollContainer/HFlowContainer" unique_id=1463617991 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel2" parent="ScrollContainer/HFlowContainer" unique_id=1021323045 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel3" parent="ScrollContainer/HFlowContainer" unique_id=1532684529 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel4" parent="ScrollContainer/HFlowContainer" unique_id=826017646 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel5" parent="ScrollContainer/HFlowContainer" unique_id=1801973105 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel6" parent="ScrollContainer/HFlowContainer" unique_id=26512172 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel7" parent="ScrollContainer/HFlowContainer" unique_id=1604914915 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel8" parent="ScrollContainer/HFlowContainer" unique_id=1175961950 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel9" parent="ScrollContainer/HFlowContainer" unique_id=1658128381 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel10" parent="ScrollContainer/HFlowContainer" unique_id=1118637884 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel11" parent="ScrollContainer/HFlowContainer" unique_id=225536606 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel12" parent="ScrollContainer/HFlowContainer" unique_id=1224947823 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel13" parent="ScrollContainer/HFlowContainer" unique_id=698054001 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel14" parent="ScrollContainer/HFlowContainer" unique_id=1708799158 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel15" parent="ScrollContainer/HFlowContainer" unique_id=348109606 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel16" parent="ScrollContainer/HFlowContainer" unique_id=936882381 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel17" parent="ScrollContainer/HFlowContainer" unique_id=1754732536 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel18" parent="ScrollContainer/HFlowContainer" unique_id=486904672 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel19" parent="ScrollContainer/HFlowContainer" unique_id=863088248 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel20" parent="ScrollContainer/HFlowContainer" unique_id=112208330 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel21" parent="ScrollContainer/HFlowContainer" unique_id=764132510 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel22" parent="ScrollContainer/HFlowContainer" unique_id=383792042 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel23" parent="ScrollContainer/HFlowContainer" unique_id=1542342367 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel24" parent="ScrollContainer/HFlowContainer" unique_id=2011703115 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel25" parent="ScrollContainer/HFlowContainer" unique_id=773318379 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel26" parent="ScrollContainer/HFlowContainer" unique_id=813275380 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel27" parent="ScrollContainer/HFlowContainer" unique_id=1059743893 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel28" parent="ScrollContainer/HFlowContainer" unique_id=1500396674 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DiscipleInformationPanel29" parent="ScrollContainer/HFlowContainer" unique_id=175683662 instance=ExtResource("1_ieo5l")]
|
||||
custom_minimum_size = Vector2(160, 200)
|
||||
custom_maximum_size = Vector2(160, 200)
|
||||
layout_mode = 2
|
||||
@@ -0,0 +1,6 @@
|
||||
extends Control
|
||||
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
@@ -0,0 +1 @@
|
||||
uid://qjqb0jaqxuu2
|
||||
@@ -0,0 +1,28 @@
|
||||
[gd_scene format=3 uid="uid://d1mbwdtarjqof"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://qjqb0jaqxuu2" path="res://src/UI/Panels/Manager/Manager.gd" id="1_qdh6a"]
|
||||
[ext_resource type="PackedScene" uid="uid://bcaiw3oyukljd" path="res://src/UI/Panels/Manager/DisciplePanel/DisciplePanel.tscn" id="2_cese4"]
|
||||
|
||||
[node name="Manager" type="Control" unique_id=360636457]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
script = ExtResource("1_qdh6a")
|
||||
|
||||
[node name="TabContainer" type="TabContainer" parent="." unique_id=915058536]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
current_tab = 0
|
||||
|
||||
[node name="DisciplePanel" parent="TabContainer" unique_id=1161780936 instance=ExtResource("2_cese4")]
|
||||
layout_mode = 2
|
||||
metadata/_tab_index = 0
|
||||
Reference in New Issue
Block a user