2021-11-22 02:47:41 +00:00
|
|
|
[gd_scene load_steps=2 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://src/UI/Dialogs/WindowOpacityDialog.gd" type="Script" id=1]
|
|
|
|
|
|
|
|
[node name="WindowOpacityDialog" type="AcceptDialog"]
|
|
|
|
margin_right = 204.0
|
|
|
|
margin_bottom = 68.0
|
|
|
|
rect_min_size = Vector2( 240, 0 )
|
|
|
|
window_title = "Window Opacity"
|
|
|
|
resizable = true
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2022-05-28 15:23:52 +00:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2021-11-22 02:47:41 +00:00
|
|
|
margin_left = 8.0
|
|
|
|
margin_top = 8.0
|
2022-05-28 15:23:52 +00:00
|
|
|
margin_right = -8.0
|
|
|
|
margin_bottom = -36.0
|
2021-11-22 02:47:41 +00:00
|
|
|
|
2022-05-28 15:23:52 +00:00
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
margin_right = 327.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
|
|
|
|
[node name="HSlider" type="HSlider" parent="VBoxContainer/HBoxContainer"]
|
2021-12-01 00:28:12 +00:00
|
|
|
margin_top = 4.0
|
2022-05-28 15:23:52 +00:00
|
|
|
margin_right = 249.0
|
2021-12-01 00:28:12 +00:00
|
|
|
margin_bottom = 20.0
|
2021-11-22 02:47:41 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
size_flags_horizontal = 3
|
2021-12-01 00:28:12 +00:00
|
|
|
size_flags_vertical = 4
|
2021-11-22 02:47:41 +00:00
|
|
|
value = 100.0
|
|
|
|
|
2022-05-28 15:23:52 +00:00
|
|
|
[node name="SpinBox" type="SpinBox" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_left = 253.0
|
|
|
|
margin_right = 327.0
|
2021-11-22 02:47:41 +00:00
|
|
|
margin_bottom = 24.0
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
value = 100.0
|
|
|
|
|
2022-05-28 15:23:52 +00:00
|
|
|
[node name="FullscreenWarning" type="Label" parent="VBoxContainer"]
|
|
|
|
margin_top = 28.0
|
|
|
|
margin_right = 327.0
|
|
|
|
margin_bottom = 42.0
|
|
|
|
custom_colors/font_color = Color( 1, 0.364706, 0.364706, 1 )
|
|
|
|
text = "Window opacity does not work on fullscreen mode."
|
|
|
|
|
2021-11-22 02:47:41 +00:00
|
|
|
[connection signal="about_to_show" from="." to="." method="_on_WindowOpacityDialog_about_to_show"]
|
|
|
|
[connection signal="popup_hide" from="." to="." method="_on_WindowOpacityDialog_popup_hide"]
|
2022-05-28 15:23:52 +00:00
|
|
|
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/HSlider" to="." method="_on_value_changed"]
|
|
|
|
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/SpinBox" to="." method="_on_value_changed"]
|