Files
cobor/nodes/robots/coding/programming_ui.tscn
2025-08-31 17:08:50 +02:00

78 lines
2.6 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://c2es6v8lb8tug"]
[ext_resource type="Script" uid="uid://csub2er5wvqj3" path="res://nodes/robots/coding/programming_ui.gd" id="1_qk3c3"]
[node name="ProgrammingUI" type="PanelContainer"]
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 314.0
grow_vertical = 2
script = ExtResource("1_qk3c3")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2
theme_override_constants/separation = 10
[node name="Label" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Programming"
horizontal_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
text = " Source Code "
[node name="Code" type="CodeEdit" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
size_flags_vertical = 3
placeholder_text = "Code here..."
symbol_tooltip_on_hover = true
gutters_draw_executing_lines = true
gutters_draw_line_numbers = true
gutters_zero_pad_line_numbers = true
indent_automatic = true
[node name="Memory" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 10
alignment = 1
[node name="compileButton" type="Button" parent="VBoxContainer/HBoxContainer2"]
layout_mode = 2
text = "[C]"
[node name="StopButton" type="Button" parent="VBoxContainer/HBoxContainer2"]
layout_mode = 2
text = "[ ]"
[node name="PlayButton" type="Button" parent="VBoxContainer/HBoxContainer2"]
layout_mode = 2
text = ">"
[node name="PauseButton" type="Button" parent="VBoxContainer/HBoxContainer2"]
layout_mode = 2
text = "||"
[node name="StepButton" type="Button" parent="VBoxContainer/HBoxContainer2"]
layout_mode = 2
text = ">|"
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/compileButton" to="." method="_on_compile_button_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/StopButton" to="." method="_on_stop_button_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/PlayButton" to="." method="_on_play_button_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/PauseButton" to="." method="_on_pause_button_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/StepButton" to="." method="_on_step_button_pressed"]