Automatic editor updates

Automatic updates performed by the editor after opening files in Godot
v4.0-beta12.
This commit is contained in:
Leroy Hopson 2023-01-14 22:33:56 +13:00
parent ad7f97e493
commit a26320d9a5
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
16 changed files with 306 additions and 707 deletions

View file

@ -2,7 +2,7 @@
[ext_resource type="Script" path="res://addons/godot_xterm/editor_plugins/terminal/editor_terminal.gd" id="1"] [ext_resource type="Script" path="res://addons/godot_xterm/editor_plugins/terminal/editor_terminal.gd" id="1"]
[ext_resource type="Script" path="res://addons/godot_xterm/pty.gd" id="2"] [ext_resource type="Script" path="res://addons/godot_xterm/pty.gd" id="2"]
[ext_resource type="Theme" uid="uid://c3ep6rm56qjeb" path="res://addons/godot_xterm/themes/default.tres" id="3"] [ext_resource type="Theme" uid="uid://0gk8swmcldbg" path="res://addons/godot_xterm/themes/default.tres" id="3"]
[node name="Terminal" type="Terminal"] [node name="Terminal" type="Terminal"]
anchors_preset = 15 anchors_preset = 15

View file

@ -1,11 +1,3 @@
[gd_resource type="Shortcut" load_steps=2 format=2] [gd_resource type="Shortcut" format=3 uid="uid://cdr3iu6ttahlt"]
[sub_resource type="InputEventKey" id=1]
shift = true
control = true
command = true
pressed = true
scancode = 67
[resource] [resource]
shortcut = SubResource( 1 )

View file

