2020-09-24 10:10:14 +02:00
|
|
|
[gd_scene load_steps=7 format=2]
|
2020-09-03 19:22:46 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=1]
|
|
|
|
[ext_resource path="res://terminal.gd" type="Script" id=2]
|
2020-09-24 10:10:14 +02:00
|
|
|
[ext_resource path="res://tcp_server.tscn" type="PackedScene" id=3]
|
2020-09-21 18:33:34 +02:00
|
|
|
[ext_resource path="res://fonts/monospace.tres" type="DynamicFont" id=4]
|
2020-09-21 15:40:42 +02:00
|
|
|
[ext_resource path="res://text_editor.tscn" type="PackedScene" id=5]
|
2020-09-03 19:22:46 +02:00
|
|
|
|
2020-09-21 18:59:55 +02:00
|
|
|
[sub_resource type="StyleBoxFlat" id=1]
|
2020-09-21 18:33:34 +02:00
|
|
|
content_margin_left = 5.0
|
|
|
|
content_margin_right = 5.0
|
|
|
|
content_margin_top = 5.0
|
|
|
|
content_margin_bottom = 5.0
|
2020-09-03 19:22:46 +02:00
|
|
|
bg_color = Color( 0, 0, 0, 1 )
|
2020-09-21 17:00:00 +02:00
|
|
|
border_color = Color( 0.415686, 0.333333, 1, 1 )
|
2020-09-21 19:28:39 +02:00
|
|
|
corner_radius_top_left = 10
|
|
|
|
corner_radius_top_right = 10
|
|
|
|
corner_radius_bottom_right = 10
|
|
|
|
corner_radius_bottom_left = 10
|
2020-09-03 19:22:46 +02:00
|
|
|
|
2020-09-22 20:25:45 +02:00
|
|
|
[node name="Terminal" type="Control"]
|
2020-09-03 19:22:46 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-09-21 18:33:34 +02:00
|
|
|
mouse_filter = 1
|
2020-09-03 19:22:46 +02:00
|
|
|
script = ExtResource( 2 )
|
2020-09-24 10:10:14 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-09-03 19:22:46 +02:00
|
|
|
|
2020-09-29 14:26:20 +02:00
|
|
|
[node name="Rows" type="VBoxContainer" parent="."]
|
2020-09-03 19:22:46 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-09-29 14:26:20 +02:00
|
|
|
[node name="TopHalf" type="Control" parent="Rows"]
|
2020-09-25 12:04:45 +02:00
|
|
|
margin_right = 1920.0
|
2020-09-28 18:25:44 +02:00
|
|
|
margin_bottom = 1052.0
|
2020-09-25 12:04:45 +02:00
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2020-09-29 14:26:20 +02:00
|
|
|
[node name="Output" type="RichTextLabel" parent="Rows/TopHalf"]
|
2020-09-27 21:50:14 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-09-03 19:22:46 +02:00
|
|
|
size_flags_vertical = 3
|
2020-09-21 18:59:55 +02:00
|
|
|
custom_styles/normal = SubResource( 1 )
|
2020-09-21 18:33:34 +02:00
|
|
|
custom_fonts/normal_font = ExtResource( 4 )
|
2020-09-05 10:47:38 +02:00
|
|
|
scroll_following = true
|
2020-09-25 12:04:45 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-09-29 14:26:20 +02:00
|
|
|
[node name="Completions" type="Tree" parent="Rows/TopHalf"]
|
2020-09-25 12:04:45 +02:00
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_top = -223.0
|
2020-09-28 17:39:16 +02:00
|
|
|
columns = 2
|
2020-09-25 12:04:45 +02:00
|
|
|
hide_root = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-09-03 19:22:46 +02:00
|
|
|
|
2020-09-29 14:26:20 +02:00
|
|
|
[node name="InputLine" type="HBoxContainer" parent="Rows"]
|
2020-09-28 18:25:44 +02:00
|
|
|
margin_top = 1056.0
|
2020-09-03 19:22:46 +02:00
|
|
|
margin_right = 1920.0
|
|
|
|
margin_bottom = 1080.0
|
2020-09-14 19:36:58 +02:00
|
|
|
|
2020-09-29 14:26:20 +02:00
|
|
|
[node name="Input" type="LineEdit" parent="Rows/InputLine"]
|
2020-09-28 18:25:44 +02:00
|
|
|
margin_right = 1920.0
|
|
|
|
margin_bottom = 24.0
|
2020-09-14 19:36:58 +02:00
|
|
|
size_flags_horizontal = 3
|
2020-09-03 19:22:46 +02:00
|
|
|
caret_blink = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-09-14 15:35:30 +02:00
|
|
|
|
2020-09-29 14:26:20 +02:00
|
|
|
[node name="CommandDropdown" type="MenuButton" parent="Rows/InputLine"]
|
2020-09-28 18:25:44 +02:00
|
|
|
visible = false
|
2020-09-21 17:00:00 +02:00
|
|
|
margin_left = 1896.0
|
2020-09-14 19:36:58 +02:00
|
|
|
margin_right = 1920.0
|
2020-09-21 17:00:00 +02:00
|
|
|
margin_bottom = 31.0
|
2020-09-14 19:36:58 +02:00
|
|
|
custom_fonts/font = ExtResource( 1 )
|
|
|
|
text = "..."
|
|
|
|
flat = false
|
|
|
|
align = 0
|
|
|
|
|
2020-09-14 15:35:30 +02:00
|
|
|
[node name="ClearButton" type="Button" parent="."]
|
2020-09-22 20:25:45 +02:00
|
|
|
anchor_left = 1.0
|
2020-09-14 15:35:30 +02:00
|
|
|
anchor_right = 1.0
|
2020-09-22 20:25:45 +02:00
|
|
|
margin_left = -88.0
|
|
|
|
margin_top = 5.0
|
|
|
|
margin_right = -5.0
|
|
|
|
margin_bottom = 36.0
|
2020-09-21 19:03:09 +02:00
|
|
|
focus_mode = 0
|
2020-09-14 15:35:30 +02:00
|
|
|
custom_fonts/font = ExtResource( 1 )
|
2020-09-21 19:03:09 +02:00
|
|
|
enabled_focus_mode = 0
|
2020-09-14 15:35:30 +02:00
|
|
|
text = "Clear"
|
2020-09-22 20:25:45 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-09-21 15:40:42 +02:00
|
|
|
|
2020-09-21 17:00:00 +02:00
|
|
|
[node name="TextEditor" parent="." instance=ExtResource( 5 )]
|
2020-09-21 15:40:42 +02:00
|
|
|
visible = false
|
2020-09-21 18:33:34 +02:00
|
|
|
mouse_filter = 1
|
2020-09-21 17:00:00 +02:00
|
|
|
syntax_highlighting = false
|
2020-09-24 10:10:14 +02:00
|
|
|
|
|
|
|
[node name="TCPServer" parent="." instance=ExtResource( 3 )]
|
2020-09-29 14:26:20 +02:00
|
|
|
[connection signal="item_selected" from="Rows/TopHalf/Completions" to="." method="_completion_selected"]
|
|
|
|
[connection signal="text_changed" from="Rows/InputLine/Input" to="." method="_input_changed"]
|
|
|
|
[connection signal="text_entered" from="Rows/InputLine/Input" to="." method="send_command"]
|
2020-09-14 15:35:30 +02:00
|
|
|
[connection signal="pressed" from="ClearButton" to="." method="clear"]
|
2020-09-24 10:10:14 +02:00
|
|
|
[connection signal="data_received" from="TCPServer" to="." method="receive_output"]
|