Cogwheel integration, more code structure
This commit is contained in:
54
ADEPT-Godot/Core/Scenes/CogwheelConsole.tscn
Normal file
54
ADEPT-Godot/Core/Scenes/CogwheelConsole.tscn
Normal file
@@ -0,0 +1,54 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://caivf0icbv7gk"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cgn58uiwyog25" path="res://Core/Scripts/Cogwheel/GodotCogwheelConsole.cs" id="1_23urx"]
|
||||
|
||||
[node name="CogwheelConsole" type="Control" node_paths=PackedStringArray("_input", "_output")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_23urx")
|
||||
_input = NodePath("VBoxContainer/Input")
|
||||
_output = NodePath("VBoxContainer/Panel/MarginContainer/Output")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Panel" type="Panel" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 10
|
||||
theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 10
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="Output" type="RichTextLabel" parent="VBoxContainer/Panel/MarginContainer"]
|
||||
layout_mode = 2
|
||||
focus_mode = 2
|
||||
bbcode_enabled = true
|
||||
scroll_following = true
|
||||
selection_enabled = true
|
||||
|
||||
[node name="Input" type="TextEdit" parent="VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
layout_mode = 2
|
||||
placeholder_text = "> Enter Command"
|
||||
wrap_mode = 1
|
||||
autowrap_mode = 1
|
||||
scroll_fit_content_height = true
|
||||
scroll_fit_content_width = true
|
||||
@@ -1,6 +1,9 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://udmowtmx1o3l"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://udmowtmx1o3l"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bl2h8ot302x3g" path="res://Core/Scripts/MainNode.cs" id="1_wh72m"]
|
||||
[ext_resource type="Script" uid="uid://dnmj6a1ptvwry" path="res://Core/Scripts/Main.cs" id="1_0ovck"]
|
||||
[ext_resource type="PackedScene" uid="uid://c35ohffpqfqnr" path="res://Client/Scenes/MainCanvas.tscn" id="2_0ovck"]
|
||||
|
||||
[node name="Main" type="Node"]
|
||||
script = ExtResource("1_wh72m")
|
||||
script = ExtResource("1_0ovck")
|
||||
|
||||
[node name="MainCanvas" parent="." instance=ExtResource("2_0ovck")]
|
||||
|
||||
Reference in New Issue
Block a user