@ -2,7 +2,7 @@
[ext_resource type="Script" path="res://addons/godot_xterm/editor_plugins/terminal/terminal_panel.gd" id="1"] [ext_resource type="Script" path="res://addons/godot_xterm/editor_plugins/terminal/terminal_panel.gd" id="1"]
[sub_resource type="Image" id="Image_x7bb3"] [sub_resource type="Image" id="Image_4ja3e"]
data = { data = {
"data": PackedByteArray(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "data": PackedByteArray(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 224, 224, 0, 224, 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
"format": "RGBA8", "format": "RGBA8",
@ -11,8 +11,8 @@ data = {
"width": 16 "width": 16
} }
[sub_resource type="ImageTexture" id="ImageTexture_e8boo"] [sub_resource type="ImageTexture" id="ImageTexture_q1uu0"]
image = SubResource("Image_x7bb3") image = SubResource("Image_4ja3e")
[node name="Panel" type="Panel"] [node name="Panel" type="Panel"]
anchors_preset = 15 anchors_preset = 15
@ -42,7 +42,7 @@ drag_to_rearrange_enabled = true
[node name="AddButton" type="Button" parent="VBoxContainer/TabbarContainer"] [node name="AddButton" type="Button" parent="VBoxContainer/TabbarContainer"]
layout_mode = 2 layout_mode = 2
tooltip_text = "Add a new scene." tooltip_text = "Add a new scene."
icon = SubResource("ImageTexture_e8boo") icon = SubResource("ImageTexture_q1uu0")
[node name="PopupMenu" type="PopupMenu" parent="VBoxContainer/TabbarContainer"] [node name="PopupMenu" type="PopupMenu" parent="VBoxContainer/TabbarContainer"]
item_count = 4 item_count = 4

View file

@ -13,7 +13,7 @@ offset_bottom = 388.0
theme = ExtResource("1_s37wl") theme = ExtResource("1_s37wl")
[node name="MainBox" type="VBoxContainer" parent="Large"] [node name="MainBox" type="VBoxContainer" parent="Large"]
anchors_preset = 15 layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
@ -22,11 +22,10 @@ metadata/_edit_layout_mode = 1
[node name="TitleBar" type="Panel" parent="Large/MainBox"] [node name="TitleBar" type="Panel" parent="Large/MainBox"]
custom_minimum_size = Vector2(0, 25) custom_minimum_size = Vector2(0, 25)
offset_right = 717.0 layout_mode = 2
offset_bottom = 25.0
[node name="TitleBox" type="HBoxContainer" parent="Large/MainBox/TitleBar"] [node name="TitleBox" type="HBoxContainer" parent="Large/MainBox/TitleBar"]
anchors_preset = 15 layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
offset_top = 2.0 offset_top = 2.0
@ -36,53 +35,38 @@ grow_vertical = 2
metadata/_edit_layout_mode = 1 metadata/_edit_layout_mode = 1
[node name="Spacer1" type="CenterContainer" parent="Large/MainBox/TitleBar/TitleBox"] [node name="Spacer1" type="CenterContainer" parent="Large/MainBox/TitleBar/TitleBox"]
offset_right = 285.0 layout_mode = 2
offset_bottom = 26.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="Title" type="Label" parent="Large/MainBox/TitleBar/TitleBox"] [node name="Title" type="Label" parent="Large/MainBox/TitleBar/TitleBox"]
offset_left = 289.0 layout_mode = 2
offset_top = 3.0
offset_right = 334.0
offset_bottom = 23.0
text = "Title" text = "Title"
[node name="Spacer2" type="CenterContainer" parent="Large/MainBox/TitleBar/TitleBox"] [node name="Spacer2" type="CenterContainer" parent="Large/MainBox/TitleBar/TitleBox"]
offset_left = 338.0 layout_mode = 2
offset_right = 623.0
offset_bottom = 26.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="TimeLabel" type="Label" parent="Large/MainBox/TitleBar/TitleBox"] [node name="TimeLabel" type="Label" parent="Large/MainBox/TitleBar/TitleBox"]
custom_minimum_size = Vector2(90, 0) custom_minimum_size = Vector2(90, 0)
offset_left = 627.0 layout_mode = 2
offset_top = 3.0
offset_right = 717.0
offset_bottom = 23.0
text = "999.999s" text = "999.999s"
[node name="HBoxContainer" type="HBoxContainer" parent="Large/MainBox"] [node name="HBoxContainer" type="HBoxContainer" parent="Large/MainBox"]
offset_top = 29.0 layout_mode = 2
offset_right = 717.0
offset_bottom = 379.0
size_flags_vertical = 3 size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="Large/MainBox/HBoxContainer"] [node name="VBoxContainer" type="VBoxContainer" parent="Large/MainBox/HBoxContainer"]
offset_right = 717.0 layout_mode = 2
offset_bottom = 350.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="OutputBG" type="ColorRect" parent="Large/MainBox/HBoxContainer/VBoxContainer"] [node name="OutputBG" type="ColorRect" parent="Large/MainBox/HBoxContainer/VBoxContainer"]
offset_right = 717.0 layout_mode = 2
offset_bottom = 300.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 3 size_flags_vertical = 3
color = Color(0.0745098, 0.0705882, 0.0784314, 1) color = Color(0.0745098, 0.0705882, 0.0784314, 1)
metadata/_edit_layout_mode = 1 metadata/_edit_layout_mode = 1
[node name="HBoxContainer" type="HBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/OutputBG"] [node name="HBoxContainer" type="HBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/OutputBG"]
anchors_preset = 15 layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
@ -90,13 +74,10 @@ grow_vertical = 2
[node name="S2" type="CenterContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/OutputBG/HBoxContainer"] [node name="S2" type="CenterContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/OutputBG/HBoxContainer"]
custom_minimum_size = Vector2(5, 0) custom_minimum_size = Vector2(5, 0)
offset_right = 5.0 layout_mode = 2
offset_bottom = 300.0
[node name="Output" type="RichTextLabel" parent="Large/MainBox/HBoxContainer/VBoxContainer/OutputBG/HBoxContainer"] [node name="Output" type="RichTextLabel" parent="Large/MainBox/HBoxContainer/VBoxContainer/OutputBG/HBoxContainer"]
offset_left = 9.0 layout_mode = 2
offset_right = 708.0
offset_bottom = 300.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
focus_mode = 2 focus_mode = 2
@ -106,117 +87,84 @@ selection_enabled = true
[node name="S1" type="CenterContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/OutputBG/HBoxContainer"] [node name="S1" type="CenterContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/OutputBG/HBoxContainer"]
custom_minimum_size = Vector2(5, 0) custom_minimum_size = Vector2(5, 0)
offset_left = 712.0 layout_mode = 2
offset_right = 717.0
offset_bottom = 300.0
[node name="ControlBox" type="HBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer"] [node name="ControlBox" type="HBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer"]
offset_top = 304.0 layout_mode = 2
offset_right = 717.0
offset_bottom = 350.0
[node name="S1" type="CenterContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox"] [node name="S1" type="CenterContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox"]
custom_minimum_size = Vector2(5, 0) custom_minimum_size = Vector2(5, 0)
offset_right = 5.0 layout_mode = 2
offset_bottom = 46.0
[node name="ProgressBars" type="VBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox"] [node name="ProgressBars" type="VBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox"]
offset_left = 9.0 layout_mode = 2
offset_right = 176.0
offset_bottom = 46.0
[node name="TestBox" type="HBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/ProgressBars"] [node name="TestBox" type="HBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/ProgressBars"]
offset_right = 167.0 layout_mode = 2
offset_bottom = 21.0
[node name="Label" type="Label" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/ProgressBars/TestBox"] [node name="Label" type="Label" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/ProgressBars/TestBox"]
custom_minimum_size = Vector2(60, 0) custom_minimum_size = Vector2(60, 0)
offset_right = 60.0 layout_mode = 2
offset_bottom = 20.0
text = "Tests" text = "Tests"
[node name="ProgressTest" type="ProgressBar" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/ProgressBars/TestBox"] [node name="ProgressTest" type="ProgressBar" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/ProgressBars/TestBox"]
custom_minimum_size = Vector2(100, 0) custom_minimum_size = Vector2(100, 0)
offset_left = 64.0 layout_mode = 2
offset_right = 164.0
offset_bottom = 21.0
value = 25.0 value = 25.0
[node name="ScriptBox" type="HBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/ProgressBars"] [node name="ScriptBox" type="HBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/ProgressBars"]
offset_top = 25.0 layout_mode = 2
offset_right = 167.0
offset_bottom = 46.0
[node name="Label" type="Label" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/ProgressBars/ScriptBox"] [node name="Label" type="Label" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/ProgressBars/ScriptBox"]
custom_minimum_size = Vector2(60, 0) custom_minimum_size = Vector2(60, 0)
offset_right = 63.0 layout_mode = 2
offset_bottom = 20.0
text = "Scripts" text = "Scripts"
[node name="ProgressScript" type="ProgressBar" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/ProgressBars/ScriptBox"] [node name="ProgressScript" type="ProgressBar" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/ProgressBars/ScriptBox"]
custom_minimum_size = Vector2(100, 0) custom_minimum_size = Vector2(100, 0)
offset_left = 67.0 layout_mode = 2
offset_right = 167.0
offset_bottom = 21.0
value = 75.0 value = 75.0
[node name="PathDisplay" type="VBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox"] [node name="PathDisplay" type="VBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox"]
offset_left = 180.0 layout_mode = 2
offset_right = 385.0
offset_bottom = 46.0
size_flags_vertical = 3 size_flags_vertical = 3
[node name="Path" type="Label" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/PathDisplay"] [node name="Path" type="Label" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/PathDisplay"]
offset_right = 205.0 layout_mode = 2
offset_bottom = 16.0
theme_override_fonts/font = ExtResource("3_qvb8f") theme_override_fonts/font = ExtResource("3_qvb8f")
theme_override_font_sizes/font_size = 11 theme_override_font_sizes/font_size = 11
text = "res://test/integration/whatever" text = "res://test/integration/whatever"
[node name="HBoxContainer" type="HBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/PathDisplay"] [node name="HBoxContainer" type="HBoxContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/PathDisplay"]
offset_top = 20.0 layout_mode = 2
offset_right = 205.0
offset_bottom = 36.0
[node name="S3" type="CenterContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/PathDisplay/HBoxContainer"] [node name="S3" type="CenterContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/PathDisplay/HBoxContainer"]
custom_minimum_size = Vector2(5, 0) custom_minimum_size = Vector2(5, 0)
offset_right = 5.0 layout_mode = 2
offset_bottom = 16.0
[node name="File" type="Label" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/PathDisplay/HBoxContainer"] [node name="File" type="Label" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox/PathDisplay/HBoxContainer"]
offset_left = 9.0 layout_mode = 2
offset_right = 128.0
offset_bottom = 16.0
theme_override_fonts/font = ExtResource("3_qvb8f") theme_override_fonts/font = ExtResource("3_qvb8f")
theme_override_font_sizes/font_size = 11 theme_override_font_sizes/font_size = 11
text = "test_this_thing.gd" text = "test_this_thing.gd"
[node name="Spacer1" type="CenterContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox"] [node name="Spacer1" type="CenterContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox"]
offset_left = 389.0 layout_mode = 2
offset_right = 624.0
offset_bottom = 46.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="Continue" type="Button" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox"] [node name="Continue" type="Button" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox"]
offset_left = 628.0 layout_mode = 2
offset_top = 10.0
offset_right = 708.0
offset_bottom = 35.0
size_flags_vertical = 4 size_flags_vertical = 4
text = "Continue text = "Continue
" "
[node name="S3" type="CenterContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox"] [node name="S3" type="CenterContainer" parent="Large/MainBox/HBoxContainer/VBoxContainer/ControlBox"]
custom_minimum_size = Vector2(5, 0) custom_minimum_size = Vector2(5, 0)
offset_left = 712.0 layout_mode = 2
offset_right = 717.0
offset_bottom = 46.0
[node name="BottomPad" type="CenterContainer" parent="Large/MainBox"] [node name="BottomPad" type="CenterContainer" parent="Large/MainBox"]
custom_minimum_size = Vector2(0, 5) custom_minimum_size = Vector2(0, 5)
offset_top = 383.0 layout_mode = 2
offset_right = 717.0
offset_bottom = 388.0
[node name="Min" type="Panel" parent="."] [node name="Min" type="Panel" parent="."]
clip_contents = true clip_contents = true
@ -228,7 +176,7 @@ theme = ExtResource("1_s37wl")
metadata/_edit_group_ = true metadata/_edit_group_ = true
[node name="MainBox" type="VBoxContainer" parent="Min"] [node name="MainBox" type="VBoxContainer" parent="Min"]
anchors_preset = 15 layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
@ -237,11 +185,10 @@ metadata/_edit_layout_mode = 1
[node name="TitleBar" type="Panel" parent="Min/MainBox"] [node name="TitleBar" type="Panel" parent="Min/MainBox"]
custom_minimum_size = Vector2(0, 25) custom_minimum_size = Vector2(0, 25)
offset_right = 266.0 layout_mode = 2
offset_bottom = 25.0
[node name="TitleBox" type="HBoxContainer" parent="Min/MainBox/TitleBar"] [node name="TitleBox" type="HBoxContainer" parent="Min/MainBox/TitleBar"]
anchors_preset = 15 layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
offset_top = 2.0 offset_top = 2.0
@ -251,125 +198,89 @@ grow_vertical = 2
metadata/_edit_layout_mode = 1 metadata/_edit_layout_mode = 1
[node name="Spacer1" type="CenterContainer" parent="Min/MainBox/TitleBar/TitleBox"] [node name="Spacer1" type="CenterContainer" parent="Min/MainBox/TitleBar/TitleBox"]
offset_right = 77.0 layout_mode = 2
offset_bottom = 26.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="Title" type="Label" parent="Min/MainBox/TitleBar/TitleBox"] [node name="Title" type="Label" parent="Min/MainBox/TitleBar/TitleBox"]
offset_left = 81.0 layout_mode = 2
offset_top = 3.0
offset_right = 126.0
offset_bottom = 23.0
text = "Title" text = "Title"
[node name="Spacer2" type="CenterContainer" parent="Min/MainBox/TitleBar/TitleBox"] [node name="Spacer2" type="CenterContainer" parent="Min/MainBox/TitleBar/TitleBox"]
offset_left = 130.0 layout_mode = 2
offset_right = 208.0
offset_bottom = 26.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="TimeLabel" type="Label" parent="Min/MainBox/TitleBar/TitleBox"] [node name="TimeLabel" type="Label" parent="Min/MainBox/TitleBar/TitleBox"]
offset_left = 212.0 layout_mode = 2
offset_top = 3.0
offset_right = 266.0
offset_bottom = 23.0
text = "0.000s" text = "0.000s"
[node name="Body" type="HBoxContainer" parent="Min/MainBox"] [node name="Body" type="HBoxContainer" parent="Min/MainBox"]
offset_top = 29.0 layout_mode = 2
offset_right = 266.0
offset_bottom = 119.0
size_flags_vertical = 3 size_flags_vertical = 3
[node name="LeftMargin" type="CenterContainer" parent="Min/MainBox/Body"] [node name="LeftMargin" type="CenterContainer" parent="Min/MainBox/Body"]
custom_minimum_size = Vector2(5, 0) custom_minimum_size = Vector2(5, 0)
offset_right = 5.0 layout_mode = 2
offset_bottom = 90.0
[node name="BodyRows" type="VBoxContainer" parent="Min/MainBox/Body"] [node name="BodyRows" type="VBoxContainer" parent="Min/MainBox/Body"]
offset_left = 9.0 layout_mode = 2
offset_right = 257.0
offset_bottom = 90.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="ProgressBars" type="HBoxContainer" parent="Min/MainBox/Body/BodyRows"] [node name="ProgressBars" type="HBoxContainer" parent="Min/MainBox/Body/BodyRows"]
offset_right = 248.0 layout_mode = 2
offset_bottom = 21.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="HBoxContainer" type="HBoxContainer" parent="Min/MainBox/Body/BodyRows/ProgressBars"] [node name="HBoxContainer" type="HBoxContainer" parent="Min/MainBox/Body/BodyRows/ProgressBars"]
offset_right = 122.0 layout_mode = 2
offset_bottom = 21.0
[node name="Label" type="Label" parent="Min/MainBox/Body/BodyRows/ProgressBars/HBoxContainer"] [node name="Label" type="Label" parent="Min/MainBox/Body/BodyRows/ProgressBars/HBoxContainer"]
offset_right = 18.0 layout_mode = 2
offset_bottom = 20.0
text = "T:" text = "T:"
[node name="ProgressTest" type="ProgressBar" parent="Min/MainBox/Body/BodyRows/ProgressBars/HBoxContainer"] [node name="ProgressTest" type="ProgressBar" parent="Min/MainBox/Body/BodyRows/ProgressBars/HBoxContainer"]
custom_minimum_size = Vector2(100, 0) custom_minimum_size = Vector2(100, 0)
offset_left = 22.0 layout_mode = 2
offset_right = 122.0
offset_bottom = 21.0
value = 25.0 value = 25.0
[node name="HBoxContainer2" type="HBoxContainer" parent="Min/MainBox/Body/BodyRows/ProgressBars"] [node name="HBoxContainer2" type="HBoxContainer" parent="Min/MainBox/Body/BodyRows/ProgressBars"]
offset_left = 126.0 layout_mode = 2
offset_right = 248.0
offset_bottom = 21.0
[node name="Label" type="Label" parent="Min/MainBox/Body/BodyRows/ProgressBars/HBoxContainer2"] [node name="Label" type="Label" parent="Min/MainBox/Body/BodyRows/ProgressBars/HBoxContainer2"]
offset_right = 18.0 layout_mode = 2
offset_bottom = 20.0
text = "S:" text = "S:"
[node name="ProgressScript" type="ProgressBar" parent="Min/MainBox/Body/BodyRows/ProgressBars/HBoxContainer2"] [node name="ProgressScript" type="ProgressBar" parent="Min/MainBox/Body/BodyRows/ProgressBars/HBoxContainer2"]
custom_minimum_size = Vector2(100, 0) custom_minimum_size = Vector2(100, 0)
offset_left = 22.0 layout_mode = 2
offset_right = 122.0
offset_bottom = 21.0
value = 75.0 value = 75.0
[node name="PathDisplay" type="VBoxContainer" parent="Min/MainBox/Body/BodyRows"] [node name="PathDisplay" type="VBoxContainer" parent="Min/MainBox/Body/BodyRows"]
offset_top = 25.0 layout_mode = 2
offset_right = 248.0
offset_bottom = 61.0
size_flags_vertical = 3 size_flags_vertical = 3
[node name="Path" type="Label" parent="Min/MainBox/Body/BodyRows/PathDisplay"] [node name="Path" type="Label" parent="Min/MainBox/Body/BodyRows/PathDisplay"]
offset_right = 248.0 layout_mode = 2
offset_bottom = 16.0
theme_override_fonts/font = ExtResource("3_qvb8f") theme_override_fonts/font = ExtResource("3_qvb8f")
theme_override_font_sizes/font_size = 11 theme_override_font_sizes/font_size = 11
text = "res://test/integration/whatever" text = "res://test/integration/whatever"
[node name="HBoxContainer" type="HBoxContainer" parent="Min/MainBox/Body/BodyRows/PathDisplay"] [node name="HBoxContainer" type="HBoxContainer" parent="Min/MainBox/Body/BodyRows/PathDisplay"]
offset_top = 20.0 layout_mode = 2
offset_right = 248.0
offset_bottom = 36.0
[node name="S3" type="CenterContainer" parent="Min/MainBox/Body/BodyRows/PathDisplay/HBoxContainer"] [node name="S3" type="CenterContainer" parent="Min/MainBox/Body/BodyRows/PathDisplay/HBoxContainer"]
custom_minimum_size = Vector2(5, 0) custom_minimum_size = Vector2(5, 0)
offset_right = 5.0 layout_mode = 2
offset_bottom = 16.0
[node name="File" type="Label" parent="Min/MainBox/Body/BodyRows/PathDisplay/HBoxContainer"] [node name="File" type="Label" parent="Min/MainBox/Body/BodyRows/PathDisplay/HBoxContainer"]
offset_left = 9.0 layout_mode = 2
offset_right = 128.0
offset_bottom = 16.0
theme_override_fonts/font = ExtResource("3_qvb8f") theme_override_fonts/font = ExtResource("3_qvb8f")
theme_override_font_sizes/font_size = 11 theme_override_font_sizes/font_size = 11
text = "test_this_thing.gd" text = "test_this_thing.gd"
[node name="Continue" type="Button" parent="Min/MainBox/Body/BodyRows"] [node name="Continue" type="Button" parent="Min/MainBox/Body/BodyRows"]
offset_top = 65.0 layout_mode = 2
offset_right = 248.0
offset_bottom = 90.0
text = "Continue text = "Continue
" "
[node name="RightMargin" type="CenterContainer" parent="Min/MainBox/Body"] [node name="RightMargin" type="CenterContainer" parent="Min/MainBox/Body"]
custom_minimum_size = Vector2(5, 0) custom_minimum_size = Vector2(5, 0)
offset_left = 261.0 layout_mode = 2
offset_right = 266.0
offset_bottom = 90.0

