diff options
Diffstat (limited to 'Scenes/Terminal')
| -rw-r--r-- | Scenes/Terminal/InputArea.tscn | 27 | ||||
| -rw-r--r-- | Scenes/Terminal/OutputArea.tscn | 18 | ||||
| -rw-r--r-- | Scenes/Terminal/OutputBlock.tscn | 17 | ||||
| -rw-r--r-- | Scenes/Terminal/Screen.tscn | 25 | ||||
| -rw-r--r-- | Scenes/Terminal/StatusArea.tscn | 19 |
5 files changed, 106 insertions, 0 deletions
diff --git a/Scenes/Terminal/InputArea.tscn b/Scenes/Terminal/InputArea.tscn new file mode 100644 index 0000000..5532c6d --- /dev/null +++ b/Scenes/Terminal/InputArea.tscn @@ -0,0 +1,27 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://Scripts/Terminal/InputArea.cs" type="Script" id=1] + +[node name="InputArea" type="HBoxContainer"] +margin_right = 640.0 +margin_bottom = 25.0 +script = ExtResource( 1 ) + +[node name="PromptLabel" type="Label" parent="."] +unique_name_in_owner = true +margin_right = 20.0 +margin_bottom = 25.0 +theme_type_variation = "InvertedLabel" +text = "?>" + +[node name="TextInput" type="LineEdit" parent="."] +unique_name_in_owner = true +margin_left = 28.0 +margin_right = 640.0 +margin_bottom = 25.0 +size_flags_horizontal = 3 +context_menu_enabled = false +selecting_enabled = false +caret_blink = true + +[connection signal="text_entered" from="TextInput" to="." method="OnTextEntered"] diff --git a/Scenes/Terminal/OutputArea.tscn b/Scenes/Terminal/OutputArea.tscn new file mode 100644 index 0000000..779b0b7 --- /dev/null +++ b/Scenes/Terminal/OutputArea.tscn @@ -0,0 +1,18 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://Scripts/Terminal/OutputArea.cs" type="Script" id=1] + +[node name="OutputArea" type="ScrollContainer"] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 1 +scroll_horizontal_enabled = false +script = ExtResource( 1 ) + +[node name="LineContainer" type="VBoxContainer" parent="."] +unique_name_in_owner = true +margin_right = 640.0 +margin_bottom = 480.0 +size_flags_horizontal = 3 +size_flags_vertical = 3 +custom_constants/separation = 0 diff --git a/Scenes/Terminal/OutputBlock.tscn b/Scenes/Terminal/OutputBlock.tscn new file mode 100644 index 0000000..962aa0c --- /dev/null +++ b/Scenes/Terminal/OutputBlock.tscn @@ -0,0 +1,17 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://Scripts/Terminal/OutputBlock.cs" type="Script" id=1] + +[node name="OutputBlock" type="MarginContainer"] +anchor_right = 1.0 +size_flags_horizontal = 3 +script = ExtResource( 1 ) + +[node name="ContentLabel" type="RichTextLabel" parent="."] +unique_name_in_owner = true +margin_right = 640.0 +margin_bottom = 27.0 +size_flags_horizontal = 3 +bbcode_enabled = true +fit_content_height = true +scroll_active = false diff --git a/Scenes/Terminal/Screen.tscn b/Scenes/Terminal/Screen.tscn new file mode 100644 index 0000000..b003db2 --- /dev/null +++ b/Scenes/Terminal/Screen.tscn @@ -0,0 +1,25 @@ +[gd_scene format=2] + +[node name="Screen" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 + +[node name="ScreenContainer" type="VBoxContainer" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +custom_constants/separation = 0 + +[node name="TopBar" type="PanelContainer" parent="ScreenContainer"] +margin_right = 640.0 +theme_type_variation = "InvertedPanelContainer" + +[node name="Content" type="PanelContainer" parent="ScreenContainer"] +margin_right = 640.0 +margin_bottom = 480.0 +size_flags_vertical = 3 + +[node name="BottomBar" type="PanelContainer" parent="ScreenContainer"] +margin_top = 480.0 +margin_right = 640.0 +margin_bottom = 480.0 +theme_type_variation = "InvertedPanelContainer" diff --git a/Scenes/Terminal/StatusArea.tscn b/Scenes/Terminal/StatusArea.tscn new file mode 100644 index 0000000..21bcd94 --- /dev/null +++ b/Scenes/Terminal/StatusArea.tscn @@ -0,0 +1,19 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://Scripts/Terminal/StatusArea.cs" type="Script" id=1] + +[node name="StatusArea" type="HBoxContainer"] +margin_right = 640.0 +margin_bottom = 27.0 +script = ExtResource( 1 ) + +[node name="TitleLabel" type="RichTextLabel" parent="."] +unique_name_in_owner = true +margin_right = 640.0 +margin_bottom = 27.0 +size_flags_horizontal = 3 +theme_type_variation = "InvertedRichTextLabel" +bbcode_enabled = true +bbcode_text = "This is where the title goes" +text = "This is where the title goes" +fit_content_height = true |
