80 lines
2.1 KiB
Text
80 lines
2.1 KiB
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://assets/interfaces/Login-Khanat-background.png" type="Texture" id=1]
|
|
[ext_resource path="res://assets/interfaces/themes/khanat_theme.theme" type="Theme" id=2]
|
|
[ext_resource path="res://scenes/interfaces/main_menu/main_menu.gd" type="Script" id=3]
|
|
|
|
|
|
[node name="main_menu" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
theme = ExtResource( 2 )
|
|
script = ExtResource( 3 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="background" type="TextureRect" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
texture = ExtResource( 1 )
|
|
expand = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="screen_box" type="MarginContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
custom_constants/margin_left = 280
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="login_box" type="VBoxContainer" parent="screen_box"]
|
|
margin_left = 652.0
|
|
margin_top = 277.0
|
|
margin_right = 908.0
|
|
margin_bottom = 442.0
|
|
size_flags_horizontal = 6
|
|
size_flags_vertical = 6
|
|
|
|
[node name="error" type="Label" parent="screen_box/login_box"]
|
|
margin_right = 256.0
|
|
margin_bottom = 17.0
|
|
custom_colors/font_color = Color( 1, 0.0470588, 0, 1 )
|
|
align = 1
|
|
valign = 1
|
|
autowrap = true
|
|
|
|
[node name="play" type="Button" parent="screen_box/login_box"]
|
|
margin_top = 21.0
|
|
margin_right = 256.0
|
|
margin_bottom = 54.0
|
|
text = "Jouer"
|
|
|
|
[node name="username" type="LineEdit" parent="screen_box/login_box"]
|
|
margin_top = 58.0
|
|
margin_right = 256.0
|
|
margin_bottom = 91.0
|
|
rect_min_size = Vector2( 256, 0 )
|
|
align = 1
|
|
placeholder_text = "Username"
|
|
|
|
[node name="password" type="LineEdit" parent="screen_box/login_box"]
|
|
margin_top = 95.0
|
|
margin_right = 256.0
|
|
margin_bottom = 128.0
|
|
rect_min_size = Vector2( 256, 0 )
|
|
align = 1
|
|
secret = true
|
|
placeholder_text = "Password"
|
|
|
|
[node name="quitter" type="Button" parent="screen_box/login_box"]
|
|
margin_top = 132.0
|
|
margin_right = 256.0
|
|
margin_bottom = 165.0
|
|
text = "Quitter"
|
|
[connection signal="pressed" from="screen_box/login_box/play" to="." method="_on_play_pressed"]
|
|
[connection signal="pressed" from="screen_box/login_box/quitter" to="." method="_on_quitter_pressed"]
|