2020-08-26 14:49:46 +00:00
|
|
|
[gd_scene load_steps=3 format=2]
|
2020-01-27 15:23:52 +00:00
|
|
|
|
2020-07-29 17:34:27 +00:00
|
|
|
[ext_resource path="res://src/UI/Dialogs/ImageEffects/RotateImage.gd" type="Script" id=1]
|
2020-08-26 14:49:46 +00:00
|
|
|
[ext_resource path="res://src/UI/TransparentChecker.tscn" type="PackedScene" id=2]
|
2020-05-01 22:19:01 +00:00
|
|
|
|
2020-01-27 15:23:52 +00:00
|
|
|
[node name="RotateImage" type="ConfirmationDialog"]
|
|
|
|
margin_right = 245.0
|
|
|
|
margin_bottom = 241.0
|
2020-08-04 16:10:50 +00:00
|
|
|
window_title = "Rotate Image"
|
2020-02-04 16:29:34 +00:00
|
|
|
resizable = true
|
2020-01-27 15:23:52 +00:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = 8.0
|
|
|
|
margin_top = 8.0
|
|
|
|
margin_right = -8.0
|
|
|
|
margin_bottom = -36.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-08-26 14:49:46 +00:00
|
|
|
[node name="Preview" type="TextureRect" parent="VBoxContainer"]
|
2020-10-23 14:50:52 +00:00
|
|
|
margin_left = 31.0
|
|
|
|
margin_right = 231.0
|
2020-08-26 15:33:15 +00:00
|
|
|
margin_bottom = 200.0
|
2020-08-26 14:49:46 +00:00
|
|
|
rect_min_size = Vector2( 200, 200 )
|
2020-08-26 15:33:15 +00:00
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 3
|
2020-01-27 15:23:52 +00:00
|
|
|
expand = true
|
2020-08-26 14:49:46 +00:00
|
|
|
stretch_mode = 5
|
|
|
|
|
|
|
|
[node name="TransparentChecker" parent="VBoxContainer/Preview" instance=ExtResource( 2 )]
|
|
|
|
show_behind_parent = true
|
2020-01-27 15:23:52 +00:00
|
|
|
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
|
2020-08-26 15:33:15 +00:00
|
|
|
margin_top = 204.0
|
2020-10-23 14:50:52 +00:00
|
|
|
margin_right = 263.0
|
2020-08-26 15:33:15 +00:00
|
|
|
margin_bottom = 224.0
|
2020-01-27 15:23:52 +00:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2"]
|
|
|
|
margin_top = 3.0
|
|
|
|
margin_right = 34.0
|
|
|
|
margin_bottom = 17.0
|
|
|
|
text = "Type:"
|
|
|
|
|
2020-08-27 22:20:07 +00:00
|
|
|
[node name="TypeOptionButton" type="OptionButton" parent="VBoxContainer/HBoxContainer2"]
|
2020-01-27 15:23:52 +00:00
|
|
|
margin_left = 38.0
|
2020-10-23 14:50:52 +00:00
|
|
|
margin_right = 263.0
|
2020-01-27 15:23:52 +00:00
|
|
|
margin_bottom = 20.0
|
2020-02-04 16:29:34 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
2020-01-27 15:23:52 +00:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2020-08-27 22:20:07 +00:00
|
|
|
[node name="AngleOptions" type="HBoxContainer" parent="VBoxContainer"]
|
2020-08-26 15:33:15 +00:00
|
|
|
margin_top = 228.0
|
2020-10-23 14:50:52 +00:00
|
|
|
margin_right = 263.0
|
2020-08-26 15:33:15 +00:00
|
|
|
margin_bottom = 252.0
|
2020-01-27 15:23:52 +00:00
|
|
|
|
2020-08-27 22:20:07 +00:00
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/AngleOptions"]
|
2020-01-27 15:23:52 +00:00
|
|
|
margin_top = 5.0
|
2020-08-26 14:49:46 +00:00
|
|
|
margin_right = 40.0
|
2020-01-27 15:23:52 +00:00
|
|
|
margin_bottom = 19.0
|
2020-05-16 11:48:13 +00:00
|
|
|
text = "Angle:"
|
2020-01-27 15:23:52 +00:00
|
|
|
|
2020-08-27 22:20:07 +00:00
|
|
|
[node name="AngleHSlider" type="HSlider" parent="VBoxContainer/AngleOptions"]
|
2020-08-26 14:49:46 +00:00
|
|
|
margin_left = 44.0
|
2020-10-23 14:50:52 +00:00
|
|
|
margin_right = 185.0
|
2020-01-27 15:23:52 +00:00
|
|
|
margin_bottom = 24.0
|
2020-02-04 16:29:34 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
2020-01-27 15:23:52 +00:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
max_value = 359.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-08-27 22:20:07 +00:00
|
|
|
[node name="AngleSpinBox" type="SpinBox" parent="VBoxContainer/AngleOptions"]
|
2020-10-23 14:50:52 +00:00
|
|
|
margin_left = 189.0
|
|
|
|
margin_right = 263.0
|
2020-01-27 15:23:52 +00:00
|
|
|
margin_bottom = 24.0
|
2020-02-04 16:29:34 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
2020-01-27 15:23:52 +00:00
|
|
|
max_value = 359.0
|
2020-05-11 17:07:16 +00:00
|
|
|
suffix = "°"
|
2020-10-23 14:50:52 +00:00
|
|
|
|
|
|
|
[node name="OptionsContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
margin_top = 256.0
|
|
|
|
margin_right = 263.0
|
|
|
|
margin_bottom = 280.0
|
|
|
|
|
|
|
|
[node name="SelectionCheckBox" type="CheckBox" parent="VBoxContainer/OptionsContainer"]
|
|
|
|
margin_right = 160.0
|
|
|
|
margin_bottom = 24.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_right = 263.0
|
|
|
|
margin_bottom = 24.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
|
2020-08-27 22:20:07 +00:00
|
|
|
[connection signal="item_selected" from="VBoxContainer/HBoxContainer2/TypeOptionButton" to="." method="_on_TypeOptionButton_item_selected"]
|
|
|
|
[connection signal="value_changed" from="VBoxContainer/AngleOptions/AngleHSlider" to="." method="_on_HSlider_value_changed"]
|
|
|
|
[connection signal="value_changed" from="VBoxContainer/AngleOptions/AngleSpinBox" to="." method="_on_SpinBox_value_changed"]
|