135 lines
4.8 KiB
Text
135 lines
4.8 KiB
Text
[gd_scene load_steps=8 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://script/interface/page_login.gd" id="1_dotvb"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mci7p"]
|
|
bg_color = Color(0.388235, 0.34902, 0.858824, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_14t2b"]
|
|
bg_color = Color(0.388235, 0.34902, 0.858824, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3pj1o"]
|
|
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wkhpl"]
|
|
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2nlmp"]
|
|
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
|
|
|
|
[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")
|
|
|
|
[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 = 150.0
|
|
offset_right = 414.5
|
|
offset_bottom = 350.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_override_font_sizes/font_size = 20
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_mci7p")
|
|
placeholder_text = "#todo Usermane"
|
|
|
|
[node name="text_password" type="TextEdit" parent="boxContainer_login/vBoxContainer_login"]
|
|
visible = false
|
|
custom_minimum_size = Vector2(0, 40)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 20
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_14t2b")
|
|
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_override_styles/normal = SubResource("StyleBoxFlat_3pj1o")
|
|
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_override_styles/normal = SubResource("StyleBoxFlat_3pj1o")
|
|
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_override_styles/normal = SubResource("StyleBoxFlat_3pj1o")
|
|
text = "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_override_styles/normal = SubResource("StyleBoxFlat_wkhpl")
|
|
text = "QUIT"
|
|
|
|
[node name="button_settings" type="Button" parent="boxContainer_login/VBoxContainer"]
|
|
custom_minimum_size = Vector2(150, 50)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_wkhpl")
|
|
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
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_wkhpl")
|
|
text = "HELP"
|
|
|
|
[node name="button_patch" type="Button" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 563.0
|
|
offset_top = 556.0
|
|
offset_right = 744.0
|
|
offset_bottom = 587.0
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_2nlmp")
|
|
text = "#todo SELECT_PATCH"
|
|
|
|
[node name="text_patch" type="TextEdit" parent="."]
|
|
layout_mode = 2
|
|
offset_left = 752.0
|
|
offset_top = 556.0
|
|
offset_right = 1104.0
|
|
offset_bottom = 586.0
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_mci7p")
|
|
text = "#todo message pour le patch"
|
|
|
|
[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"]
|