View file

@ -9,11 +9,9 @@ script = ExtResource("1")
[node name="FileDialog" type="FileDialog" parent="."] [node name="FileDialog" type="FileDialog" parent="."]
access = 1 access = 1
show_hidden_files = true show_hidden_files = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextDisplay" type="ColorRect" parent="."] [node name="TextDisplay" type="ColorRect" parent="."]
anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
offset_left = 8.0 offset_left = 8.0
@ -22,6 +20,7 @@ offset_bottom = -65.0
color = Color(0.2, 0.188235, 0.188235, 1) color = Color(0.2, 0.188235, 0.188235, 1)
[node name="RichTextLabel" type="RichTextLabel" parent="TextDisplay"] [node name="RichTextLabel" type="RichTextLabel" parent="TextDisplay"]
layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
focus_mode = 2 focus_mode = 2
@ -33,6 +32,7 @@ Versions of the Lorem ipsum text have been used in typesetting at least since th
selection_enabled = true selection_enabled = true
[node name="OpenFile" type="Button" parent="."] [node name="OpenFile" type="Button" parent="."]
anchors_preset = 3
anchor_left = 1.0 anchor_left = 1.0
anchor_top = 1.0 anchor_top = 1.0
anchor_right = 1.0 anchor_right = 1.0
@ -44,6 +44,7 @@ offset_bottom = -30.0
text = "Open File" text = "Open File"
[node name="Home" type="Button" parent="."] [node name="Home" type="Button" parent="."]
anchors_preset = 3
anchor_left = 1.0 anchor_left = 1.0
anchor_top = 1.0 anchor_top = 1.0
anchor_right = 1.0 anchor_right = 1.0
@ -55,6 +56,7 @@ offset_bottom = -30.0
text = "Home" text = "Home"
[node name="Copy" type="Button" parent="."] [node name="Copy" type="Button" parent="."]
anchors_preset = 2
anchor_top = 1.0 anchor_top = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
offset_left = 160.0 offset_left = 160.0
@ -64,6 +66,7 @@ offset_bottom = -30.0
text = "Copy" text = "Copy"
[node name="End" type="Button" parent="."] [node name="End" type="Button" parent="."]
anchors_preset = 3
anchor_left = 1.0 anchor_left = 1.0
anchor_top = 1.0 anchor_top = 1.0
anchor_right = 1.0 anchor_right = 1.0
@ -75,6 +78,7 @@ offset_bottom = -30.0
text = "End" text = "End"
[node name="Close" type="Button" parent="."] [node name="Close" type="Button" parent="."]
anchors_preset = 2
anchor_top = 1.0 anchor_top = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
offset_left = 10.0 offset_left = 10.0

View file

