2020-06-10 18:25:41 +02:00
|
|
|
[gd_scene load_steps=3 format=2]
|
2020-01-29 20:25:13 +01:00
|
|
|
|
2020-06-10 18:25:41 +02:00
|
|
|
[ext_resource path="res://terminal.gd" type="Script" id=1]
|
2020-03-18 15:23:38 +01:00
|
|
|
[ext_resource path="res://main.gd" type="Script" id=2]
|
2020-01-29 20:25:13 +01:00
|
|
|
|
|
|
|
[node name="Main" type="Node2D"]
|
2020-03-18 15:23:38 +01:00
|
|
|
script = ExtResource( 2 )
|
2020-03-18 20:03:17 +01:00
|
|
|
|
|
|
|
[node name="Index" type="Label" parent="."]
|
|
|
|
margin_left = 35.0
|
|
|
|
margin_top = 120.0
|
|
|
|
margin_right = 374.0
|
|
|
|
margin_bottom = 1044.0
|
|
|
|
text = "file1
|
|
|
|
file2"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="IndexLabel" type="Label" parent="."]
|
|
|
|
margin_left = 38.0
|
|
|
|
margin_top = 69.0
|
|
|
|
margin_right = 377.0
|
|
|
|
margin_bottom = 108.0
|
|
|
|
text = "Index:"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-06-10 18:25:41 +02:00
|
|
|
|
|
|
|
[node name="Terminal" type="Node2D" parent="."]
|
|
|
|
z_index = 1
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="Output" type="TextEdit" parent="Terminal"]
|
|
|
|
margin_left = 1416.1
|
|
|
|
margin_top = 4.0
|
|
|
|
margin_right = 1915.1
|
|
|
|
margin_bottom = 1008.0
|
|
|
|
readonly = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Input" type="LineEdit" parent="Terminal"]
|
|
|
|
margin_left = 1414.0
|
|
|
|
margin_top = 1019.0
|
|
|
|
margin_right = 1913.0
|
|
|
|
margin_bottom = 1075.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
[connection signal="text_entered" from="Terminal/Input" to="Terminal" method="send_command"]
|