86 lines
1.8 KiB
Plaintext
86 lines
1.8 KiB
Plaintext
|
[gd_scene load_steps=2 format=3 uid="uid://cqbt3uasjeh53"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://Scenes/2024/01.gd" id="1_qvnl7"]
|
||
|
|
||
|
[node name="Control" type="Control"]
|
||
|
layout_mode = 3
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
script = ExtResource("1_qvnl7")
|
||
|
|
||
|
[node name="Input" type="TextEdit" parent="."]
|
||
|
layout_mode = 0
|
||
|
offset_left = 11.0
|
||
|
offset_top = 95.0
|
||
|
offset_right = 275.0
|
||
|
offset_bottom = 253.0
|
||
|
|
||
|
[node name="Label" type="Label" parent="."]
|
||
|
layout_mode = 0
|
||
|
offset_left = 16.0
|
||
|
offset_top = 58.0
|
||
|
offset_right = 108.0
|
||
|
offset_bottom = 81.0
|
||
|
text = "Enter input:"
|
||
|
|
||
|
[node name="Go" type="Button" parent="."]
|
||
|
layout_mode = 0
|
||
|
offset_left = 26.0
|
||
|
offset_top = 284.0
|
||
|
offset_right = 60.0
|
||
|
offset_bottom = 315.0
|
||
|
text = "Go!"
|
||
|
|
||
|
[node name="Quit" type="Button" parent="."]
|
||
|
layout_mode = 0
|
||
|
offset_left = 28.0
|
||
|
offset_top = 472.0
|
||
|
offset_right = 70.0
|
||
|
offset_bottom = 503.0
|
||
|
text = "Quit
|
||
|
"
|
||
|
|
||
|
[node name="Part1Out" type="Label" parent="."]
|
||
|
layout_mode = 0
|
||
|
offset_left = 93.0
|
||
|
offset_top = 342.0
|
||
|
offset_right = 212.0
|
||
|
offset_bottom = 365.0
|
||
|
text = "Results go here"
|
||
|
|
||
|
[node name="Error" type="Label" parent="."]
|
||
|
layout_mode = 0
|
||
|
offset_left = 380.0
|
||
|
offset_top = 288.0
|
||
|
offset_right = 420.0
|
||
|
offset_bottom = 311.0
|
||
|
text = "Errors go here"
|
||
|
|
||
|
[node name="Part1Label" type="Label" parent="."]
|
||
|
layout_mode = 0
|
||
|
offset_left = 28.0
|
||
|
offset_top = 340.0
|
||
|
offset_right = 68.0
|
||
|
offset_bottom = 363.0
|
||
|
text = "Part 1:"
|
||
|
|
||
|
[node name="Part2Out" type="Label" parent="."]
|
||
|
offset_left = 91.0
|
||
|
offset_top = 385.0
|
||
|
offset_right = 210.0
|
||
|
offset_bottom = 408.0
|
||
|
text = "Results go here"
|
||
|
|
||
|
[node name="Part2Label" type="Label" parent="."]
|
||
|
offset_left = 26.0
|
||
|
offset_top = 383.0
|
||
|
offset_right = 77.0
|
||
|
offset_bottom = 406.0
|
||
|
text = "Part 2:"
|
||
|
|
||
|
[connection signal="pressed" from="Go" to="." method="_on_go_pressed"]
|
||
|
[connection signal="pressed" from="Quit" to="." method="_on_quit_pressed"]
|