@ -1,232 +1,147 @@
[gd_scene load_steps=3 format=2] [gd_scene load_steps=3 format=3 uid="uid://ddxdytdsad3lj"]
[ext_resource path="res://addons/gut/gui/ShortcutButton.tscn" type="PackedScene" id=1] [ext_resource type="PackedScene" path="res://addons/gut/gui/ShortcutButton.tscn" id="1"]
[ext_resource path="res://addons/gut/gui/BottomPanelShortcuts.gd" type="Script" id=2] [ext_resource type="Script" path="res://addons/gut/gui/BottomPanelShortcuts.gd" id="2"]
[node name="BottomPanelShortcuts" type="Window"] [node name="BottomPanelShortcuts" type="Window"]
visible = true
anchor_right = 0.234
anchor_bottom = 0.328
offset_right = 195.384
offset_bottom = 62.2
custom_minimum_size = Vector2( 435, 305 )
exclusive = true exclusive = true
window_title = "GUT Shortcuts" script = ExtResource("2")
resizable = true
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Layout" type="VBoxContainer" parent="."] [node name="Layout" type="VBoxContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
offset_left = 5.0 offset_left = 5.0
offset_right = -5.0 offset_right = -5.0
offset_bottom = 2.0 offset_bottom = 2.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TopPad" type="CenterContainer" parent="Layout"] [node name="TopPad" type="CenterContainer" parent="Layout"]
offset_right = 425.0 custom_minimum_size = Vector2(0, 5)
offset_bottom = 5.0 layout_mode = 2
custom_minimum_size = Vector2( 0, 5 )
[node name="Label2" type="Label" parent="Layout"] [node name="Label2" type="Label" parent="Layout"]
offset_top = 9.0 custom_minimum_size = Vector2(0, 20)
offset_right = 425.0 layout_mode = 2
offset_bottom = 29.0
custom_minimum_size = Vector2( 0, 20 )
text = "Always Active" text = "Always Active"
align = 1
valign = 1
autowrap = true
[node name="ColorRect" type="ColorRect" parent="Layout/Label2"] [node name="ColorRect" type="ColorRect" parent="Layout/Label2"]
show_behind_parent = true show_behind_parent = true
layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
color = Color( 0, 0, 0, 0.196078 ) color = Color(0, 0, 0, 0.196078)
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CPanelButton" type="HBoxContainer" parent="Layout"] [node name="CPanelButton" type="HBoxContainer" parent="Layout"]
offset_top = 33.0 layout_mode = 2
offset_right = 425.0
offset_bottom = 58.0
[node name="Label" type="Label" parent="Layout/CPanelButton"] [node name="Label" type="Label" parent="Layout/CPanelButton"]
offset_right = 138.0 custom_minimum_size = Vector2(50, 0)
offset_bottom = 25.0 layout_mode = 2
custom_minimum_size = Vector2( 50, 0 )
size_flags_vertical = 7 size_flags_vertical = 7
text = "Show/Hide GUT Panel" text = "Show/Hide GUT Panel"
valign = 1
[node name="ShortcutButton" parent="Layout/CPanelButton" instance=ExtResource( 1 )] [node name="ShortcutButton" parent="Layout/CPanelButton" instance=ExtResource("1")]
anchor_right = 0.0 layout_mode = 2
anchor_bottom = 0.0
offset_left = 142.0
offset_right = 425.0
offset_bottom = 25.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="GutPanelPad" type="CenterContainer" parent="Layout"] [node name="GutPanelPad" type="CenterContainer" parent="Layout"]
offset_top = 62.0 custom_minimum_size = Vector2(0, 5)
offset_right = 425.0 layout_mode = 2
offset_bottom = 67.0
custom_minimum_size = Vector2( 0, 5 )
[node name="Label" type="Label" parent="Layout"] [node name="Label" type="Label" parent="Layout"]
offset_top = 71.0 custom_minimum_size = Vector2(0, 20)
offset_right = 425.0 layout_mode = 2
offset_bottom = 91.0
custom_minimum_size = Vector2( 0, 20 )
text = "Only Active When GUT Panel Shown" text = "Only Active When GUT Panel Shown"
align = 1
valign = 1
autowrap = true
[node name="ColorRect2" type="ColorRect" parent="Layout/Label"] [node name="ColorRect2" type="ColorRect" parent="Layout/Label"]
show_behind_parent = true show_behind_parent = true
layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
color = Color( 0, 0, 0, 0.196078 ) color = Color(0, 0, 0, 0.196078)
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TopPad2" type="CenterContainer" parent="Layout"] [node name="TopPad2" type="CenterContainer" parent="Layout"]
offset_top = 95.0 custom_minimum_size = Vector2(0, 5)
offset_right = 425.0 layout_mode = 2
offset_bottom = 100.0
custom_minimum_size = Vector2( 0, 5 )
[node name="CRunAll" type="HBoxContainer" parent="Layout"] [node name="CRunAll" type="HBoxContainer" parent="Layout"]
offset_top = 104.0 layout_mode = 2
offset_right = 425.0
offset_bottom = 129.0
[node name="Label" type="Label" parent="Layout/CRunAll"] [node name="Label" type="Label" parent="Layout/CRunAll"]
offset_right = 50.0 custom_minimum_size = Vector2(50, 0)
offset_bottom = 25.0 layout_mode = 2
custom_minimum_size = Vector2( 50, 0 )
size_flags_vertical = 7 size_flags_vertical = 7
text = "Run All" text = "Run All"
valign = 1
[node name="ShortcutButton" parent="Layout/CRunAll" instance=ExtResource( 1 )] [node name="ShortcutButton" parent="Layout/CRunAll" instance=ExtResource("1")]
anchor_right = 0.0 layout_mode = 2
anchor_bottom = 0.0
offset_left = 54.0
offset_right = 425.0
offset_bottom = 25.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="CRunCurrentScript" type="HBoxContainer" parent="Layout"] [node name="CRunCurrentScript" type="HBoxContainer" parent="Layout"]
offset_top = 133.0 layout_mode = 2
offset_right = 425.0
offset_bottom = 158.0
[node name="Label" type="Label" parent="Layout/CRunCurrentScript"] [node name="Label" type="Label" parent="Layout/CRunCurrentScript"]
offset_right = 115.0 custom_minimum_size = Vector2(50, 0)
offset_bottom = 25.0 layout_mode = 2
custom_minimum_size = Vector2( 50, 0 )
size_flags_vertical = 7 size_flags_vertical = 7
text = "Run Current Script" text = "Run Current Script"
valign = 1
[node name="ShortcutButton" parent="Layout/CRunCurrentScript" instance=ExtResource( 1 )] [node name="ShortcutButton" parent="Layout/CRunCurrentScript" instance=ExtResource("1")]
anchor_right = 0.0 layout_mode = 2
anchor_bottom = 0.0
offset_left = 119.0
offset_right = 425.0
offset_bottom = 25.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="CRunCurrentInner" type="HBoxContainer" parent="Layout"] [node name="CRunCurrentInner" type="HBoxContainer" parent="Layout"]
offset_top = 162.0 layout_mode = 2
offset_right = 425.0
offset_bottom = 187.0
[node name="Label" type="Label" parent="Layout/CRunCurrentInner"] [node name="Label" type="Label" parent="Layout/CRunCurrentInner"]
offset_right = 150.0 custom_minimum_size = Vector2(50, 0)
offset_bottom = 25.0 layout_mode = 2
custom_minimum_size = Vector2( 50, 0 )
size_flags_vertical = 7 size_flags_vertical = 7
text = "Run Current Inner Class" text = "Run Current Inner Class"
valign = 1
[node name="ShortcutButton" parent="Layout/CRunCurrentInner" instance=ExtResource( 1 )] [node name="ShortcutButton" parent="Layout/CRunCurrentInner" instance=ExtResource("1")]
anchor_right = 0.0 layout_mode = 2
anchor_bottom = 0.0
offset_left = 154.0
offset_right = 425.0
offset_bottom = 25.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="CRunCurrentTest" type="HBoxContainer" parent="Layout"] [node name="CRunCurrentTest" type="HBoxContainer" parent="Layout"]
offset_top = 191.0 layout_mode = 2
offset_right = 425.0
offset_bottom = 216.0
[node name="Label" type="Label" parent="Layout/CRunCurrentTest"] [node name="Label" type="Label" parent="Layout/CRunCurrentTest"]
offset_right = 106.0 custom_minimum_size = Vector2(50, 0)
offset_bottom = 25.0 layout_mode = 2
custom_minimum_size = Vector2( 50, 0 )
size_flags_vertical = 7 size_flags_vertical = 7
text = "Run Current Test" text = "Run Current Test"
valign = 1
[node name="ShortcutButton" parent="Layout/CRunCurrentTest" instance=ExtResource( 1 )] [node name="ShortcutButton" parent="Layout/CRunCurrentTest" instance=ExtResource("1")]
anchor_right = 0.0 layout_mode = 2
anchor_bottom = 0.0
offset_left = 110.0
offset_right = 425.0
offset_bottom = 25.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="CenterContainer2" type="CenterContainer" parent="Layout"] [node name="CenterContainer2" type="CenterContainer" parent="Layout"]
offset_top = 220.0 custom_minimum_size = Vector2(0, 5)
offset_right = 425.0 layout_mode = 2
offset_bottom = 241.0
custom_minimum_size = Vector2( 0, 5 )
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
[node name="ShiftDisclaimer" type="Label" parent="Layout"] [node name="ShiftDisclaimer" type="Label" parent="Layout"]
offset_top = 245.0 layout_mode = 2
offset_right = 425.0
offset_bottom = 259.0
text = "\"Shift\" cannot be the only modifier for a shortcut." text = "\"Shift\" cannot be the only modifier for a shortcut."
align = 2
autowrap = true
[node name="HBoxContainer" type="HBoxContainer" parent="Layout"] [node name="HBoxContainer" type="HBoxContainer" parent="Layout"]
offset_top = 263.0 layout_mode = 2
offset_right = 425.0
offset_bottom = 293.0
[node name="CenterContainer" type="CenterContainer" parent="Layout/HBoxContainer"] [node name="CenterContainer" type="CenterContainer" parent="Layout/HBoxContainer"]
offset_right = 361.0 layout_mode = 2
offset_bottom = 30.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
[node name="Hide" type="Button" parent="Layout/HBoxContainer"] [node name="Hide" type="Button" parent="Layout/HBoxContainer"]
offset_left = 365.0 custom_minimum_size = Vector2(60, 30)
offset_right = 425.0 layout_mode = 2
offset_bottom = 30.0
custom_minimum_size = Vector2( 60, 30 )
text = "Close" text = "Close"
[node name="BottomPad" type="CenterContainer" parent="Layout"] [node name="BottomPad" type="CenterContainer" parent="Layout"]
offset_top = 297.0 custom_minimum_size = Vector2(0, 10)
offset_right = 425.0 layout_mode = 2
offset_bottom = 307.0
custom_minimum_size = Vector2( 0, 10 )
size_flags_horizontal = 3 size_flags_horizontal = 3
[connection signal="pressed" from="Layout/HBoxContainer/Hide" to="." method="_on_Hide_pressed"] [connection signal="pressed" from="Layout/HBoxContainer/Hide" to="." method="_on_Hide_pressed"]

View file

