[gd_scene load_steps=12 format=3 uid="uid://bqfm16y5vcgl3"]

[ext_resource type="Theme" uid="uid://bk18yfu0d77wk" path="res://addons/panku_console/res/panku_console_theme.tres" id="1_8mhrg"]
[ext_resource type="Script" path="res://addons/panku_console/modules/interactive_shell/console_ui/panku_console_ui.gd" id="1_aab8v"]
[ext_resource type="PackedScene" uid="uid://nynkaa0igrh5" path="res://addons/panku_console/modules/interactive_shell/console_logs/console_logs.tscn" id="1_jb1ae"]
[ext_resource type="PackedScene" uid="uid://bme8twac4ick5" path="res://addons/panku_console/modules/interactive_shell/input_field/input_area.tscn" id="2_w7j54"]
[ext_resource type="PackedScene" uid="uid://b3jf18wonocnv" path="res://addons/panku_console/modules/interactive_shell/hints_list/hints_list.tscn" id="3_qw8p4"]
[ext_resource type="PackedScene" uid="uid://drn5t13m088fb" path="res://addons/panku_console/common/panku_button.tscn" id="4_5x5gm"]
[ext_resource type="PackedScene" uid="uid://ca0bkchv6nsrb" path="res://addons/panku_console/modules/interactive_shell/console_ui/repl.tscn" id="4_ihf0b"]
[ext_resource type="Script" path="res://addons/panku_console/modules/interactive_shell/console_ui/side_buttons_controller.gd" id="5_2te5e"]
[ext_resource type="PackedScene" uid="uid://cbijhl1nhy64n" path="res://addons/panku_console/modules/interactive_shell/console_ui/help_bar.tscn" id="10_0thy6"]
[ext_resource type="Script" path="res://addons/panku_console/modules/interactive_shell/console_ui/remote_control_node.gd" id="11_epqvn"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_i3l80"]
bg_color = Color(0.6, 0.6, 0.6, 0.435294)
border_width_left = 1
border_color = Color(0.8, 0.8, 0.8, 0.352941)

[node name="PankuConsoleUI" type="Control"]
clip_contents = true
custom_minimum_size = Vector2(0, 1)
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_8mhrg")
script = ExtResource("1_aab8v")

[node name="REPL" parent="." node_paths=PackedStringArray("_input_area", "_hints", "_helpbar", "_helpbar_label") instance=ExtResource("4_ihf0b")]
_input_area = NodePath("../HBoxContainer/Control/VBoxContainer/InputArea")
_hints = NodePath("../HBoxContainer/Control/Layer2/HintsList")
_helpbar = NodePath("../HBoxContainer/Control/Layer2/HelpBar")
_helpbar_label = NodePath("../HBoxContainer/Control/Layer2/HelpBar/Label")

[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 0

[node name="SideButtons" type="VBoxContainer" parent="HBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 0

[node name="ControllerButton" parent="HBoxContainer/SideButtons" instance=ExtResource("4_5x5gm")]
layout_mode = 2
script = ExtResource("5_2te5e")

[node name="Space" type="Control" parent="HBoxContainer/SideButtons"]
layout_mode = 2
size_flags_vertical = 3

[node name="VSeparator" type="VSeparator" parent="HBoxContainer"]
layout_mode = 2
theme_override_styles/separator = SubResource("StyleBoxFlat_i3l80")

[node name="Control" type="Control" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3

[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/Control"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 0

[node name="ConsoleLogs" parent="HBoxContainer/Control/VBoxContainer" instance=ExtResource("1_jb1ae")]
layout_mode = 2
size_flags_vertical = 3

[node name="InputArea" parent="HBoxContainer/Control/VBoxContainer" instance=ExtResource("2_w7j54")]
layout_mode = 2

[node name="Layer2" type="VBoxContainer" parent="HBoxContainer/Control"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_constants/separation = 0
alignment = 2

[node name="HintsList" parent="HBoxContainer/Control/Layer2" instance=ExtResource("3_qw8p4")]
layout_mode = 2
size_flags_vertical = 3
mouse_filter = 2

[node name="HelpBar" parent="HBoxContainer/Control/Layer2" instance=ExtResource("10_0thy6")]
layout_mode = 2
mouse_filter = 2

[node name="RemoteControl" type="ColorRect" parent="HBoxContainer/Control/Layer2" node_paths=PackedStringArray("target_control")]
layout_mode = 2
mouse_filter = 2
color = Color(1, 0, 0, 0)
script = ExtResource("11_epqvn")
target_control = NodePath("../../VBoxContainer/InputArea")

[editable path="HBoxContainer/Control/VBoxContainer/InputArea"]
[editable path="HBoxContainer/Control/VBoxContainer/InputArea/Button"]
[editable path="HBoxContainer/Control/Layer2/HelpBar"]
