broken_seals/game/ui/windows/VendorWindow.tscn

169 lines
4.8 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=4 format=2]
[ext_resource path="res://ui/windows/ItemContainer.tscn" type="PackedScene" id=1]
[ext_resource path="res://ui/windows/VendorWindow.gd" type="Script" id=4]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=5]
[node name="VendorWindow" type="PanelContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 5 )
script = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
spell_entry_container_path = NodePath("../VendorWindow/PagedContent/GridContainer")
prev_button_path = NodePath("../VendorWindow/PagedContent/Controls/HBoxContainer/Button2")
next_button_path = NodePath("../VendorWindow/PagedContent/Controls/HBoxContainer/Button")
show_not_learned = false
[node name="PagedContent" type="VBoxContainer" parent="."]
margin_left = 4.0
margin_top = 4.0
margin_right = 1020.0
margin_bottom = 596.0
[node name="Header" type="HBoxContainer" parent="PagedContent"]
margin_right = 1016.0
margin_bottom = 30.0
[node name="Label" type="Label" parent="PagedContent/Header"]
margin_top = 7.0
margin_right = 36.0
margin_bottom = 22.0
text = "Vendor"
[node name="HBoxContainer" type="HBoxContainer" parent="PagedContent/Header"]
margin_left = 40.0
margin_right = 972.0
margin_bottom = 30.0
size_flags_horizontal = 3
size_flags_vertical = 3
alignment = 1
[node name="Button" type="Button" parent="PagedContent/Header"]
margin_left = 976.0
margin_right = 1016.0
margin_bottom = 30.0
rect_min_size = Vector2( 40, 30 )
text = "X"
[node name="GridContainer" type="GridContainer" parent="PagedContent"]
margin_top = 38.0
margin_right = 1016.0
margin_bottom = 554.0
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 2
[node name="ItemContainer" parent="PagedContent/GridContainer" instance=ExtResource( 1 )]
margin_left = 0.0
margin_top = 0.0
margin_right = 506.0
margin_bottom = 82.0
[node name="ItemContainer2" parent="PagedContent/GridContainer" instance=ExtResource( 1 )]
margin_left = 510.0
margin_top = 0.0
margin_right = 1016.0
margin_bottom = 82.0
[node name="ItemContainer3" parent="PagedContent/GridContainer" instance=ExtResource( 1 )]
margin_left = 0.0
margin_top = 86.0
margin_right = 506.0
margin_bottom = 168.0
[node name="ItemContainer4" parent="PagedContent/GridContainer" instance=ExtResource( 1 )]
margin_left = 510.0
margin_top = 86.0
margin_right = 1016.0
margin_bottom = 168.0
[node name="ItemContainer5" parent="PagedContent/GridContainer" instance=ExtResource( 1 )]
margin_left = 0.0
margin_top = 172.0
margin_right = 506.0
margin_bottom = 254.0
[node name="ItemContainer6" parent="PagedContent/GridContainer" instance=ExtResource( 1 )]
margin_left = 510.0
margin_top = 172.0
margin_right = 1016.0
margin_bottom = 254.0
[node name="ItemContainer7" parent="PagedContent/GridContainer" instance=ExtResource( 1 )]
margin_left = 0.0
margin_top = 258.0
margin_right = 506.0
margin_bottom = 340.0
[node name="ItemContainer8" parent="PagedContent/GridContainer" instance=ExtResource( 1 )]
margin_left = 510.0
margin_top = 258.0
margin_right = 1016.0
margin_bottom = 340.0
[node name="ItemContainer9" parent="PagedContent/GridContainer" instance=ExtResource( 1 )]
margin_left = 0.0
margin_top = 344.0
margin_right = 506.0
margin_bottom = 426.0
[node name="ItemContainer10" parent="PagedContent/GridContainer" instance=ExtResource( 1 )]
margin_left = 510.0
margin_top = 344.0
margin_right = 1016.0
margin_bottom = 426.0
[node name="ItemContainer11" parent="PagedContent/GridContainer" instance=ExtResource( 1 )]
margin_left = 0.0
margin_top = 430.0
margin_right = 506.0
margin_bottom = 512.0
[node name="ItemContainer12" parent="PagedContent/GridContainer" instance=ExtResource( 1 )]
margin_left = 510.0
margin_top = 430.0
margin_right = 1016.0
margin_bottom = 512.0
[node name="Controls" type="MarginContainer" parent="PagedContent"]
margin_top = 562.0
margin_right = 1016.0
margin_bottom = 592.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="PagedContent/Controls"]
margin_left = 2.0
margin_top = 2.0
margin_right = 1014.0
margin_bottom = 28.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Button2" type="Button" parent="PagedContent/Controls/HBoxContainer"]
margin_right = 334.0
margin_bottom = 26.5702
size_flags_horizontal = 3
size_flags_vertical = 3
text = "< Previous page"
[node name="Spacer" type="Control" parent="PagedContent/Controls/HBoxContainer"]
margin_left = 338.0
margin_right = 673.0
margin_bottom = 26.0
size_flags_horizontal = 3
[node name="Button" type="Button" parent="PagedContent/Controls/HBoxContainer"]
margin_left = 677.0
margin_right = 1012.0
margin_bottom = 26.5702
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Next page >"
[connection signal="pressed" from="PagedContent/Header/Button" to="." method="hide"]