ile-de-test/scenes/interface/page_login.tscn
2023-10-05 20:02:23 +02:00

87 lines
2.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_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" 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 = 310.5
offset_bottom = 350.0
grow_horizontal = 2
[node name="VBoxContainer" type="VBoxContainer" parent="BoxContainer"]
layout_direction = 1
layout_mode = 2
[node name="login" type="Button" parent="BoxContainer/VBoxContainer"]
custom_minimum_size = Vector2(200, 40)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_3pj1o")
text = "Login"
[node name="TextEdit" type="TextEdit" parent="BoxContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 30)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_mci7p")
placeholder_text = "usermane"
[node name="TextEdit2" type="TextEdit" parent="BoxContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 30)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_14t2b")
placeholder_text = "password"
[node name="quit" type="Button" parent="BoxContainer/VBoxContainer"]
custom_minimum_size = Vector2(200, 30)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_wkhpl")
text = "Quit"
[node name="Button" 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/VBoxContainer/login" to="." method="_on_login_pressed"]
[connection signal="button_down" from="BoxContainer/VBoxContainer/quit" to="." method="_on_quit_button_down"]