2023-01-14 10:33:56 +01:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://ddxdytdsad3lj"]
|
2023-01-07 20:26:17 +01:00
|
|
|
|
2023-01-14 10:33:56 +01:00
|
|
|
[ext_resource type="PackedScene" path="res://addons/gut/gui/ShortcutButton.tscn" id="1"]
|
|
|
|
[ext_resource type="Script" path="res://addons/gut/gui/BottomPanelShortcuts.gd" id="2"]
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="BottomPanelShortcuts" type="Window"]
|
|
|
|
exclusive = true
|
2023-01-14 10:33:56 +01:00
|
|
|
script = ExtResource("2")
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="Layout" type="VBoxContainer" parent="."]
|
2023-01-14 10:33:56 +01:00
|
|
|
anchors_preset = 15
|
2023-01-07 20:26:17 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
offset_left = 5.0
|
|
|
|
offset_right = -5.0
|
|
|
|
offset_bottom = 2.0
|
|
|
|
|
|
|
|
[node name="TopPad" type="CenterContainer" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(0, 5)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="Label2" type="Label" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(0, 20)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
text = "Always Active"
|
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="Layout/Label2"]
|
|
|
|
show_behind_parent = true
|
2023-01-14 10:33:56 +01:00
|
|
|
layout_mode = 0
|
2023-01-07 20:26:17 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2023-01-14 10:33:56 +01:00
|
|
|
color = Color(0, 0, 0, 0.196078)
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="CPanelButton" type="HBoxContainer" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Layout/CPanelButton"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(50, 0)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_vertical = 7
|
|
|
|
text = "Show/Hide GUT Panel"
|
2023-01-14 10:33:56 +01:00
|
|
|
|
|
|
|
[node name="ShortcutButton" parent="Layout/CPanelButton" instance=ExtResource("1")]
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="GutPanelPad" type="CenterContainer" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(0, 5)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(0, 20)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
text = "Only Active When GUT Panel Shown"
|
|
|
|
|
|
|
|
[node name="ColorRect2" type="ColorRect" parent="Layout/Label"]
|
|
|
|
show_behind_parent = true
|
2023-01-14 10:33:56 +01:00
|
|
|
layout_mode = 0
|
2023-01-07 20:26:17 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2023-01-14 10:33:56 +01:00
|
|
|
color = Color(0, 0, 0, 0.196078)
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="TopPad2" type="CenterContainer" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(0, 5)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="CRunAll" type="HBoxContainer" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Layout/CRunAll"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(50, 0)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_vertical = 7
|
|
|
|
text = "Run All"
|
2023-01-14 10:33:56 +01:00
|
|
|
|
|
|
|
[node name="ShortcutButton" parent="Layout/CRunAll" instance=ExtResource("1")]
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="CRunCurrentScript" type="HBoxContainer" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Layout/CRunCurrentScript"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(50, 0)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_vertical = 7
|
|
|
|
text = "Run Current Script"
|
2023-01-14 10:33:56 +01:00
|
|
|
|
|
|
|
[node name="ShortcutButton" parent="Layout/CRunCurrentScript" instance=ExtResource("1")]
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="CRunCurrentInner" type="HBoxContainer" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Layout/CRunCurrentInner"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(50, 0)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_vertical = 7
|
|
|
|
text = "Run Current Inner Class"
|
2023-01-14 10:33:56 +01:00
|
|
|
|
|
|
|
[node name="ShortcutButton" parent="Layout/CRunCurrentInner" instance=ExtResource("1")]
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="CRunCurrentTest" type="HBoxContainer" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Layout/CRunCurrentTest"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(50, 0)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_vertical = 7
|
|
|
|
text = "Run Current Test"
|
2023-01-14 10:33:56 +01:00
|
|
|
|
|
|
|
[node name="ShortcutButton" parent="Layout/CRunCurrentTest" instance=ExtResource("1")]
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="CenterContainer2" type="CenterContainer" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(0, 5)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="ShiftDisclaimer" type="Label" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
text = "\"Shift\" cannot be the only modifier for a shortcut."
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="Layout/HBoxContainer"]
|
2023-01-14 10:33:56 +01:00
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="Hide" type="Button" parent="Layout/HBoxContainer"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(60, 30)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
text = "Close"
|
|
|
|
|
|
|
|
[node name="BottomPad" type="CenterContainer" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(0, 10)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[connection signal="pressed" from="Layout/HBoxContainer/Hide" to="." method="_on_Hide_pressed"]
|