2023-01-14 10:33:56 +01:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://7i6if6n25stm"]
|
2023-01-07 20:26:17 +01:00
|
|
|
|
2023-01-14 10:33:56 +01:00
|
|
|
[ext_resource type="Script" path="res://addons/gut/gui/ShortcutButton.gd" id="1"]
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="ShortcutButton" type="Control"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(125, 25)
|
|
|
|
layout_mode = 3
|
2023-01-07 20:26:17 +01:00
|
|
|
anchor_right = 0.123
|
|
|
|
anchor_bottom = 0.04
|
|
|
|
offset_right = 33.048
|
|
|
|
offset_bottom = 1.0
|
2023-01-14 10:33:56 +01:00
|
|
|
script = ExtResource("1")
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="Layout" type="HBoxContainer" parent="."]
|
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
|
|
|
|
|
|
|
|
[node name="lblShortcut" type="Label" parent="Layout"]
|
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 = 7
|
|
|
|
text = "<None>"
|
|
|
|
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(10, 0)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
|
|
|
|
[node name="SetButton" type="Button" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(60, 0)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
text = "Set"
|
|
|
|
|
|
|
|
[node name="SaveButton" type="Button" parent="Layout"]
|
|
|
|
visible = false
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(60, 0)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
text = "Save"
|
|
|
|
|
|
|
|
[node name="CancelButton" type="Button" parent="Layout"]
|
|
|
|
visible = false
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(60, 0)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
text = "Cancel"
|
|
|
|
|
|
|
|
[node name="ClearButton" type="Button" parent="Layout"]
|
2023-01-14 10:33:56 +01:00
|
|
|
custom_minimum_size = Vector2(60, 0)
|
|
|
|
layout_mode = 2
|
2023-01-07 20:26:17 +01:00
|
|
|
text = "Clear"
|
|
|
|
|
|
|
|
[connection signal="pressed" from="Layout/SetButton" to="." method="_on_SetButton_pressed"]
|
|
|
|
[connection signal="pressed" from="Layout/SaveButton" to="." method="_on_SaveButton_pressed"]
|
|
|
|
[connection signal="pressed" from="Layout/CancelButton" to="." method="_on_CancelButton_pressed"]
|
|
|
|
[connection signal="pressed" from="Layout/ClearButton" to="." method="_on_ClearButton_pressed"]
|