97 lines
3.5 KiB
Text
97 lines
3.5 KiB
Text
[gd_scene load_steps=10 format=3 uid="uid://btyi16dkvbly1"]
|
|
|
|
[ext_resource type="Script" path="res://src/console.gd" id="1_viv5y"]
|
|
[ext_resource type="FontFile" uid="uid://fd61n825la2g" path="res://assets/fonts/FiraCode/Regular.ttf" id="2_ebuk0"]
|
|
[ext_resource type="FontFile" uid="uid://cqa0ee5go1p00" path="res://assets/fonts/FiraCode/Bold.ttf" id="3_102to"]
|
|
[ext_resource type="FontFile" uid="uid://ddjvx4n721qha" path="res://assets/fonts/FiraCode/Medium.ttf" id="4_jqfsc"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_u40jo"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_wj4aw"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ime8b"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_hjtld"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_xa0gg"]
|
|
|
|
[node name="Console" type="ColorRect"]
|
|
offset_right = 767.0
|
|
offset_bottom = 426.0
|
|
script = ExtResource("1_viv5y")
|
|
|
|
[node name="Bar" type="ColorRect" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 2.5
|
|
offset_top = 2.5
|
|
offset_right = 764.5
|
|
offset_bottom = 27.5
|
|
color = Color(0.839216, 0.0196078, 0.196078, 1)
|
|
|
|
[node name="X1" type="Line2D" parent="Bar"]
|
|
points = PackedVector2Array(760, 2, 739, 23)
|
|
width = 2.0
|
|
|
|
[node name="X2" type="Line2D" parent="Bar"]
|
|
points = PackedVector2Array(760, 23, 739, 2)
|
|
width = 2.0
|
|
|
|
[node name="CloseButton" type="Button" parent="Bar"]
|
|
layout_mode = 0
|
|
offset_left = 737.0
|
|
offset_right = 762.0
|
|
offset_bottom = 25.0
|
|
theme_override_styles/normal = SubResource("StyleBoxEmpty_u40jo")
|
|
theme_override_styles/hover = SubResource("StyleBoxEmpty_wj4aw")
|
|
theme_override_styles/pressed = SubResource("StyleBoxEmpty_ime8b")
|
|
theme_override_styles/disabled = SubResource("StyleBoxEmpty_hjtld")
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_xa0gg")
|
|
|
|
[node name="DragButton" type="Button" parent="Bar"]
|
|
layout_mode = 0
|
|
offset_right = 737.0
|
|
offset_bottom = 25.0
|
|
theme_override_styles/normal = SubResource("StyleBoxEmpty_u40jo")
|
|
theme_override_styles/hover = SubResource("StyleBoxEmpty_wj4aw")
|
|
theme_override_styles/pressed = SubResource("StyleBoxEmpty_ime8b")
|
|
theme_override_styles/disabled = SubResource("StyleBoxEmpty_hjtld")
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_xa0gg")
|
|
|
|
[node name="Shell" type="ColorRect" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 2.5
|
|
offset_top = 27.5
|
|
offset_right = 764.5
|
|
offset_bottom = 423.5
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
[node name="Output" type="RichTextLabel" parent="Shell"]
|
|
layout_mode = 0
|
|
offset_right = 762.0
|
|
offset_bottom = 361.0
|
|
theme_override_fonts/normal_font = ExtResource("2_ebuk0")
|
|
theme_override_fonts/bold_font = ExtResource("3_102to")
|
|
theme_override_fonts/italics_font = ExtResource("2_ebuk0")
|
|
theme_override_fonts/bold_italics_font = ExtResource("3_102to")
|
|
theme_override_fonts/mono_font = ExtResource("2_ebuk0")
|
|
theme_override_font_sizes/normal_font_size = 18
|
|
theme_override_font_sizes/bold_font_size = 18
|
|
theme_override_font_sizes/italics_font_size = 18
|
|
theme_override_font_sizes/bold_italics_font_size = 18
|
|
theme_override_font_sizes/mono_font_size = 18
|
|
bbcode_enabled = true
|
|
scroll_following = true
|
|
|
|
[node name="Input" type="TextEdit" parent="Shell"]
|
|
layout_mode = 0
|
|
offset_top = 361.0
|
|
offset_right = 762.0
|
|
offset_bottom = 396.0
|
|
theme_override_colors/background_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
theme_override_fonts/font = ExtResource("4_jqfsc")
|
|
theme_override_font_sizes/font_size = 18
|
|
placeholder_text = "Enter a command here"
|
|
|
|
[connection signal="pressed" from="Bar/CloseButton" to="." method="close_console"]
|
|
[connection signal="text_changed" from="Shell/Input" to="." method="input_changed"]
|