Added selectable container that can be focused with keyboard shortcut.
This commit is contained in:
1 parent
9bf7c3fa6e
commit
948b177eee
7 files changed
+265
-2
No files matched your search
@@ -0,0 +1,26 @@
|
||||
[gd_scene format=3 uid="uid://chflnxm5486kc"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://s7f003dyd60i" path="res://components/selectable_container.tscn" id="1_panel"]
|
||||
[ext_resource type="Script" uid="uid://cjghwf3b858xu" path="res://scripts/terminal_panel.gd" id="2_terminal"]
|
||||
|
||||
[node name="TerminalPanel" unique_id=690518475 instance=ExtResource("1_panel")]
|
||||
script = ExtResource("2_terminal")
|
||||
title = "ROV terminal"
|
||||
initial_focus = NodePath("Command")
|
||||
|
||||
[node name="Label" parent="MarginContainer/VBoxContainer/HBoxContainer" parent_id_path=PackedInt32Array(157590431) index="0" unique_id=1765103253]
|
||||
text = "ROV terminal"
|
||||
|
||||
[node name="Output" type="RichTextLabel" parent="." index="2" unique_id=1341181181]
|
||||
custom_minimum_size = Vector2(260, 100)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
focus_mode = 2
|
||||
text = "SSH transport not connected.
|
||||
Press the panel shortcut, then type a command.
|
||||
"
|
||||
scroll_following = true
|
||||
|
||||
[node name="Command" type="LineEdit" parent="." index="3" unique_id=701067863]
|
||||
layout_mode = 2
|
||||
placeholder_text = "Enter command…"
|
||||
Reference in new issue
Block a user