Added console panel with device and host console, logs and domain console.
This commit is contained in:
1 parent
6038b816b7
commit
b98ed82619
17 files changed
+551
-22
No files matched your search
@@ -0,0 +1,51 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://components/selectable_container.tscn" id="1"]
|
||||
[ext_resource type="Script" path="res://scripts/console_panel.gd" id="2"]
|
||||
[ext_resource type="PackedScene" path="res://components/console_session.tscn" id="3"]
|
||||
|
||||
[node name="ConsolePanel" instance=ExtResource("1")]
|
||||
custom_minimum_size = Vector2(720, 420)
|
||||
script = ExtResource("2")
|
||||
title = "CONSOLE"
|
||||
focus_key = 0
|
||||
initial_focus = NodePath("Tabs/ROV/Input/Command")
|
||||
|
||||
[node name="Label" parent="MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
label_settings = null
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "CONSOLE"
|
||||
|
||||
[node name="Tabs" type="TabContainer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
current_tab = 0
|
||||
|
||||
[node name="ROV" parent="Tabs" instance=ExtResource("3")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Host" parent="Tabs" instance=ExtResource("3")]
|
||||
layout_mode = 2
|
||||
session_id = "host"
|
||||
tab_label = "Host"
|
||||
shortcut = 4194337
|
||||
prompt = "host $"
|
||||
introduction = "Host shell disconnected."
|
||||
|
||||
[node name="Logs" parent="Tabs" instance=ExtResource("3")]
|
||||
layout_mode = 2
|
||||
session_id = "logs"
|
||||
tab_label = "Logs"
|
||||
shortcut = 4194338
|
||||
read_only = true
|
||||
introduction = "ROV journal stream disconnected."
|
||||
|
||||
[node name="Server" parent="Tabs" instance=ExtResource("3")]
|
||||
layout_mode = 2
|
||||
session_id = "server"
|
||||
tab_label = "Server"
|
||||
shortcut = 4194339
|
||||
prompt = "server >"
|
||||
introduction = "Server shell disconnected."
|
||||
Reference in new issue
Block a user