2023-11-26 16:22:53 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://kkwgk2l7gu4n"]
|
2023-10-05 18:02:23 +00:00
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://umey1bnaop31" path="res://assets/background/Login-Khanat-background.png" id="1_den6m"]
|
|
|
|
[ext_resource type="Script" path="res://script/interface/page_login.gd" id="1_dotvb"]
|
2023-11-26 16:22:53 +00:00
|
|
|
[ext_resource type="Theme" uid="uid://boqakd3l3vldf" path="res://assets/tres/khanat.tres" id="3_ohllw"]
|
2023-10-05 18:02:23 +00:00
|
|
|
|
|
|
|
[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
|
|
|
|
script = ExtResource("1_dotvb")
|
|
|
|
|
2023-10-23 15:21:27 +00:00
|
|
|
[node name="background" type="TextureRect" parent="."]
|
2023-10-05 18:02:23 +00:00
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 1280.0
|
|
|
|
offset_bottom = 720.0
|
|
|
|
texture = ExtResource("1_den6m")
|
|
|
|
|
2023-10-23 15:21:27 +00:00
|
|
|
[node name="boxContainer_login" type="BoxContainer" parent="."]
|
2023-10-05 18:02:23 +00:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = -1
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_right = 0.5
|
2023-10-28 14:51:33 +00:00
|
|
|
offset_left = -19.5
|
|
|
|
offset_top = 150.0
|
|
|
|
offset_right = 414.5
|
2023-10-05 18:02:23 +00:00
|
|
|
offset_bottom = 350.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
2023-10-23 15:21:27 +00:00
|
|
|
[node name="vBoxContainer_login" type="VBoxContainer" parent="boxContainer_login"]
|
2023-10-05 18:02:23 +00:00
|
|
|
layout_direction = 1
|
|
|
|
layout_mode = 2
|
2023-10-28 14:51:33 +00:00
|
|
|
size_flags_horizontal = 3
|
2023-10-05 18:02:23 +00:00
|
|
|
|
2023-10-23 15:21:27 +00:00
|
|
|
[node name="text_username" type="TextEdit" parent="boxContainer_login/vBoxContainer_login"]
|
2023-10-28 14:51:33 +00:00
|
|
|
custom_minimum_size = Vector2(0, 40)
|
2023-10-05 18:02:23 +00:00
|
|
|
layout_mode = 2
|
2023-11-26 16:22:53 +00:00
|
|
|
theme = ExtResource("3_ohllw")
|
2023-10-28 14:51:33 +00:00
|
|
|
theme_override_font_sizes/font_size = 20
|
|
|
|
placeholder_text = "#todo Usermane"
|
2023-10-05 18:02:23 +00:00
|
|
|
|
2023-10-23 15:21:27 +00:00
|
|
|
[node name="text_password" type="TextEdit" parent="boxContainer_login/vBoxContainer_login"]
|
2023-10-28 14:51:33 +00:00
|
|
|
custom_minimum_size = Vector2(0, 40)
|
2023-10-05 18:02:23 +00:00
|
|
|
layout_mode = 2
|
2023-11-26 16:22:53 +00:00
|
|
|
theme = ExtResource("3_ohllw")
|
2023-10-28 14:51:33 +00:00
|
|
|
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
|
2023-11-26 16:22:53 +00:00
|
|
|
theme = ExtResource("3_ohllw")
|
2023-10-28 14:51:33 +00:00
|
|
|
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
|
2023-11-26 16:22:53 +00:00
|
|
|
theme = ExtResource("3_ohllw")
|
2023-10-28 14:51:33 +00:00
|
|
|
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
|
2023-11-26 16:22:53 +00:00
|
|
|
theme = ExtResource("3_ohllw")
|
2023-10-28 14:51:33 +00:00
|
|
|
text = "LOGIN"
|
2023-10-05 18:02:23 +00:00
|
|
|
|
2023-10-28 14:51:33 +00:00
|
|
|
[node name="button_quit" type="Button" parent="boxContainer_login/VBoxContainer"]
|
|
|
|
custom_minimum_size = Vector2(150, 40)
|
2023-10-23 15:21:27 +00:00
|
|
|
layout_mode = 2
|
2023-10-28 14:51:33 +00:00
|
|
|
size_flags_horizontal = 4
|
2023-11-26 16:22:53 +00:00
|
|
|
theme = ExtResource("3_ohllw")
|
2023-10-28 14:51:33 +00:00
|
|
|
text = "QUIT"
|
2023-10-23 15:21:27 +00:00
|
|
|
|
2023-10-28 14:51:33 +00:00
|
|
|
[node name="button_settings" type="Button" parent="boxContainer_login/VBoxContainer"]
|
|
|
|
custom_minimum_size = Vector2(150, 50)
|
2023-10-05 18:02:23 +00:00
|
|
|
layout_mode = 2
|
2023-10-28 14:51:33 +00:00
|
|
|
size_flags_horizontal = 4
|
2023-11-26 16:22:53 +00:00
|
|
|
theme = ExtResource("3_ohllw")
|
2023-10-28 14:51:33 +00:00
|
|
|
text = "SETTINGS"
|
|
|
|
|
|
|
|
[node name="button_help" type="Button" parent="boxContainer_login/VBoxContainer"]
|
|
|
|
custom_minimum_size = Vector2(150, 50)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
2023-11-26 16:22:53 +00:00
|
|
|
theme = ExtResource("3_ohllw")
|
2023-10-28 14:51:33 +00:00
|
|
|
text = "HELP"
|
2023-10-05 18:02:23 +00:00
|
|
|
|
2023-10-23 15:21:27 +00:00
|
|
|
[node name="button_patch" type="Button" parent="."]
|
2023-10-05 18:02:23 +00:00
|
|
|
layout_mode = 0
|
2023-10-28 14:51:33 +00:00
|
|
|
offset_left = 563.0
|
|
|
|
offset_top = 556.0
|
|
|
|
offset_right = 744.0
|
|
|
|
offset_bottom = 587.0
|
2023-11-26 16:22:53 +00:00
|
|
|
theme = ExtResource("3_ohllw")
|
2023-10-28 14:51:33 +00:00
|
|
|
text = "#todo SELECT_PATCH"
|
|
|
|
|
|
|
|
[node name="text_patch" type="TextEdit" parent="."]
|
|
|
|
layout_mode = 2
|
|
|
|
offset_left = 752.0
|
2023-11-26 16:22:53 +00:00
|
|
|
offset_top = 558.0
|
2023-10-28 14:51:33 +00:00
|
|
|
offset_right = 1104.0
|
2023-11-26 16:22:53 +00:00
|
|
|
offset_bottom = 588.0
|
|
|
|
theme = ExtResource("3_ohllw")
|
2023-10-28 14:51:33 +00:00
|
|
|
text = "#todo message pour le patch"
|
2023-10-05 18:02:23 +00:00
|
|
|
|
2023-10-28 14:51:33 +00:00
|
|
|
[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_settings" to="." method="_on_settings_pressed"]
|
|
|
|
[connection signal="pressed" from="boxContainer_login/VBoxContainer/button_help" to="." method="_on_button_help_pressed"]
|