alai/godot/monitor/GUI.tscn

239 lines
7.5 KiB
Plaintext

[gd_scene load_steps=18 format=2]
[ext_resource path="res://assets/fonts/data/PixelOperator.tres" type="DynamicFontData" id=1]
[ext_resource path="res://assets/fonts/data/PixelOperator-Bold.tres" type="DynamicFontData" id=2]
[ext_resource path="res://monitor/Rut.gd" type="Script" id=3]
[ext_resource path="res://monitor/Text.gd" type="Script" id=4]
[ext_resource path="res://monitor/EnterButton.gd" type="Script" id=5]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=2]
size = 12
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=3]
size = 12
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=4]
size = 12
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=9]
size = 8
extra_spacing_top = 2
font_data = ExtResource( 1 )
[sub_resource type="StyleBoxFlat" id=5]
content_margin_left = 5.0
content_margin_right = 5.0
bg_color = Color( 0.313726, 0.290196, 0.290196, 0.752941 )
border_blend = true
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="DynamicFont" id=10]
size = 8
extra_spacing_top = 2
font_data = ExtResource( 1 )
[sub_resource type="StyleBoxFlat" id=6]
content_margin_left = 5.0
content_margin_right = 5.0
bg_color = Color( 0.313726, 0.290196, 0.290196, 0.752941 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="DynamicFont" id=8]
size = 8
extra_spacing_top = 2
font_data = ExtResource( 1 )
[sub_resource type="StyleBoxFlat" id=7]
content_margin_left = 5.0
content_margin_right = 5.0
bg_color = Color( 0.313726, 0.290196, 0.290196, 0.752941 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="DynamicFont" id=11]
size = 12
extra_spacing_top = 2
extra_spacing_bottom = 2
extra_spacing_char = 2
extra_spacing_space = 2
font_data = ExtResource( 2 )
[sub_resource type="StyleBoxFlat" id=12]
content_margin_left = 5.0
content_margin_right = 5.0
content_margin_top = 5.0
content_margin_bottom = 5.0
bg_color = Color( 0.313726, 0.290196, 0.290196, 0.752941 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[node name="MonitorGUI" type="CanvasLayer"]
pause_mode = 2
[node name="ColorRect" type="ColorRect" parent="."]
margin_right = 40.0
margin_bottom = 40.0
rect_min_size = Vector2( 512, 288 )
color = Color( 0.0117647, 0.00784314, 0.00784314, 0.376471 )
[node name="GUI" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
rect_min_size = Vector2( 512, 0 )
[node name="VBoxContainer" type="VBoxContainer" parent="GUI"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="CenterContainer" type="CenterContainer" parent="GUI/VBoxContainer"]
margin_right = 512.0
margin_bottom = 96.0
rect_min_size = Vector2( 0, 96 )
size_flags_horizontal = 3
[node name="Label" type="Label" parent="GUI/VBoxContainer/CenterContainer"]
margin_top = 30.0
margin_right = 512.0
margin_bottom = 65.0
rect_min_size = Vector2( 512, 0 )
custom_fonts/font = SubResource( 1 )
text = "Ingresa su nombre completo, RUT y email por favor!"
align = 1
autowrap = true
[node name="CenterContainer2" type="CenterContainer" parent="GUI/VBoxContainer"]
margin_top = 100.0
margin_right = 512.0
margin_bottom = 196.0
rect_min_size = Vector2( 0, 96 )
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="HBoxContainer" type="HBoxContainer" parent="GUI/VBoxContainer/CenterContainer2"]
margin_left = 6.0
margin_top = 14.0
margin_right = 506.0
margin_bottom = 82.0
rect_min_size = Vector2( 500, 0 )
size_flags_horizontal = 13
size_flags_vertical = 13
[node name="VBoxContainer" type="VBoxContainer" parent="GUI/VBoxContainer/CenterContainer2/HBoxContainer"]
margin_right = 74.0
margin_bottom = 68.0
size_flags_vertical = 3
[node name="Label" type="Label" parent="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer"]
margin_top = 3.0
margin_right = 74.0
margin_bottom = 16.0
size_flags_vertical = 6
custom_fonts/font = SubResource( 2 )
text = "Nombre"
align = 2
[node name="Label2" type="Label" parent="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer"]
margin_top = 27.0
margin_right = 74.0
margin_bottom = 40.0
size_flags_vertical = 6
custom_fonts/font = SubResource( 3 )
text = "RUT"
align = 2
[node name="Label3" type="Label" parent="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer"]
margin_top = 51.0
margin_right = 74.0
margin_bottom = 64.0
size_flags_vertical = 6
custom_fonts/font = SubResource( 4 )
text = "Email"
align = 2
[node name="VBoxContainer2" type="VBoxContainer" parent="GUI/VBoxContainer/CenterContainer2/HBoxContainer"]
margin_left = 78.0
margin_right = 500.0
margin_bottom = 68.0
size_flags_horizontal = 3
[node name="Name" type="TextEdit" parent="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer2"]
unique_name_in_owner = true
margin_right = 422.0
margin_bottom = 20.0
rect_min_size = Vector2( 300, 20 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_fonts/font = SubResource( 9 )
custom_styles/normal = SubResource( 5 )
text = "Christopher Barry Cromer"
caret_blink = true
script = ExtResource( 4 )
[node name="Rut" type="TextEdit" parent="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer2"]
unique_name_in_owner = true
margin_top = 24.0
margin_right = 422.0
margin_bottom = 44.0
rect_min_size = Vector2( 0, 20 )
custom_fonts/font = SubResource( 10 )
custom_styles/normal = SubResource( 6 )
text = "23.660.457-8"
caret_blink = true
script = ExtResource( 3 )
[node name="Email" type="TextEdit" parent="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer2"]
unique_name_in_owner = true
margin_top = 48.0
margin_right = 422.0
margin_bottom = 68.0
rect_min_size = Vector2( 0, 20 )
custom_fonts/font = SubResource( 8 )
custom_styles/normal = SubResource( 7 )
text = "christohper.cromer1501@alumnos.ubiobio.cl"
caret_blink = true
script = ExtResource( 4 )
[node name="CenterContainer3" type="CenterContainer" parent="GUI/VBoxContainer"]
margin_top = 200.0
margin_right = 512.0
margin_bottom = 296.0
rect_min_size = Vector2( 0, 96 )
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Button" type="Button" parent="GUI/VBoxContainer/CenterContainer3"]
margin_left = 197.0
margin_top = 34.0
margin_right = 314.0
margin_bottom = 61.0
focus_mode = 0
custom_fonts/font = SubResource( 11 )
custom_styles/normal = SubResource( 12 )
enabled_focus_mode = 0
text = "Ingresar"
script = ExtResource( 5 )
[connection signal="text_changed" from="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer2/Name" to="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer2/Name" method="_on_text_changed"]
[connection signal="focus_exited" from="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer2/Rut" to="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer2/Rut" method="_on_Rut_focus_exited"]
[connection signal="text_changed" from="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer2/Rut" to="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer2/Rut" method="_on_Rut_text_changed"]
[connection signal="text_changed" from="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer2/Email" to="GUI/VBoxContainer/CenterContainer2/HBoxContainer/VBoxContainer2/Email" method="_on_text_changed"]
[connection signal="pressed" from="GUI/VBoxContainer/CenterContainer3/Button" to="GUI/VBoxContainer/CenterContainer3/Button" method="_on_Button_pressed"]