66 lines
2 KiB
Text
66 lines
2 KiB
Text
[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]
|
|
[ext_resource path="res://assets/interfaces/themes/login_theme.theme" type="Theme" id=3]
|
|
|
|
[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 )
|
|
__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
|
|
margin_top = 159.0
|
|
margin_right = 940.0
|
|
margin_bottom = 559.0
|
|
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"]
|
|
margin_left = 196.0
|
|
margin_top = 330.0
|
|
margin_right = 404.0
|
|
margin_bottom = 363.0
|
|
size_flags_horizontal = 4
|
|
text = "Créer une nouvel créature."
|
|
|
|
[node name="cancel" type="Button" parent="screen_box/scroll_container/v_box_container"]
|
|
margin_left = 268.0
|
|
margin_top = 367.0
|
|
margin_right = 332.0
|
|
margin_bottom = 400.0
|
|
size_flags_horizontal = 4
|
|
text = "Retour"
|
|
[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"]
|