aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameSession/ProvinceOverviewPanel/ProvinceOverviewPanel.tscn
blob: 7a982e98e329864d565faf706ff53edf346bde5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[gd_scene load_steps=3 format=3 uid="uid://byq323jbel48u"]

[ext_resource type="Script" path="res://src/Game/GameSession/ProvinceOverviewPanel/ProvinceOverviewPanel.gd" id="1_3n8k5"]
[ext_resource type="PackedScene" uid="uid://cr7p1k2xm7mum" path="res://src/Game/Theme/PieChart/PieChart.tscn" id="2_3oytt"]

[node name="ProvinceOverviewPanel" type="PanelContainer" node_paths=PackedStringArray("_province_name_label", "_region_name_label", "_life_rating_bar", "_total_population_label", "_rgo_icon_texture_rect", "_rgo_name_label", "_buildings_container", "_pop_type_chart", "_pop_ideology_chart", "_pop_culture_chart")]
editor_description = "UI-56"
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -300.0
offset_right = 200.0
grow_vertical = 0
mouse_filter = 1
script = ExtResource("1_3n8k5")
_province_name_label = NodePath("PanelList/TopBarList/NameList/ProvinceName")
_region_name_label = NodePath("PanelList/TopBarList/NameList/RegionName")
_life_rating_bar = NodePath("PanelList/TopBarList/NameList/LifeRatingBar")
_total_population_label = NodePath("PanelList/InteractList/TotalPopulation")
_rgo_icon_texture_rect = NodePath("PanelList/InteractList/RGOInfo/RGOIcon")
_rgo_name_label = NodePath("PanelList/InteractList/RGOInfo/RGOName")
_buildings_container = NodePath("PanelList/InteractList/BuildingsContainer")
_pop_type_chart = NodePath("PanelList/InteractList/PopStats/PopTypeChart")
_pop_ideology_chart = NodePath("PanelList/InteractList/PopStats/PopIdeologyChart")
_pop_culture_chart = NodePath("PanelList/InteractList/PopStats/PopCultureChart")

[node name="PanelList" type="VBoxContainer" parent="."]
layout_mode = 2

[node name="TopBarList" type="HBoxContainer" parent="PanelList"]
layout_mode = 2

[node name="NameList" type="VBoxContainer" parent="PanelList/TopBarList"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0

[node name="ProvinceName" type="Label" parent="PanelList/TopBarList/NameList"]
editor_description = "UI-57"
layout_mode = 2
text = "province_MISSING"
vertical_alignment = 1

[node name="RegionName" type="Label" parent="PanelList/TopBarList/NameList"]
editor_description = "UI-58"
layout_mode = 2
text = "region_MISSING"
vertical_alignment = 1

[node name="LifeRatingBar" type="ProgressBar" parent="PanelList/TopBarList/NameList"]
editor_description = "UI-62"
layout_mode = 2
mouse_filter = 1

[node name="CloseButton" type="Button" parent="PanelList/TopBarList"]
custom_minimum_size = Vector2(30, 30)
layout_mode = 2
size_flags_vertical = 0
focus_mode = 0
mouse_filter = 1
text = "X"

[node name="InteractList" type="VBoxContainer" parent="PanelList"]
layout_mode = 2
size_flags_vertical = 3

[node name="HSeparator" type="HSeparator" parent="PanelList/InteractList"]
layout_mode = 2
mouse_filter = 1

[node name="TotalPopulation" type="Label" parent="PanelList/InteractList"]
editor_description = "UI-121"
layout_mode = 2
tooltip_text = "PROVINCE_POPULATION_TOOLTIP"
mouse_filter = 1
text = "total_population_MISSING"

[node name="RGOInfo" type="HBoxContainer" parent="PanelList/InteractList"]
editor_description = "UI-112"
layout_mode = 2

[node name="RGOIcon" type="TextureRect" parent="PanelList/InteractList/RGOInfo"]
editor_description = "UI-100"
layout_mode = 2

[node name="RGOName" type="Label" parent="PanelList/InteractList/RGOInfo"]
layout_mode = 2
text = "rgo_MISSING"
vertical_alignment = 1

[node name="HSeparator2" type="HSeparator" parent="PanelList/InteractList"]
layout_mode = 2
mouse_filter = 1

[node name="PopStats" type="HBoxContainer" parent="PanelList/InteractList"]
editor_description = "UI-124"
layout_mode = 2

[node name="PopTypeChart" parent="PanelList/InteractList/PopStats" instance=ExtResource("2_3oytt")]
editor_description = "UI-125"
layout_mode = 2

[node name="PopIdeologyChart" parent="PanelList/InteractList/PopStats" instance=ExtResource("2_3oytt")]
layout_mode = 2

[node name="PopCultureChart" parent="PanelList/InteractList/PopStats" instance=ExtResource("2_3oytt")]
editor_description = "UI-127"
layout_mode = 2

[node name="HSeparator3" type="HSeparator" parent="PanelList/InteractList"]
layout_mode = 2
mouse_filter = 1

[node name="BuildingsContainer" type="GridContainer" parent="PanelList/InteractList"]
layout_mode = 2
columns = 3

[connection signal="pressed" from="PanelList/TopBarList/CloseButton" to="." method="_on_close_button_pressed"]