ile-de-test/scenes/interface/page_login.tscn

94 lines
3.2 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_3pj1o"]
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
[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_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 = 88.5
offset_top = 208.0
offset_right = 292.5
offset_bottom = 350.0
grow_horizontal = 2
[node name="vBoxContainer_login" type="VBoxContainer" parent="boxContainer_login"]
layout_direction = 1
layout_mode = 2
[node name="login" type="Button" parent="boxContainer_login/vBoxContainer_login"]
custom_minimum_size = Vector2(200, 40)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_3pj1o")
text = "Login"
[node name="text_username" type="TextEdit" parent="boxContainer_login/vBoxContainer_login"]
custom_minimum_size = Vector2(0, 30)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_mci7p")
placeholder_text = "Usermane"
[node name="text_password" type="TextEdit" parent="boxContainer_login/vBoxContainer_login"]
custom_minimum_size = Vector2(0, 30)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_14t2b")
placeholder_text = "Password"
[node name="button_settings" type="Button" parent="boxContainer_login/vBoxContainer_login"]
custom_minimum_size = Vector2(200, 30)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_wkhpl")
text = "Settings"
[node name="button_quit" type="Button" parent="boxContainer_login/vBoxContainer_login"]
custom_minimum_size = Vector2(200, 30)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_wkhpl")
text = "Quit"
[node name="button_patch" type="Button" parent="."]
layout_mode = 0
offset_left = 600.0
offset_top = 550.0
offset_right = 758.0
offset_bottom = 581.0
theme_override_styles/normal = SubResource("StyleBoxFlat_2nlmp")
text = "PATCH"
[connection signal="pressed" from="boxContainer_login/vBoxContainer_login/login" to="." method="_on_login_pressed"]
[connection signal="pressed" from="boxContainer_login/vBoxContainer_login/button_settings" to="." method="_on_settings_pressed"]
[connection signal="button_down" from="boxContainer_login/vBoxContainer_login/button_quit" to="." method="_on_quit_button_down"]