@ -1,15 +1,15 @@
[gd_scene load_steps=10 format=3 uid="uid://b3bostcslstem"] [gd_scene load_steps=10 format=3 uid="uid://b3bostcslstem"]
[ext_resource type="Script" path="res://addons/gut/gui/GutBottomPanel.gd" id="1"] [ext_resource type="Script" path="res://addons/gut/gui/GutBottomPanel.gd" id="1"]
[ext_resource type="PackedScene" path="res://addons/gut/gui/BottomPanelShortcuts.tscn" id="2"] [ext_resource type="PackedScene" uid="uid://ddxdytdsad3lj" path="res://addons/gut/gui/BottomPanelShortcuts.tscn" id="2"]
[ext_resource type="PackedScene" path="res://addons/gut/gui/RunAtCursor.tscn" id="3"] [ext_resource type="PackedScene" path="res://addons/gut/gui/RunAtCursor.tscn" id="3"]
[ext_resource type="Texture2D" path="res://addons/gut/gui/play.png" id="4"] [ext_resource type="Texture2D" uid="uid://cr6tvdv0ve6cv" path="res://addons/gut/gui/play.png" id="4"]
[ext_resource type="PackedScene" path="res://addons/gut/gui/RunResults.tscn" id="5"] [ext_resource type="PackedScene" path="res://addons/gut/gui/RunResults.tscn" id="5"]
[ext_resource type="PackedScene" path="res://addons/gut/gui/OutputText.tscn" id="6"] [ext_resource type="PackedScene" path="res://addons/gut/gui/OutputText.tscn" id="6"]
[sub_resource type="Shortcut" id="9"] [sub_resource type="Shortcut" id="Shortcut_a3r4w"]
[sub_resource type="Image" id="Image_r56ab"] [sub_resource type="Image" id="Image_rcnkr"]
data = { data = {
"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, 0, 0, 0, 0, 0, 0),
"format": "LumAlpha8", "format": "LumAlpha8",
@ -18,11 +18,12 @@ data = {
"width": 16 "width": 16
} }
[sub_resource type="ImageTexture" id="2"] [sub_resource type="ImageTexture" id="ImageTexture_0e6r7"]
image = SubResource("Image_r56ab") image = SubResource("Image_rcnkr")
[node name="GutBottomPanel" type="Control"] [node name="GutBottomPanel" type="Control"]
custom_minimum_size = Vector2(250, 250) custom_minimum_size = Vector2(250, 250)
layout_mode = 3
anchor_left = -0.0025866 anchor_left = -0.0025866
anchor_top = -0.00176575 anchor_top = -0.00176575
anchor_right = 0.997413 anchor_right = 0.997413
@ -34,303 +35,198 @@ offset_bottom = 1.05945
script = ExtResource("1") script = ExtResource("1")
[node name="layout" type="VBoxContainer" parent="."] [node name="layout" type="VBoxContainer" parent="."]
layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
[node name="ControlBar" type="HBoxContainer" parent="layout"] [node name="ControlBar" type="HBoxContainer" parent="layout"]
offset_right = 1023.0 layout_mode = 2
offset_bottom = 31.0
[node name="RunAll" type="Button" parent="layout/ControlBar"] [node name="RunAll" type="Button" parent="layout/ControlBar"]
offset_right = 85.0 layout_mode = 2
offset_bottom = 31.0
size_flags_vertical = 11 size_flags_vertical = 11
hint_tooltip = "Run all test scripts in the suite." shortcut = SubResource("Shortcut_a3r4w")
shortcut = SubResource("9")
text = "Run All" text = "Run All"
icon = ExtResource("4") icon = ExtResource("4")
[node name="Label" type="Label" parent="layout/ControlBar"] [node name="Label" type="Label" parent="layout/ControlBar"]
offset_left = 89.0 layout_mode = 2
offset_top = 2.0
offset_right = 162.0
offset_bottom = 28.0
hint_tooltip = "When a test script is edited, buttons are displayed to
run the opened script or an Inner-Test-Class or a
single test. The buttons change based on the location
of the cursor in the file.
These buttons will remain active when editing other
items so that you can run tests without having to switch
back to the test script.
You can assign keyboard shortcuts for these buttons
using the \"shortcuts\" button in the GUT panel."
mouse_filter = 1 mouse_filter = 1
text = "Current: " text = "Current: "
[node name="RunAtCursor" parent="layout/ControlBar" instance=ExtResource("3")] [node name="RunAtCursor" parent="layout/ControlBar" instance=ExtResource("3")]
anchor_right = 0.0 layout_mode = 2
anchor_bottom = 0.0
offset_left = 166.0
offset_right = 532.0
offset_bottom = 31.0
[node name="CenterContainer2" type="CenterContainer" parent="layout/ControlBar"] [node name="CenterContainer2" type="CenterContainer" parent="layout/ControlBar"]
offset_left = 536.0 layout_mode = 2
offset_right = 903.0
offset_bottom = 31.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="Sep1" type="ColorRect" parent="layout/ControlBar"] [node name="Sep1" type="ColorRect" parent="layout/ControlBar"]
offset_left = 907.0 layout_mode = 2
offset_right = 907.0
offset_bottom = 31.0
[node name="RunResultsBtn" type="Button" parent="layout/ControlBar"] [node name="RunResultsBtn" type="Button" parent="layout/ControlBar"]
offset_left = 911.0 layout_mode = 2
offset_right = 935.0
offset_bottom = 31.0
hint_tooltip = "Show/Hide Results Tree Panel."
toggle_mode = true toggle_mode = true
icon = SubResource("2") icon = SubResource("ImageTexture_0e6r7")
[node name="OutputBtn" type="Button" parent="layout/ControlBar"] [node name="OutputBtn" type="Button" parent="layout/ControlBar"]
offset_left = 939.0 layout_mode = 2
offset_right = 963.0
offset_bottom = 31.0
hint_tooltip = "Show/Hide Output Panel."
toggle_mode = true toggle_mode = true
icon = SubResource("2") icon = SubResource("ImageTexture_0e6r7")
[node name="Settings" type="Button" parent="layout/ControlBar"] [node name="Settings" type="Button" parent="layout/ControlBar"]
offset_left = 967.0 layout_mode = 2
offset_right = 991.0
offset_bottom = 31.0
hint_tooltip = "Show/Hide Settings Panel."
toggle_mode = true toggle_mode = true
icon = SubResource("2") icon = SubResource("ImageTexture_0e6r7")
[node name="Sep2" type="ColorRect" parent="layout/ControlBar"] [node name="Sep2" type="ColorRect" parent="layout/ControlBar"]
offset_left = 995.0 layout_mode = 2
offset_right = 995.0
offset_bottom = 31.0
[node name="Shortcuts" type="Button" parent="layout/ControlBar"] [node name="Shortcuts" type="Button" parent="layout/ControlBar"]
offset_left = 999.0 layout_mode = 2
offset_right = 1023.0
offset_bottom = 31.0
size_flags_vertical = 11 size_flags_vertical = 11
hint_tooltip = "Set shortcuts for GUT buttons. Shortcuts do not work when the GUT panel is not visible." icon = SubResource("ImageTexture_0e6r7")
icon = SubResource("2")
[node name="RSplit" type="HSplitContainer" parent="layout"] [node name="RSplit" type="HSplitContainer" parent="layout"]
offset_top = 35.0 layout_mode = 2
offset_right = 1023.0
offset_bottom = 599.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
collapsed = true collapsed = true
[node name="sc" type="ScrollContainer" parent="layout/RSplit"] [node name="sc" type="ScrollContainer" parent="layout/RSplit"]
visible = false visible = false
offset_left = 593.0 layout_mode = 2
offset_right = 1093.0
offset_bottom = 555.0
size_flags_vertical = 3 size_flags_vertical = 3
[node name="Settings" type="VBoxContainer" parent="layout/RSplit/sc"] [node name="Settings" type="VBoxContainer" parent="layout/RSplit/sc"]
offset_right = 500.0 layout_mode = 2
offset_bottom = 555.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
[node name="CResults" type="VBoxContainer" parent="layout/RSplit"] [node name="CResults" type="VBoxContainer" parent="layout/RSplit"]
offset_right = 1023.0 layout_mode = 2
offset_bottom = 564.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
[node name="ControlBar" type="HBoxContainer" parent="layout/RSplit/CResults"] [node name="ControlBar" type="HBoxContainer" parent="layout/RSplit/CResults"]
offset_right = 1023.0 layout_mode = 2
[node name="Light3D" type="Control" parent="layout/RSplit/CResults/ControlBar"] [node name="Light3D" type="Control" parent="layout/RSplit/CResults/ControlBar"]
visible = false visible = false
offset_right = 30.0 layout_mode = 2
offset_bottom = 35.0
[node name="Passing" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"] [node name="Passing" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"]
visible = false visible = false
offset_left = 34.0 layout_mode = 2
offset_right = 107.0
offset_bottom = 35.0
[node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Passing"] [node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Passing"]
offset_right = 2.0 layout_mode = 2
offset_bottom = 35.0
[node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Passing"] [node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Passing"]
offset_left = 6.0 layout_mode = 2
offset_top = 10.0
offset_right = 54.0
offset_bottom = 24.0
text = "Passing" text = "Passing"
[node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Passing"] [node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Passing"]
offset_left = 58.0 layout_mode = 2
offset_top = 10.0
offset_right = 73.0
offset_bottom = 24.0
text = "---" text = "---"
[node name="Failing" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"] [node name="Failing" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"]
visible = false visible = false
offset_left = 34.0 layout_mode = 2
offset_right = 100.0
offset_bottom = 35.0
[node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Failing"] [node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Failing"]
offset_right = 2.0 layout_mode = 2
offset_bottom = 35.0
[node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Failing"] [node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Failing"]
offset_left = 6.0 layout_mode = 2
offset_top = 10.0
offset_right = 47.0
offset_bottom = 24.0
text = "Failing" text = "Failing"
[node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Failing"] [node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Failing"]
offset_left = 51.0 layout_mode = 2
offset_top = 10.0
offset_right = 66.0
offset_bottom = 24.0
text = "---" text = "---"
[node name="Pending" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"] [node name="Pending" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"]
visible = false visible = false
offset_left = 34.0 layout_mode = 2
offset_right = 110.0
offset_bottom = 35.0
[node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Pending"] [node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Pending"]
offset_right = 2.0 layout_mode = 2
offset_bottom = 35.0
[node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Pending"] [node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Pending"]
offset_left = 6.0 layout_mode = 2
offset_top = 10.0
offset_right = 57.0
offset_bottom = 24.0
text = "Pending" text = "Pending"
[node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Pending"] [node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Pending"]
offset_left = 61.0 layout_mode = 2
offset_top = 10.0
offset_right = 76.0
offset_bottom = 24.0
text = "---" text = "---"
[node name="Orphans" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"] [node name="Orphans" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"]
visible = false visible = false
offset_left = 34.0 layout_mode = 2
offset_right = 110.0
offset_bottom = 35.0
[node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Orphans"] [node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Orphans"]
offset_right = 2.0 layout_mode = 2
offset_bottom = 35.0
[node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Orphans"] [node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Orphans"]
offset_left = 6.0 layout_mode = 2
offset_top = 10.0
offset_right = 57.0
offset_bottom = 24.0
text = "Orphans" text = "Orphans"
[node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Orphans"] [node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Orphans"]
offset_left = 61.0 layout_mode = 2
offset_top = 10.0
offset_right = 76.0
offset_bottom = 24.0
text = "---" text = "---"
[node name="Errors" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"] [node name="Errors" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"]
visible = false visible = false
offset_left = 34.0 layout_mode = 2
offset_right = 96.0
offset_bottom = 35.0
[node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Errors"] [node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Errors"]
offset_right = 2.0 layout_mode = 2
offset_bottom = 35.0
[node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Errors"] [node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Errors"]
offset_left = 6.0 layout_mode = 2
offset_top = 10.0
offset_right = 43.0
offset_bottom = 24.0
hint_tooltip = "The number of GUT errors generated. This does not include engine errors."
text = "Errors" text = "Errors"
[node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Errors"] [node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Errors"]
offset_left = 47.0 layout_mode = 2
offset_top = 10.0
offset_right = 62.0
offset_bottom = 24.0
text = "---" text = "---"
[node name="Warnings" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"] [node name="Warnings" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"]
visible = false visible = false
offset_left = 34.0 layout_mode = 2
offset_right = 118.0
offset_bottom = 35.0
[node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Warnings"] [node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Warnings"]
offset_right = 2.0 layout_mode = 2
offset_bottom = 35.0
[node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Warnings"] [node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Warnings"]
offset_left = 6.0 layout_mode = 2
offset_top = 10.0
offset_right = 65.0
offset_bottom = 24.0
text = "Warnings" text = "Warnings"
[node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Warnings"] [node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Warnings"]
offset_left = 69.0 layout_mode = 2
offset_top = 10.0
offset_right = 84.0
offset_bottom = 24.0
text = "---" text = "---"
[node name="CenterContainer" type="CenterContainer" parent="layout/RSplit/CResults/ControlBar"] [node name="CenterContainer" type="CenterContainer" parent="layout/RSplit/CResults/ControlBar"]
offset_right = 1023.0 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="TabBar" type="HSplitContainer" parent="layout/RSplit/CResults"] [node name="TabBar" type="HSplitContainer" parent="layout/RSplit/CResults"]
offset_top = 4.0 layout_mode = 2
offset_right = 1023.0
offset_bottom = 564.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
[node name="RunResults" parent="layout/RSplit/CResults/TabBar" instance=ExtResource("5")] [node name="RunResults" parent="layout/RSplit/CResults/TabBar" instance=ExtResource("5")]
offset_right = 505.0 custom_minimum_size = Vector2(282, 0)
offset_bottom = 560.0 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
[node name="OutputText" parent="layout/RSplit/CResults/TabBar" instance=ExtResource("6")] [node name="OutputText" parent="layout/RSplit/CResults/TabBar" instance=ExtResource("6")]
offset_left = 517.0 layout_mode = 2
offset_right = 1023.0
offset_bottom = 560.0
[node name="BottomPanelShortcuts" parent="." instance=ExtResource("2")] [node name="BottomPanelShortcuts" parent="." instance=ExtResource("2")]
visible = false visible = false
[connection signal="pressed" from="layout/ControlBar/RunAll" to="." method="_on_RunAll_pressed"] [connection signal="pressed" from="layout/ControlBar/RunAll" to="." method="_on_RunAll_pressed"]
[connection signal="run_tests" from="layout/ControlBar/RunAtCursor" to="." method="_on_RunAtCursor_run_tests"]
[connection signal="pressed" from="layout/ControlBar/RunResultsBtn" to="." method="_on_RunResultsBtn_pressed"] [connection signal="pressed" from="layout/ControlBar/RunResultsBtn" to="." method="_on_RunResultsBtn_pressed"]
[connection signal="pressed" from="layout/ControlBar/OutputBtn" to="." method="_on_OutputBtn_pressed"] [connection signal="pressed" from="layout/ControlBar/OutputBtn" to="." method="_on_OutputBtn_pressed"]
[connection signal="pressed" from="layout/ControlBar/Settings" to="." method="_on_Settings_pressed"] [connection signal="pressed" from="layout/ControlBar/Settings" to="." method="_on_Settings_pressed"]

