This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
Jessist/Scenes/Modules/DebugConsole.tscn
2022-06-18 13:05:48 +02:00

64 lines
1.9 KiB
Text

[gd_scene load_steps=8 format=2]
[ext_resource path="res://InterFont.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://Theme/Jessist_UI.tres" type="Theme" id=2]
[ext_resource path="res://Scripts/DebugConsole.gd" type="Script" id=3]
[sub_resource type="DynamicFont" id=3]
size = 85
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=2]
size = 85
font_data = ExtResource( 1 )
[sub_resource type="StyleBoxEmpty" id=1]
[sub_resource type="DynamicFont" id=4]
size = 85
font_data = ExtResource( 1 )
[node name="DebugConsole" type="Node2D"]
script = ExtResource( 3 )
[node name="Background" type="ColorRect" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = 282.5
margin_top = 145.0
margin_right = 1637.5
margin_bottom = 273.0
color = Color( 0.839216, 0.0196078, 0.196078, 1 )
[node name="CMDDisplay" type="RichTextLabel" parent="Background"]
margin_right = 1122.0
margin_bottom = 128.0
custom_colors/default_color = Color( 1, 1, 1, 1 )
custom_fonts/normal_font = SubResource( 3 )
text = "> "
[node name="Input" type="TextEdit" parent="Background"]
margin_left = 57.0
margin_right = 1122.0
margin_bottom = 128.0
theme = ExtResource( 2 )
custom_colors/caret_background_color = Color( 0, 0, 0, 0 )
custom_colors/font_color_selected = Color( 0, 0, 0, 1 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/background_color = Color( 0, 0, 0, 0 )
custom_colors/completion_background_color = Color( 0, 0, 0, 0 )
custom_fonts/font = SubResource( 2 )
custom_styles/normal = SubResource( 1 )
draw_tabs = true
smooth_scrolling = true
[node name="ExecuteButton" type="Button" parent="Background"]
margin_left = 1122.0
margin_right = 1355.0
margin_bottom = 128.0
custom_fonts/font = SubResource( 4 )
text = "exec"
flat = true
[connection signal="text_changed" from="Background/Input" to="." method="inputChanged"]
[connection signal="pressed" from="Background/ExecuteButton" to="." method="pressed"]