mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-12 21:50:26 +01:00
339 lines
12 KiB
Text
339 lines
12 KiB
Text
[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="PackedScene" 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="Texture2D" 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/OutputText.tscn" id="6"]
|
|
|
|
[sub_resource type="Shortcut" id="9"]
|
|
|
|
[sub_resource type="Image" id="Image_r56ab"]
|
|
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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": false,
|
|
"width": 16
|
|
}
|
|
|
|
[sub_resource type="ImageTexture" id="2"]
|
|
image = SubResource("Image_r56ab")
|
|
|
|
[node name="GutBottomPanel" type="Control"]
|
|
custom_minimum_size = Vector2(250, 250)
|
|
anchor_left = -0.0025866
|
|
anchor_top = -0.00176575
|
|
anchor_right = 0.997413
|
|
anchor_bottom = 0.998234
|
|
offset_left = 2.64868
|
|
offset_top = 1.05945
|
|
offset_right = 2.64862
|
|
offset_bottom = 1.05945
|
|
script = ExtResource("1")
|
|
|
|
[node name="layout" type="VBoxContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="ControlBar" type="HBoxContainer" parent="layout"]
|
|
offset_right = 1023.0
|
|
offset_bottom = 31.0
|
|
|
|
[node name="RunAll" type="Button" parent="layout/ControlBar"]
|
|
offset_right = 85.0
|
|
offset_bottom = 31.0
|
|
size_flags_vertical = 11
|
|
hint_tooltip = "Run all test scripts in the suite."
|
|
shortcut = SubResource("9")
|
|
text = "Run All"
|
|
icon = ExtResource("4")
|
|
|
|
[node name="Label" type="Label" parent="layout/ControlBar"]
|
|
offset_left = 89.0
|
|
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
|
|
text = "Current: "
|
|
|
|
[node name="RunAtCursor" parent="layout/ControlBar" instance=ExtResource("3")]
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
offset_left = 166.0
|
|
offset_right = 532.0
|
|
offset_bottom = 31.0
|
|
|
|
[node name="CenterContainer2" type="CenterContainer" parent="layout/ControlBar"]
|
|
offset_left = 536.0
|
|
offset_right = 903.0
|
|
offset_bottom = 31.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Sep1" type="ColorRect" parent="layout/ControlBar"]
|
|
offset_left = 907.0
|
|
offset_right = 907.0
|
|
offset_bottom = 31.0
|
|
|
|
[node name="RunResultsBtn" type="Button" parent="layout/ControlBar"]
|
|
offset_left = 911.0
|
|
offset_right = 935.0
|
|
offset_bottom = 31.0
|
|
hint_tooltip = "Show/Hide Results Tree Panel."
|
|
toggle_mode = true
|
|
icon = SubResource("2")
|
|
|
|
[node name="OutputBtn" type="Button" parent="layout/ControlBar"]
|
|
offset_left = 939.0
|
|
offset_right = 963.0
|
|
offset_bottom = 31.0
|
|
hint_tooltip = "Show/Hide Output Panel."
|
|
toggle_mode = true
|
|
icon = SubResource("2")
|
|
|
|
[node name="Settings" type="Button" parent="layout/ControlBar"]
|
|
offset_left = 967.0
|
|
offset_right = 991.0
|
|
offset_bottom = 31.0
|
|
hint_tooltip = "Show/Hide Settings Panel."
|
|
toggle_mode = true
|
|
icon = SubResource("2")
|
|
|
|
[node name="Sep2" type="ColorRect" parent="layout/ControlBar"]
|
|
offset_left = 995.0
|
|
offset_right = 995.0
|
|
offset_bottom = 31.0
|
|
|
|
[node name="Shortcuts" type="Button" parent="layout/ControlBar"]
|
|
offset_left = 999.0
|
|
offset_right = 1023.0
|
|
offset_bottom = 31.0
|
|
size_flags_vertical = 11
|
|
hint_tooltip = "Set shortcuts for GUT buttons. Shortcuts do not work when the GUT panel is not visible."
|
|
icon = SubResource("2")
|
|
|
|
[node name="RSplit" type="HSplitContainer" parent="layout"]
|
|
offset_top = 35.0
|
|
offset_right = 1023.0
|
|
offset_bottom = 599.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
collapsed = true
|
|
|
|
[node name="sc" type="ScrollContainer" parent="layout/RSplit"]
|
|
visible = false
|
|
offset_left = 593.0
|
|
offset_right = 1093.0
|
|
offset_bottom = 555.0
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Settings" type="VBoxContainer" parent="layout/RSplit/sc"]
|
|
offset_right = 500.0
|
|
offset_bottom = 555.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="CResults" type="VBoxContainer" parent="layout/RSplit"]
|
|
offset_right = 1023.0
|
|
offset_bottom = 564.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="ControlBar" type="HBoxContainer" parent="layout/RSplit/CResults"]
|
|
offset_right = 1023.0
|
|
|
|
[node name="Light3D" type="Control" parent="layout/RSplit/CResults/ControlBar"]
|
|
visible = false
|
|
offset_right = 30.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="Passing" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"]
|
|
visible = false
|
|
offset_left = 34.0
|
|
offset_right = 107.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Passing"]
|
|
offset_right = 2.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Passing"]
|
|
offset_left = 6.0
|
|
offset_top = 10.0
|
|
offset_right = 54.0
|
|
offset_bottom = 24.0
|
|
text = "Passing"
|
|
|
|
[node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Passing"]
|
|
offset_left = 58.0
|
|
offset_top = 10.0
|
|
offset_right = 73.0
|
|
offset_bottom = 24.0
|
|
text = "---"
|
|
|
|
[node name="Failing" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"]
|
|
visible = false
|
|
offset_left = 34.0
|
|
offset_right = 100.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Failing"]
|
|
offset_right = 2.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Failing"]
|
|
offset_left = 6.0
|
|
offset_top = 10.0
|
|
offset_right = 47.0
|
|
offset_bottom = 24.0
|
|
text = "Failing"
|
|
|
|
[node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Failing"]
|
|
offset_left = 51.0
|
|
offset_top = 10.0
|
|
offset_right = 66.0
|
|
offset_bottom = 24.0
|
|
text = "---"
|
|
|
|
[node name="Pending" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"]
|
|
visible = false
|
|
offset_left = 34.0
|
|
offset_right = 110.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Pending"]
|
|
offset_right = 2.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Pending"]
|
|
offset_left = 6.0
|
|
offset_top = 10.0
|
|
offset_right = 57.0
|
|
offset_bottom = 24.0
|
|
text = "Pending"
|
|
|
|
[node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Pending"]
|
|
offset_left = 61.0
|
|
offset_top = 10.0
|
|
offset_right = 76.0
|
|
offset_bottom = 24.0
|
|
text = "---"
|
|
|
|
[node name="Orphans" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"]
|
|
visible = false
|
|
offset_left = 34.0
|
|
offset_right = 110.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Orphans"]
|
|
offset_right = 2.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Orphans"]
|
|
offset_left = 6.0
|
|
offset_top = 10.0
|
|
offset_right = 57.0
|
|
offset_bottom = 24.0
|
|
text = "Orphans"
|
|
|
|
[node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Orphans"]
|
|
offset_left = 61.0
|
|
offset_top = 10.0
|
|
offset_right = 76.0
|
|
offset_bottom = 24.0
|
|
text = "---"
|
|
|
|
[node name="Errors" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"]
|
|
visible = false
|
|
offset_left = 34.0
|
|
offset_right = 96.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Errors"]
|
|
offset_right = 2.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Errors"]
|
|
offset_left = 6.0
|
|
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"
|
|
|
|
[node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Errors"]
|
|
offset_left = 47.0
|
|
offset_top = 10.0
|
|
offset_right = 62.0
|
|
offset_bottom = 24.0
|
|
text = "---"
|
|
|
|
[node name="Warnings" type="HBoxContainer" parent="layout/RSplit/CResults/ControlBar"]
|
|
visible = false
|
|
offset_left = 34.0
|
|
offset_right = 118.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="Sep" type="ColorRect" parent="layout/RSplit/CResults/ControlBar/Warnings"]
|
|
offset_right = 2.0
|
|
offset_bottom = 35.0
|
|
|
|
[node name="label" type="Label" parent="layout/RSplit/CResults/ControlBar/Warnings"]
|
|
offset_left = 6.0
|
|
offset_top = 10.0
|
|
offset_right = 65.0
|
|
offset_bottom = 24.0
|
|
text = "Warnings"
|
|
|
|
[node name="value" type="Label" parent="layout/RSplit/CResults/ControlBar/Warnings"]
|
|
offset_left = 69.0
|
|
offset_top = 10.0
|
|
offset_right = 84.0
|
|
offset_bottom = 24.0
|
|
text = "---"
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="layout/RSplit/CResults/ControlBar"]
|
|
offset_right = 1023.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="TabBar" type="HSplitContainer" parent="layout/RSplit/CResults"]
|
|
offset_top = 4.0
|
|
offset_right = 1023.0
|
|
offset_bottom = 564.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="RunResults" parent="layout/RSplit/CResults/TabBar" instance=ExtResource("5")]
|
|
offset_right = 505.0
|
|
offset_bottom = 560.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="OutputText" parent="layout/RSplit/CResults/TabBar" instance=ExtResource("6")]
|
|
offset_left = 517.0
|
|
offset_right = 1023.0
|
|
offset_bottom = 560.0
|
|
|
|
[node name="BottomPanelShortcuts" parent="." instance=ExtResource("2")]
|
|
visible = false
|
|
|
|
[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/OutputBtn" to="." method="_on_OutputBtn_pressed"]
|
|
[connection signal="pressed" from="layout/ControlBar/Settings" to="." method="_on_Settings_pressed"]
|
|
[connection signal="pressed" from="layout/ControlBar/Shortcuts" to="." method="_on_Shortcuts_pressed"]
|
|
[connection signal="draw" from="layout/RSplit/CResults/ControlBar/Light3D" to="." method="_on_Light_draw"]
|
|
[connection signal="visibility_changed" from="BottomPanelShortcuts" to="." method="_on_bottom_panel_shortcuts_visibility_changed"]
|