File diff suppressed because one or more lines are too long

View file

@ -1,113 +1,77 @@
[gd_scene load_steps=4 format=2] [gd_scene load_steps=4 format=3 uid="uid://cwo4u5ubh130q"]
[ext_resource path="res://addons/gut/gui/OutputText.gd" type="Script" id=1] [ext_resource type="Script" path="res://addons/gut/gui/OutputText.gd" id="1"]
[sub_resource type="Image" id=3] [sub_resource type="Image" id="Image_xvnlh"]
data = { data = {
"data": PackedByteArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
"format": "LumAlpha8", "format": "LumAlpha8",
"height": 16, "height": 16,
"mipmaps": false, "mipmaps": false,
"width": 16 "width": 16
} }
[sub_resource type="ImageTexture" id=2] [sub_resource type="ImageTexture" id="2"]
flags = 4 image = SubResource("Image_xvnlh")
flags = 4
image = SubResource( 3 )
size = Vector2( 16, 16 )
[node name="OutputText" type="VBoxContainer"] [node name="OutputText" type="VBoxContainer"]
offset_right = 862.0 offset_right = 862.0
offset_bottom = 523.0 offset_bottom = 523.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
script = ExtResource( 1 ) script = ExtResource("1")
[node name="Toolbar" type="HBoxContainer" parent="."] [node name="Toolbar" type="HBoxContainer" parent="."]
offset_right = 862.0 layout_mode = 2
offset_bottom = 24.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="ShowSearch" type="Button" parent="Toolbar"] [node name="ShowSearch" type="Button" parent="Toolbar"]
offset_right = 28.0 layout_mode = 2
offset_bottom = 24.0
toggle_mode = true toggle_mode = true
icon = SubResource( 2 ) icon = SubResource("2")
[node name="UseColors" type="Button" parent="Toolbar"] [node name="UseColors" type="Button" parent="Toolbar"]
offset_left = 32.0 layout_mode = 2
offset_right = 60.0
offset_bottom = 24.0
hint_tooltip = "Colorize output.
It's not the same as everywhere else (long story),
but it is better than nothing."
toggle_mode = true toggle_mode = true
pressed = true icon = SubResource("2")
icon = SubResource( 2 )
[node name="WordWrap" type="Button" parent="Toolbar"] [node name="WordWrap" type="Button" parent="Toolbar"]
offset_left = 64.0 layout_mode = 2
offset_right = 92.0
offset_bottom = 24.0
hint_tooltip = "Word wrap"
toggle_mode = true toggle_mode = true
icon = SubResource( 2 ) icon = SubResource("2")
[node name="CenterContainer" type="CenterContainer" parent="Toolbar"] [node name="CenterContainer" type="CenterContainer" parent="Toolbar"]
offset_left = 96.0 layout_mode = 2
offset_right = 743.0
offset_bottom = 24.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="CopyButton" type="Button" parent="Toolbar"] [node name="CopyButton" type="Button" parent="Toolbar"]
offset_left = 747.0 layout_mode = 2
offset_right = 798.0
offset_bottom = 24.0
hint_tooltip = "Copy to clipboard"
text = " Copy " text = " Copy "
[node name="ClearButton" type="Button" parent="Toolbar"] [node name="ClearButton" type="Button" parent="Toolbar"]
offset_left = 802.0 layout_mode = 2
offset_right = 862.0
offset_bottom = 24.0
text = " Clear " text = " Clear "
[node name="Output" type="TextEdit" parent="."] [node name="Output" type="TextEdit" parent="."]
offset_top = 28.0 layout_mode = 2
offset_right = 862.0
offset_bottom = 523.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
readonly = true
highlight_current_line = true highlight_current_line = true
syntax_highlighter = true
show_line_numbers = true
smooth_scrolling = true
[node name="Search" type="HBoxContainer" parent="."] [node name="Search" type="HBoxContainer" parent="."]
visible = false visible = false
offset_top = 499.0 layout_mode = 2
offset_right = 862.0
offset_bottom = 523.0
[node name="SearchTerm" type="LineEdit" parent="Search"] [node name="SearchTerm" type="LineEdit" parent="Search"]
offset_right = 804.0 layout_mode = 2
offset_bottom = 24.0
size_flags_horizontal = 3 size_flags_horizontal = 3
[node name="SearchNext" type="Button" parent="Search"] [node name="SearchNext" type="Button" parent="Search"]
offset_left = 808.0 layout_mode = 2
offset_right = 862.0
offset_bottom = 24.0
hint_tooltip = "Find next (enter)"
text = "Next" text = "Next"
[node name="SearchPrev" type="Button" parent="Search"] [node name="SearchPrev" type="Button" parent="Search"]
offset_left = 808.0 layout_mode = 2
offset_right = 820.0
offset_bottom = 20.0
hint_tooltip = "Find previous (shift + enter)"
text = "Prev" text = "Prev"
[connection signal="pressed" from="Toolbar/ShowSearch" to="." method="_on_ShowSearch_pressed"] [connection signal="pressed" from="Toolbar/ShowSearch" to="." method="_on_ShowSearch_pressed"]

