2020-03-21 09:10:26 +00:00
|
|
|
[gd_scene load_steps=4 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://scenes/interfaces/creatures_menu/creatures_menu_ui.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://assets/interfaces/settings-Khanat-background.png" type="Texture" id=2]
|
2020-03-22 11:47:14 +00:00
|
|
|
[ext_resource path="res://assets/interfaces/themes/khanat_theme.theme" type="Theme" id=3]
|
|
|
|
|
2020-03-21 09:10:26 +00:00
|
|
|
[node name="creatures_menu_ui" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
theme = ExtResource( 3 )
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="background" type="TextureRect" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
texture = ExtResource( 2 )
|
2021-06-08 20:53:17 +00:00
|
|
|
expand = true
|
2020-03-21 09:10:26 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="screen_box" type="CenterContainer" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="scroll_container" type="ScrollContainer" parent="screen_box"]
|
|
|
|
margin_left = 340.0
|
2020-10-15 17:23:55 +00:00
|
|
|
margin_top = 160.0
|
2020-03-21 09:10:26 +00:00
|
|
|
margin_right = 940.0
|
2020-10-15 17:23:55 +00:00
|
|
|
margin_bottom = 560.0
|
2020-03-21 09:10:26 +00:00
|
|
|
rect_min_size = Vector2( 600, 400 )
|
|
|
|
|
|
|
|
[node name="v_box_container" type="VBoxContainer" parent="screen_box/scroll_container"]
|
|
|
|
margin_right = 600.0
|
|
|
|
margin_bottom = 400.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="creatures_box" type="VBoxContainer" parent="screen_box/scroll_container/v_box_container"]
|
|
|
|
margin_right = 600.0
|
|
|
|
margin_bottom = 326.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="new" type="Button" parent="screen_box/scroll_container/v_box_container"]
|
2021-05-27 21:56:16 +00:00
|
|
|
margin_left = 244.0
|
2020-03-21 09:10:26 +00:00
|
|
|
margin_top = 330.0
|
2021-05-27 21:56:16 +00:00
|
|
|
margin_right = 355.0
|
2020-03-21 09:10:26 +00:00
|
|
|
margin_bottom = 363.0
|
|
|
|
size_flags_horizontal = 4
|
2021-05-27 21:56:16 +00:00
|
|
|
text = "New creature"
|
2020-03-21 09:10:26 +00:00
|
|
|
|
|
|
|
[node name="cancel" type="Button" parent="screen_box/scroll_container/v_box_container"]
|
2021-05-27 21:56:16 +00:00
|
|
|
margin_left = 267.0
|
2020-03-21 09:10:26 +00:00
|
|
|
margin_top = 367.0
|
|
|
|
margin_right = 332.0
|
|
|
|
margin_bottom = 400.0
|
|
|
|
size_flags_horizontal = 4
|
2021-05-27 21:56:16 +00:00
|
|
|
text = "Cancel"
|
|
|
|
|
2020-03-21 09:10:26 +00:00
|
|
|
[connection signal="pressed" from="screen_box/scroll_container/v_box_container/new" to="." method="_on_new_pressed"]
|
|
|
|
[connection signal="pressed" from="screen_box/scroll_container/v_box_container/cancel" to="." method="_on_cancel_pressed"]
|