1
0
mirror of https://github.com/Relintai/broken_seals.git synced 2024-12-28 13:27:10 +01:00
broken_seals/game/ui/spellbook/SpellBookWindow.tscn

179 lines
5.3 KiB
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=1]
[ext_resource path="res://ui/spellbook/SpellBookWindow.gd" type="Script" id=2]
[ext_resource path="res://ui/spellbook/SpellContainer.tscn" type="PackedScene" id=3]
[node name="SpellBookWindow" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
theme = ExtResource( 1 )
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
spell_entry_container_path = NodePath("PanelContainer/PagedContent/GridContainer")
prev_button_path = NodePath("PanelContainer/PagedContent/Controls/HBoxContainer/Button2")
next_button_path = NodePath("PanelContainer/PagedContent/Controls/HBoxContainer/Button")
spell_points_label_path = NodePath("PanelContainer/PagedContent/Controls/HBoxContainer/SpellPoints")
show_not_learned = false
[node name="PanelContainer" type="PanelContainer" parent="."]
margin_left = 79.0
margin_top = 65.0
margin_right = 535.0
margin_bottom = 483.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PagedContent" type="VBoxContainer" parent="PanelContainer"]
margin_left = 4.0
margin_top = 4.0
margin_right = 452.0
margin_bottom = 414.0
[node name="Header" type="HBoxContainer" parent="PanelContainer/PagedContent"]
margin_right = 448.0
margin_bottom = 30.0
[node name="Label" type="Label" parent="PanelContainer/PagedContent/Header"]
margin_top = 7.0
margin_right = 54.0
margin_bottom = 22.0
text = "Spellbook"
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/PagedContent/Header"]
margin_left = 58.0
margin_right = 404.0
margin_bottom = 30.0
size_flags_horizontal = 3
size_flags_vertical = 3
alignment = 1
[node name="Button" type="Button" parent="PanelContainer/PagedContent/Header/HBoxContainer"]
margin_left = 123.0
margin_right = 223.0
margin_bottom = 30.0
rect_min_size = Vector2( 100, 0 )
text = "Nature"
[node name="Button" type="Button" parent="PanelContainer/PagedContent/Header"]
margin_left = 408.0
margin_right = 448.0
margin_bottom = 30.0
rect_min_size = Vector2( 40, 30 )
text = "X"
[node name="GridContainer" type="GridContainer" parent="PanelContainer/PagedContent"]
margin_top = 38.0
margin_right = 448.0
margin_bottom = 372.0
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 2
[node name="SpellContainer" parent="PanelContainer/PagedContent/GridContainer" instance=ExtResource( 3 )]
margin_left = 0.0
margin_top = 0.0
margin_right = 222.0
margin_bottom = 63.0
[node name="SpellContainer2" parent="PanelContainer/PagedContent/GridContainer" instance=ExtResource( 3 )]
margin_left = 226.0
margin_top = 0.0
margin_right = 448.0
margin_bottom = 63.0
[node name="SpellContainer3" parent="PanelContainer/PagedContent/GridContainer" instance=ExtResource( 3 )]
margin_left = 0.0
margin_top = 67.0
margin_right = 222.0
margin_bottom = 130.0
[node name="SpellContainer4" parent="PanelContainer/PagedContent/GridContainer" instance=ExtResource( 3 )]
margin_left = 226.0
margin_top = 67.0
margin_right = 448.0
margin_bottom = 130.0
[node name="SpellContainer5" parent="PanelContainer/PagedContent/GridContainer" instance=ExtResource( 3 )]
margin_left = 0.0
margin_top = 134.0
margin_right = 222.0
margin_bottom = 197.0
[node name="SpellContainer6" parent="PanelContainer/PagedContent/GridContainer" instance=ExtResource( 3 )]
margin_left = 226.0
margin_top = 134.0
margin_right = 448.0
margin_bottom = 197.0
[node name="SpellContainer7" parent="PanelContainer/PagedContent/GridContainer" instance=ExtResource( 3 )]
margin_left = 0.0
margin_top = 201.0
margin_right = 222.0
margin_bottom = 264.0
[node name="SpellContainer8" parent="PanelContainer/PagedContent/GridContainer" instance=ExtResource( 3 )]
margin_left = 226.0
margin_top = 201.0
margin_right = 448.0
margin_bottom = 264.0
[node name="SpellContainer9" parent="PanelContainer/PagedContent/GridContainer" instance=ExtResource( 3 )]
margin_left = 0.0
margin_top = 268.0
margin_right = 222.0
margin_bottom = 331.0
[node name="SpellContainer10" parent="PanelContainer/PagedContent/GridContainer" instance=ExtResource( 3 )]
margin_left = 226.0
margin_top = 268.0
margin_right = 448.0
margin_bottom = 331.0
[node name="Controls" type="MarginContainer" parent="PanelContainer/PagedContent"]
margin_top = 380.0
margin_right = 448.0
margin_bottom = 410.0
custom_constants/margin_right = 2
custom_constants/margin_top = 2
custom_constants/margin_left = 2
custom_constants/margin_bottom = 2
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/PagedContent/Controls"]
margin_left = 2.0
margin_top = 2.0
margin_right = 446.0
margin_bottom = 28.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Button2" type="Button" parent="PanelContainer/PagedContent/Controls/HBoxContainer"]
margin_right = 145.0
margin_bottom = 26.5702
size_flags_horizontal = 3
size_flags_vertical = 3
text = "< Previous page"
[node name="SpellPoints" type="Label" parent="PanelContainer/PagedContent/Controls/HBoxContainer"]
margin_left = 149.0
margin_top = 5.0
margin_right = 294.0
margin_bottom = 20.0
size_flags_horizontal = 3
align = 1
valign = 1
[node name="Button" type="Button" parent="PanelContainer/PagedContent/Controls/HBoxContainer"]
margin_left = 298.0
margin_right = 444.0
margin_bottom = 26.5702
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Next page >"
[connection signal="pressed" from="PanelContainer/PagedContent/Header/Button" to="." method="hide"]