View file

@ -1,79 +1,65 @@
[gd_scene load_steps=4 format=2] [gd_scene load_steps=4 format=3 uid="uid://0jg7hhoks7ld"]
[ext_resource path="res://addons/gut/gui/RunAtCursor.gd" type="Script" id=1] [ext_resource type="Script" path="res://addons/gut/gui/RunAtCursor.gd" id="1"]
[ext_resource path="res://addons/gut/gui/play.png" type="Texture2D" id=2] [ext_resource type="Texture2D" uid="uid://cr6tvdv0ve6cv" path="res://addons/gut/gui/play.png" id="2"]
[ext_resource path="res://addons/gut/gui/arrow.png" type="Texture2D" id=3] [ext_resource type="Texture2D" uid="uid://6wra5rxmfsrl" path="res://addons/gut/gui/arrow.png" id="3"]
[node name="RunAtCursor" type="Control"] [node name="RunAtCursor" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
offset_right = 1.0 offset_right = 1.0
offset_bottom = -527.0 offset_bottom = -527.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
script = ExtResource( 1 ) script = ExtResource("1")
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false
} }
[node name="HBox" type="HBoxContainer" parent="."] [node name="HBox" type="HBoxContainer" parent="."]
layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LblNoneSelected" type="Label" parent="HBox"] [node name="LblNoneSelected" type="Label" parent="HBox"]
offset_top = 29.0 layout_mode = 2
offset_right = 50.0
offset_bottom = 43.0
text = "<None>" text = "<None>"
[node name="BtnRunScript" type="Button" parent="HBox"] [node name="BtnRunScript" type="Button" parent="HBox"]
visible = false visible = false
offset_left = 54.0 layout_mode = 2
offset_right = 140.0
offset_bottom = 73.0
text = "<script>" text = "<script>"
icon = ExtResource( 2 ) icon = ExtResource("2")
[node name="Arrow1" type="TextureButton" parent="HBox"] [node name="Arrow1" type="TextureButton" parent="HBox"]
visible = false visible = false
offset_left = 54.0 custom_minimum_size = Vector2(24, 0)
offset_right = 78.0 layout_mode = 2
offset_bottom = 73.0 texture_normal = ExtResource("3")
custom_minimum_size = Vector2( 24, 0 )
texture_normal = ExtResource( 3 )
expand = true
stretch_mode = 3 stretch_mode = 3
[node name="BtnRunInnerClass" type="Button" parent="HBox"] [node name="BtnRunInnerClass" type="Button" parent="HBox"]
visible = false visible = false
offset_left = 134.0 layout_mode = 2
offset_right = 243.0
offset_bottom = 73.0
text = "<inner class>" text = "<inner class>"
icon = ExtResource( 2 ) icon = ExtResource("2")
[node name="Arrow2" type="TextureButton" parent="HBox"] [node name="Arrow2" type="TextureButton" parent="HBox"]
visible = false visible = false
offset_left = 54.0 custom_minimum_size = Vector2(24, 0)
offset_right = 78.0 layout_mode = 2
offset_bottom = 73.0 texture_normal = ExtResource("3")
custom_minimum_size = Vector2( 24, 0 )
texture_normal = ExtResource( 3 )
expand = true
stretch_mode = 3 stretch_mode = 3
[node name="BtnRunMethod" type="Button" parent="HBox"] [node name="BtnRunMethod" type="Button" parent="HBox"]
visible = false visible = false
offset_left = 247.0 layout_mode = 2
offset_right = 337.0
offset_bottom = 73.0
text = "<method>" text = "<method>"
icon = ExtResource( 2 ) icon = ExtResource("2")
[connection signal="pressed" from="HBox/BtnRunScript" to="." method="_on_BtnRunScript_pressed"] [connection signal="pressed" from="HBox/BtnRunScript" to="." method="_on_BtnRunScript_pressed"]
[connection signal="pressed" from="HBox/BtnRunInnerClass" to="." method="_on_BtnRunInnerClass_pressed"] [connection signal="pressed" from="HBox/BtnRunInnerClass" to="." method="_on_BtnRunInnerClass_pressed"]

View file

@ -1,157 +1,112 @@
[gd_scene load_steps=4 format=2] [gd_scene load_steps=4 format=3 uid="uid://boevvp8n2b0ls"]
[ext_resource path="res://addons/gut/gui/RunResults.gd" type="Script" id=1] [ext_resource type="Script" path="res://addons/gut/gui/RunResults.gd" id="1"]
[sub_resource type="Image" id=3] [sub_resource type="Image" id="Image_q0dh5"]
data = { data = {
"data": PackedByteArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 128, 128, 4, 255, 128, 128, 4, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 131, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 131, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 131, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 93, 93, 55, 255, 97, 97, 58, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 97, 97, 42, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 98, 98, 47, 255, 97, 97, 42, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 93, 93, 233, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 94, 94, 46, 255, 93, 93, 236, 255, 93, 93, 233, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0),
"format": "LumAlpha8", "format": "RGBA8",
"height": 16, "height": 16,
"mipmaps": false, "mipmaps": false,
"width": 16 "width": 16
} }
[sub_resource type="ImageTexture" id=2] [sub_resource type="ImageTexture" id="ImageTexture_r8pd5"]
flags = 4 image = SubResource("Image_q0dh5")
flags = 4
image = SubResource( 3 )
size = Vector2( 16, 16 )
[node name="RunResults" type="Control"] [node name="RunResults" type="Control"]
custom_minimum_size = Vector2(282, 0)
layout_mode = 3
anchors_preset = 0
offset_right = 595.0 offset_right = 595.0
offset_bottom = 459.0 offset_bottom = 459.0
custom_minimum_size = Vector2( 302, 0 ) script = ExtResource("1")
script = ExtResource( 1 )
[node name="VBox" type="VBoxContainer" parent="."] [node name="VBox" type="VBoxContainer" parent="."]
layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
[node name="Toolbar" type="HBoxContainer" parent="VBox"] [node name="Toolbar" type="HBoxContainer" parent="VBox"]
offset_right = 296.0 layout_mode = 2
offset_bottom = 24.0
size_flags_horizontal = 0 size_flags_horizontal = 0
[node name="Expand" type="Button" parent="VBox/Toolbar"] [node name="Expand" type="Button" parent="VBox/Toolbar"]
offset_right = 28.0 layout_mode = 2
offset_bottom = 24.0 icon = SubResource("ImageTexture_r8pd5")
hint_tooltip = "Expand selected item and all children."
icon = SubResource( 2 )
[node name="Collapse" type="Button" parent="VBox/Toolbar"] [node name="Collapse" type="Button" parent="VBox/Toolbar"]
offset_left = 32.0 layout_mode = 2
offset_right = 60.0 icon = SubResource("ImageTexture_r8pd5")
offset_bottom = 24.0
hint_tooltip = "Collapse selected item and all children."
icon = SubResource( 2 )
[node name="Sep" type="ColorRect" parent="VBox/Toolbar"] [node name="Sep" type="ColorRect" parent="VBox/Toolbar"]
offset_left = 64.0 custom_minimum_size = Vector2(2, 0)
offset_right = 66.0 layout_mode = 2
offset_bottom = 24.0
custom_minimum_size = Vector2( 2, 0 )
[node name="LblAll" type="Label" parent="VBox/Toolbar"] [node name="LblAll" type="Label" parent="VBox/Toolbar"]
offset_left = 70.0 layout_mode = 2
offset_top = 5.0
offset_right = 91.0
offset_bottom = 19.0
text = "All:" text = "All:"
align = 1
[node name="ExpandAll" type="Button" parent="VBox/Toolbar"] [node name="ExpandAll" type="Button" parent="VBox/Toolbar"]
offset_left = 95.0 layout_mode = 2
offset_right = 123.0 icon = SubResource("ImageTexture_r8pd5")
offset_bottom = 24.0
hint_tooltip = "Expand All."
icon = SubResource( 2 )
[node name="CollapseAll" type="Button" parent="VBox/Toolbar"] [node name="CollapseAll" type="Button" parent="VBox/Toolbar"]
offset_left = 127.0 layout_mode = 2
offset_right = 155.0 icon = SubResource("ImageTexture_r8pd5")
offset_bottom = 24.0
hint_tooltip = "Collapse all."
icon = SubResource( 2 )
[node name="Sep2" type="ColorRect" parent="VBox/Toolbar"] [node name="Sep2" type="ColorRect" parent="VBox/Toolbar"]
offset_left = 159.0 custom_minimum_size = Vector2(2, 0)
offset_right = 161.0 layout_mode = 2
offset_bottom = 24.0
custom_minimum_size = Vector2( 2, 0 )
[node name="HidePassing" type="CheckBox" parent="VBox/Toolbar"] [node name="HidePassing" type="CheckBox" parent="VBox/Toolbar"]
offset_left = 165.0 layout_mode = 2
offset_right = 189.0
offset_bottom = 24.0
hint_tooltip = "Show/Hide passing tests. Takes effect on next run."
size_flags_horizontal = 4 size_flags_horizontal = 4
custom_icons/checked = SubResource( 2 )
custom_icons/unchecked = SubResource( 2 )
pressed = true
__meta__ = {
"_editor_description_": ""
}
[node name="Sep3" type="ColorRect" parent="VBox/Toolbar"] [node name="Sep3" type="ColorRect" parent="VBox/Toolbar"]
offset_left = 193.0 custom_minimum_size = Vector2(2, 0)
offset_right = 195.0 layout_mode = 2
offset_bottom = 24.0
custom_minimum_size = Vector2( 2, 0 )
[node name="LblSync" type="Label" parent="VBox/Toolbar"] [node name="LblSync" type="Label" parent="VBox/Toolbar"]
offset_left = 199.0 layout_mode = 2
offset_top = 5.0
offset_right = 232.0
offset_bottom = 19.0
text = "Sync:" text = "Sync:"
align = 1
[node name="ShowScript" type="Button" parent="VBox/Toolbar"] [node name="ShowScript" type="Button" parent="VBox/Toolbar"]
offset_left = 236.0 layout_mode = 2
offset_right = 264.0
offset_bottom = 24.0
hint_tooltip = "Open script and scroll to line when a tree item is clicked."
toggle_mode = true toggle_mode = true
pressed = true icon = SubResource("ImageTexture_r8pd5")
icon = SubResource( 2 )
[node name="ScrollOutput" type="Button" parent="VBox/Toolbar"] [node name="ScrollOutput" type="Button" parent="VBox/Toolbar"]
offset_left = 268.0 layout_mode = 2
offset_right = 296.0
offset_bottom = 24.0
hint_tooltip = "Scroll to related line in the output panel when tree item clicked."
toggle_mode = true toggle_mode = true
pressed = true icon = SubResource("ImageTexture_r8pd5")
icon = SubResource( 2 )
[node name="Output" type="Panel" parent="VBox"] [node name="Output" type="Panel" parent="VBox"]
self_modulate = Color( 1, 1, 1, 0.541176 ) self_modulate = Color(1, 1, 1, 0.541176)
offset_top = 28.0 layout_mode = 2
offset_right = 595.0
offset_bottom = 459.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
[node name="Scroll" type="ScrollContainer" parent="VBox/Output"] [node name="Scroll" type="ScrollContainer" parent="VBox/Output"]
layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
[node name="Tree" type="Tree" parent="VBox/Output/Scroll"] [node name="Tree" type="Tree" parent="VBox/Output/Scroll"]
offset_right = 595.0 layout_mode = 2
offset_bottom = 431.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
columns = 2 columns = 2
hide_root = true hide_root = true
[node name="OverlayMessage" type="Label" parent="VBox/Output"] [node name="OverlayMessage" type="Label" parent="VBox/Output"]
layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
align = 1
valign = 1
[node name="FontSampler" type="Label" parent="."] [node name="FontSampler" type="Label" parent="."]
visible = false visible = false
layout_mode = 0
offset_right = 40.0 offset_right = 40.0
offset_bottom = 14.0 offset_bottom = 14.0
text = "000 of 000 passed" text = "000 of 000 passed"

