-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tscn
More file actions
93 lines (80 loc) · 2.87 KB
/
main.tscn
File metadata and controls
93 lines (80 loc) · 2.87 KB
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
[gd_scene load_steps=5 format=3 uid="uid://d0irk1hcf7183"]
[ext_resource type="PackedScene" uid="uid://do0bghpq3ii50" path="res://elements/skill_node_edit/skill_node_edit.tscn" id="1_0xm2m"]
[ext_resource type="PackedScene" uid="uid://t7433f4qba8i" path="res://elements/view/view.tscn" id="1_ig7tw"]
[ext_resource type="PackedScene" uid="uid://bf1hit2og8j1q" path="res://elements/import_export_handler/import_export_handler.tscn" id="3_h2yge"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ig7tw"]
[node name="Main" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="AdditionalControls" type="CanvasLayer" parent="."]
[node name="Panel" type="Panel" parent="AdditionalControls"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_ig7tw")
[node name="SkillNodeEditModal" parent="AdditionalControls/Panel" instance=ExtResource("1_0xm2m")]
layout_mode = 1
anchors_preset = 9
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 1.0
offset_left = 16.0
offset_top = 63.0
offset_right = 321.0
offset_bottom = -23.0
grow_horizontal = 1
[node name="AddSkillButton" type="Button" parent="AdditionalControls/Panel"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -153.5
offset_top = -65.0
offset_right = 153.5
offset_bottom = -26.0
grow_horizontal = 2
grow_vertical = 0
text = "+ Add Skill"
[node name="ImportButton" type="Button" parent="AdditionalControls/Panel"]
layout_mode = 1
offset_left = 467.0
offset_top = 10.0
offset_right = 621.0
offset_bottom = 45.0
text = "Import ..."
[node name="ExportButton" type="Button" parent="AdditionalControls/Panel"]
layout_mode = 1
offset_left = 307.0
offset_top = 10.0
offset_right = 461.0
offset_bottom = 45.0
text = "Export ..."
[node name="ClearButton" type="Button" parent="AdditionalControls/Panel"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -182.0
offset_top = 10.0
offset_right = -28.0
offset_bottom = 45.0
grow_horizontal = 0
text = "Clear All"
[node name="View" parent="." instance=ExtResource("1_ig7tw")]
layout_mode = 1
metadata/_edit_lock_ = true
[node name="ImportExportHandler" parent="." instance=ExtResource("3_h2yge")]
[connection signal="pressed" from="AdditionalControls/Panel/AddSkillButton" to="View" method="_on_add_skill_button_pressed"]
[connection signal="pressed" from="AdditionalControls/Panel/ImportButton" to="ImportExportHandler" method="_on_import_started"]
[connection signal="pressed" from="AdditionalControls/Panel/ExportButton" to="ImportExportHandler" method="_on_export_started"]
[connection signal="pressed" from="AdditionalControls/Panel/ClearButton" to="View" method="_on_clear_button_pressed"]