117 lines
3.9 KiB
Text
117 lines
3.9 KiB
Text
|
[gd_scene load_steps=4 format=3 uid="uid://kkwgk2l7gu4n"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://umey1bnaop31" path="res://assets/background/Login-Khanat-background.png" id="1_den6m"]
|
||
|
[ext_resource type="Script" path="res://scripts/interface/page_login.gd" id="1_dotvb"]
|
||
|
[ext_resource type="Theme" uid="uid://qdstcmrdbjar" path="res://assets/tres/khaganat.tres" id="1_vdkuo"]
|
||
|
|
||
|
[node name="page_login" type="Control"]
|
||
|
layout_mode = 3
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
offset_right = 127.0
|
||
|
offset_bottom = 68.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
theme = ExtResource("1_vdkuo")
|
||
|
script = ExtResource("1_dotvb")
|
||
|
|
||
|
[node name="background" type="TextureRect" parent="."]
|
||
|
layout_mode = 0
|
||
|
offset_right = 1280.0
|
||
|
offset_bottom = 720.0
|
||
|
texture = ExtResource("1_den6m")
|
||
|
|
||
|
[node name="boxContainer_login" type="BoxContainer" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = -1
|
||
|
anchor_left = 0.5
|
||
|
anchor_right = 0.5
|
||
|
offset_left = -19.5
|
||
|
offset_top = 311.0
|
||
|
offset_right = 477.5
|
||
|
offset_bottom = 513.0
|
||
|
grow_horizontal = 2
|
||
|
|
||
|
[node name="vBoxContainer_login" type="VBoxContainer" parent="boxContainer_login"]
|
||
|
layout_direction = 1
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 3
|
||
|
|
||
|
[node name="text_username" type="TextEdit" parent="boxContainer_login/vBoxContainer_login"]
|
||
|
custom_minimum_size = Vector2(0, 40)
|
||
|
layout_mode = 2
|
||
|
theme = ExtResource("1_vdkuo")
|
||
|
theme_override_font_sizes/font_size = 20
|
||
|
placeholder_text = "#todo Username"
|
||
|
|
||
|
[node name="text_password" type="TextEdit" parent="boxContainer_login/vBoxContainer_login"]
|
||
|
custom_minimum_size = Vector2(0, 40)
|
||
|
layout_mode = 2
|
||
|
theme = ExtResource("1_vdkuo")
|
||
|
theme_override_font_sizes/font_size = 20
|
||
|
placeholder_text = "#todo Password"
|
||
|
|
||
|
[node name="button_creationcompte" type="Button" parent="boxContainer_login/vBoxContainer_login"]
|
||
|
custom_minimum_size = Vector2(200, 50)
|
||
|
layout_mode = 2
|
||
|
theme = ExtResource("1_vdkuo")
|
||
|
text = "#todo Creation ou gestion
|
||
|
de compte"
|
||
|
|
||
|
[node name="button_forgetpass" type="Button" parent="boxContainer_login/vBoxContainer_login"]
|
||
|
custom_minimum_size = Vector2(200, 50)
|
||
|
layout_mode = 2
|
||
|
theme = ExtResource("1_vdkuo")
|
||
|
text = "#todo J'ai oubliez mon mot de passe"
|
||
|
|
||
|
[node name="VBoxContainer" type="VBoxContainer" parent="boxContainer_login"]
|
||
|
layout_mode = 2
|
||
|
|
||
|
[node name="button_login" type="Button" parent="boxContainer_login/VBoxContainer"]
|
||
|
custom_minimum_size = Vector2(150, 40)
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 4
|
||
|
theme = ExtResource("1_vdkuo")
|
||
|
text = "#todo LOGIN"
|
||
|
|
||
|
[node name="button_quit" type="Button" parent="boxContainer_login/VBoxContainer"]
|
||
|
custom_minimum_size = Vector2(150, 40)
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 4
|
||
|
theme = ExtResource("1_vdkuo")
|
||
|
text = "QUIT"
|
||
|
|
||
|
[node name="button_login_sc" type="Button" parent="boxContainer_login/VBoxContainer"]
|
||
|
custom_minimum_size = Vector2(150, 50)
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 4
|
||
|
theme = ExtResource("1_vdkuo")
|
||
|
text = "LOGIN
|
||
|
sans compte"
|
||
|
|
||
|
[node name="button_help" type="Button" parent="boxContainer_login/VBoxContainer"]
|
||
|
custom_minimum_size = Vector2(150, 50)
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 4
|
||
|
theme = ExtResource("1_vdkuo")
|
||
|
text = "HELP"
|
||
|
|
||
|
[node name="label_titre" type="Label" parent="."]
|
||
|
layout_mode = 0
|
||
|
offset_left = 343.0
|
||
|
offset_top = 57.0
|
||
|
offset_right = 880.0
|
||
|
offset_bottom = 194.0
|
||
|
theme = ExtResource("1_vdkuo")
|
||
|
theme_override_font_sizes/font_size = 100
|
||
|
text = "KHASTORE"
|
||
|
|
||
|
[connection signal="pressed" from="boxContainer_login/vBoxContainer_login/button_forgetpass" to="." method="_on_button_forgetPass_pressed"]
|
||
|
[connection signal="pressed" from="boxContainer_login/VBoxContainer/button_login" to="." method="_on_login_pressed"]
|
||
|
[connection signal="button_down" from="boxContainer_login/VBoxContainer/button_quit" to="." method="_on_quit_button_down"]
|
||
|
[connection signal="pressed" from="boxContainer_login/VBoxContainer/button_login_sc" to="." method="_on_login_pressed"]
|
||
|
[connection signal="pressed" from="boxContainer_login/VBoxContainer/button_help" to="." method="_on_button_help_pressed"]
|