mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-08 11:29:47 +00:00
66 lines
2.5 KiB
Plaintext
66 lines
2.5 KiB
Plaintext
|
[gd_scene load_steps=2 format=2]
|
||
|
|
||
|
[ext_resource path="res://src/UI/Dialogs/ImageEffects/FlipImageDialog.gd" type="Script" id=1]
|
||
|
|
||
|
[node name="FlipImageDialog" type="ConfirmationDialog"]
|
||
|
margin_right = 200.0
|
||
|
margin_bottom = 70.0
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||
|
margin_left = 8.0
|
||
|
margin_top = 8.0
|
||
|
margin_right = 275.0
|
||
|
margin_bottom = 264.0
|
||
|
|
||
|
[node name="Preview" type="TextureRect" parent="VBoxContainer"]
|
||
|
margin_right = 267.0
|
||
|
margin_bottom = 200.0
|
||
|
rect_min_size = Vector2( 200, 200 )
|
||
|
expand = true
|
||
|
stretch_mode = 6
|
||
|
|
||
|
[node name="OptionsContainer" type="GridContainer" parent="VBoxContainer"]
|
||
|
margin_top = 204.0
|
||
|
margin_right = 267.0
|
||
|
margin_bottom = 256.0
|
||
|
columns = 2
|
||
|
|
||
|
[node name="FlipHorizontal" type="CheckBox" parent="VBoxContainer/OptionsContainer"]
|
||
|
margin_right = 160.0
|
||
|
margin_bottom = 24.0
|
||
|
mouse_default_cursor_shape = 2
|
||
|
text = "Flip Horizontal"
|
||
|
|
||
|
[node name="FlipVertical" type="CheckBox" parent="VBoxContainer/OptionsContainer"]
|
||
|
margin_left = 164.0
|
||
|
margin_right = 267.0
|
||
|
margin_bottom = 24.0
|
||
|
mouse_default_cursor_shape = 2
|
||
|
text = "Flip Vertical"
|
||
|
|
||
|
[node name="SelectionCheckBox" type="CheckBox" parent="VBoxContainer/OptionsContainer"]
|
||
|
margin_top = 28.0
|
||
|
margin_right = 160.0
|
||
|
margin_bottom = 52.0
|
||
|
mouse_default_cursor_shape = 2
|
||
|
pressed = true
|
||
|
text = "Only affect selection"
|
||
|
|
||
|
[node name="AffectOptionButton" type="OptionButton" parent="VBoxContainer/OptionsContainer"]
|
||
|
margin_left = 164.0
|
||
|
margin_top = 28.0
|
||
|
margin_right = 267.0
|
||
|
margin_bottom = 52.0
|
||
|
mouse_default_cursor_shape = 2
|
||
|
text = "Current cel"
|
||
|
items = [ "Current cel", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ]
|
||
|
selected = 0
|
||
|
[connection signal="about_to_show" from="." to="." method="_on_FlipImageDialog_about_to_show"]
|
||
|
[connection signal="confirmed" from="." to="." method="_on_FlipImageDialog_confirmed"]
|
||
|
[connection signal="popup_hide" from="." to="." method="_on_FlipImageDialog_popup_hide"]
|
||
|
[connection signal="toggled" from="VBoxContainer/OptionsContainer/FlipHorizontal" to="." method="_on_FlipHorizontal_toggled"]
|
||
|
[connection signal="toggled" from="VBoxContainer/OptionsContainer/FlipVertical" to="." method="_on_FlipVertical_toggled"]
|
||
|
[connection signal="toggled" from="VBoxContainer/OptionsContainer/SelectionCheckBox" to="." method="_on_SelectionCheckBox_toggled"]
|
||
|
[connection signal="item_selected" from="VBoxContainer/OptionsContainer/AffectOptionButton" to="." method="_on_AffectOptionButton_item_selected"]
|