View file

@ -1,4 +1,4 @@
[gd_scene format=2] [gd_scene format=3 uid="uid://bag1sfh8or3up"]
[node name="Settings" type="VBoxContainer"] [node name="Settings" type="VBoxContainer"]
offset_right = 388.0 offset_right = 388.0

View file

@ -1,77 +1,51 @@
[gd_scene load_steps=2 format=2] [gd_scene load_steps=2 format=3 uid="uid://7i6if6n25stm"]
[ext_resource path="res://addons/gut/gui/ShortcutButton.gd" type="Script" id=1] [ext_resource type="Script" path="res://addons/gut/gui/ShortcutButton.gd" id="1"]
[node name="ShortcutButton" type="Control"] [node name="ShortcutButton" type="Control"]
custom_minimum_size = Vector2(125, 25)
layout_mode = 3
anchor_right = 0.123 anchor_right = 0.123
anchor_bottom = 0.04 anchor_bottom = 0.04
offset_right = 33.048 offset_right = 33.048
offset_bottom = 1.0 offset_bottom = 1.0
custom_minimum_size = Vector2( 125, 25 ) script = ExtResource("1")
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Layout" type="HBoxContainer" parent="."] [node name="Layout" type="HBoxContainer" parent="."]
layout_mode = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="lblShortcut" type="Label" parent="Layout"] [node name="lblShortcut" type="Label" parent="Layout"]
offset_right = 50.0 layout_mode = 2
offset_bottom = 25.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 7 size_flags_vertical = 7
text = "<None>" text = "<None>"
align = 2
valign = 1
[node name="CenterContainer" type="CenterContainer" parent="Layout"] [node name="CenterContainer" type="CenterContainer" parent="Layout"]
offset_left = 54.0 custom_minimum_size = Vector2(10, 0)
offset_right = 64.0 layout_mode = 2
offset_bottom = 25.0
custom_minimum_size = Vector2( 10, 0 )
[node name="SetButton" type="Button" parent="Layout"] [node name="SetButton" type="Button" parent="Layout"]
offset_left = 68.0 custom_minimum_size = Vector2(60, 0)
offset_right = 128.0 layout_mode = 2
offset_bottom = 25.0
custom_minimum_size = Vector2( 60, 0 )
text = "Set" text = "Set"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="SaveButton" type="Button" parent="Layout"] [node name="SaveButton" type="Button" parent="Layout"]
visible = false visible = false
offset_left = 82.0 custom_minimum_size = Vector2(60, 0)
offset_right = 142.0 layout_mode = 2
offset_bottom = 25.0
custom_minimum_size = Vector2( 60, 0 )
text = "Save" text = "Save"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CancelButton" type="Button" parent="Layout"] [node name="CancelButton" type="Button" parent="Layout"]
visible = false visible = false
offset_left = 82.0 custom_minimum_size = Vector2(60, 0)
offset_right = 142.0 layout_mode = 2
offset_bottom = 25.0
custom_minimum_size = Vector2( 60, 0 )
text = "Cancel" text = "Cancel"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ClearButton" type="Button" parent="Layout"] [node name="ClearButton" type="Button" parent="Layout"]
offset_left = 132.0 custom_minimum_size = Vector2(60, 0)
offset_right = 192.0 layout_mode = 2
offset_bottom = 25.0
custom_minimum_size = Vector2( 60, 0 )
text = "Clear" text = "Clear"
[connection signal="pressed" from="Layout/SetButton" to="." method="_on_SetButton_pressed"] [connection signal="pressed" from="Layout/SetButton" to="." method="_on_SetButton_pressed"]

View file

@ -375,4 +375,4 @@ func get_auto_flush_input():
func set_auto_flush_input(val): func set_auto_flush_input(val):
_auto_flush_input = val _auto_flush_input = val

View file

@ -3,7 +3,7 @@
[ext_resource type="Theme" uid="uid://b7vd50tw2g1nl" path="res://themes/default.tres" id="1_nsh8i"] [ext_resource type="Theme" uid="uid://b7vd50tw2g1nl" path="res://themes/default.tres" id="1_nsh8i"]
[ext_resource type="Animation" uid="uid://dcgqvylq0648u" path="res://examples/asciicast/example.cast" id="2_3048a"] [ext_resource type="Animation" uid="uid://dcgqvylq0648u" path="res://examples/asciicast/example.cast" id="2_3048a"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_02l7k"] [sub_resource type="AnimationLibrary" id="AnimationLibrary_eb6bs"]
_data = { _data = {
"example": ExtResource("2_3048a") "example": ExtResource("2_3048a")
} }
@ -22,5 +22,5 @@ autoplay = "example"
playback_speed = 2.0 playback_speed = 2.0
method_call_mode = 1 method_call_mode = 1
libraries = { libraries = {
"": SubResource("AnimationLibrary_02l7k") "": SubResource("AnimationLibrary_eb6bs")
} }

View file

@ -1,23 +1,20 @@
[gd_scene load_steps=3 format=2] [gd_scene load_steps=3 format=3 uid="uid://d3xc4utggdchf"]
[ext_resource path="res://addons/godot_xterm/terminal.gd" type="Script" id=2] [ext_resource type="Script" path="res://addons/godot_xterm/terminal.gd" id="2"]
[ext_resource path="res://examples/web_console/web_console.gd" type="Script" id=3] [ext_resource type="Script" path="res://examples/web_console/web_console.gd" id="3"]
[node name="WebConsole" type="Control"] [node name="WebConsole" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
script = ExtResource( 3 ) grow_horizontal = 2
__meta__ = { grow_vertical = 2
"_edit_use_anchors_": false script = ExtResource("3")
}
[node name="Terminal" type="Control" parent="."] [node name="Terminal" type="Control" parent="."]
anchors_preset = 0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
focus_mode = 2 focus_mode = 2
script = ExtResource( 2 ) script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="key_pressed" from="Terminal" to="." method="_on_Terminal_key_pressed"]