2019-12-29 22:24:37 +00:00
|
|
|
[gd_scene load_steps=2 format=2]
|
|
|
|
|
2020-07-29 17:34:27 +00:00
|
|
|
[ext_resource path="res://src/UI/Dialogs/ImageEffects/OutlineDialog.gd" type="Script" id=1]
|
2020-05-01 22:19:01 +00:00
|
|
|
|
2019-12-29 22:24:37 +00:00
|
|
|
[node name="OutlineDialog" type="ConfirmationDialog"]
|
|
|
|
margin_right = 200.0
|
|
|
|
margin_bottom = 70.0
|
2020-08-04 16:10:50 +00:00
|
|
|
window_title = "Outline"
|
|
|
|
resizable = true
|
2019-12-29 22:24:37 +00:00
|
|
|
script = ExtResource( 1 )
|
2020-07-27 01:36:00 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2019-12-29 22:24:37 +00:00
|
|
|
|
2020-07-27 01:36:00 +00:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
margin_left = 8.0
|
|
|
|
margin_top = 8.0
|
|
|
|
margin_right = 320.0
|
|
|
|
margin_bottom = 316.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Preview" type="TextureRect" parent="VBoxContainer"]
|
|
|
|
margin_right = 312.0
|
2020-07-29 15:25:19 +00:00
|
|
|
margin_bottom = 200.0
|
2020-07-27 01:36:00 +00:00
|
|
|
rect_min_size = Vector2( 200, 200 )
|
|
|
|
expand = true
|
|
|
|
stretch_mode = 6
|
|
|
|
|
|
|
|
[node name="OptionsContainer" type="GridContainer" parent="VBoxContainer"]
|
2020-07-29 15:25:19 +00:00
|
|
|
margin_top = 204.0
|
2020-07-27 01:36:00 +00:00
|
|
|
margin_right = 312.0
|
2020-07-29 15:25:19 +00:00
|
|
|
margin_bottom = 308.0
|
2019-12-29 22:24:37 +00:00
|
|
|
custom_constants/vseparation = 4
|
|
|
|
custom_constants/hseparation = 4
|
|
|
|
columns = 2
|
2020-07-27 01:36:00 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2019-12-29 22:24:37 +00:00
|
|
|
|
2020-07-27 01:36:00 +00:00
|
|
|
[node name="ThickLabel" type="Label" parent="VBoxContainer/OptionsContainer"]
|
2019-12-29 22:24:37 +00:00
|
|
|
margin_top = 5.0
|
2020-07-27 01:36:00 +00:00
|
|
|
margin_right = 160.0
|
2019-12-29 22:24:37 +00:00
|
|
|
margin_bottom = 19.0
|
|
|
|
text = "Thickness:"
|
|
|
|
|
2020-07-27 01:36:00 +00:00
|
|
|
[node name="ThickValue" type="SpinBox" parent="VBoxContainer/OptionsContainer"]
|
|
|
|
margin_left = 164.0
|
|
|
|
margin_right = 312.0
|
2019-12-29 22:24:37 +00:00
|
|
|
margin_bottom = 24.0
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
min_value = 1.0
|
|
|
|
max_value = 16384.0
|
|
|
|
value = 1.0
|
|
|
|
suffix = "px"
|
|
|
|
|
2020-07-27 01:36:00 +00:00
|
|
|
[node name="OutlineColorLabel" type="Label" parent="VBoxContainer/OptionsContainer"]
|
2019-12-29 22:24:37 +00:00
|
|
|
margin_top = 31.0
|
2020-07-27 01:36:00 +00:00
|
|
|
margin_right = 160.0
|
2019-12-29 22:24:37 +00:00
|
|
|
margin_bottom = 45.0
|
|
|
|
text = "Fill with color:"
|
|
|
|
|
2020-07-27 01:36:00 +00:00
|
|
|
[node name="OutlineColor" type="ColorPickerButton" parent="VBoxContainer/OptionsContainer"]
|
|
|
|
margin_left = 164.0
|
2019-12-29 22:24:37 +00:00
|
|
|
margin_top = 28.0
|
2020-07-27 01:36:00 +00:00
|
|
|
margin_right = 312.0
|
2019-12-29 22:24:37 +00:00
|
|
|
margin_bottom = 48.0
|
|
|
|
rect_min_size = Vector2( 64, 20 )
|
|
|
|
color = Color( 1, 0, 0, 1 )
|
|
|
|
|
2020-07-27 01:36:00 +00:00
|
|
|
[node name="DiagonalCheckBox" type="CheckBox" parent="VBoxContainer/OptionsContainer"]
|
2019-12-29 22:24:37 +00:00
|
|
|
margin_top = 52.0
|
2020-07-27 01:36:00 +00:00
|
|
|
margin_right = 160.0
|
2019-12-29 22:24:37 +00:00
|
|
|
margin_bottom = 76.0
|
|
|
|
mouse_default_cursor_shape = 2
|
2019-12-31 18:10:10 +00:00
|
|
|
text = "Diagonal"
|
2020-01-03 23:22:23 +00:00
|
|
|
|
2020-07-27 01:36:00 +00:00
|
|
|
[node name="InsideImageCheckBox" type="CheckBox" parent="VBoxContainer/OptionsContainer"]
|
|
|
|
margin_left = 164.0
|
2020-01-03 23:22:23 +00:00
|
|
|
margin_top = 52.0
|
2020-07-27 01:36:00 +00:00
|
|
|
margin_right = 312.0
|
2020-01-03 23:22:23 +00:00
|
|
|
margin_bottom = 76.0
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
text = "Place inside image"
|
2020-07-27 01:11:46 +00:00
|
|
|
|
2020-07-27 01:36:00 +00:00
|
|
|
[node name="SelectionCheckBox" type="CheckBox" parent="VBoxContainer/OptionsContainer"]
|
2020-07-27 01:11:46 +00:00
|
|
|
margin_top = 80.0
|
2020-07-27 01:36:00 +00:00
|
|
|
margin_right = 160.0
|
2020-07-27 01:11:46 +00:00
|
|
|
margin_bottom = 104.0
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
pressed = true
|
|
|
|
text = "Only affect selection"
|
2020-07-29 15:25:19 +00:00
|
|
|
|
|
|
|
[node name="AffectOptionButton" type="OptionButton" parent="VBoxContainer/OptionsContainer"]
|
|
|
|
margin_right = 29.0
|
|
|
|
margin_bottom = 20.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-07-27 01:11:46 +00:00
|
|
|
[connection signal="about_to_show" from="." to="." method="_on_OutlineDialog_about_to_show"]
|
2019-12-29 22:24:37 +00:00
|
|
|
[connection signal="confirmed" from="." to="." method="_on_OutlineDialog_confirmed"]
|
2020-07-29 17:06:20 +00:00
|
|
|
[connection signal="popup_hide" from="." to="." method="_on_OutlineDialog_popup_hide"]
|
2020-07-27 01:36:00 +00:00
|
|
|
[connection signal="value_changed" from="VBoxContainer/OptionsContainer/ThickValue" to="." method="_on_ThickValue_value_changed"]
|
|
|
|
[connection signal="color_changed" from="VBoxContainer/OptionsContainer/OutlineColor" to="." method="_on_OutlineColor_color_changed"]
|
|
|
|
[connection signal="toggled" from="VBoxContainer/OptionsContainer/DiagonalCheckBox" to="." method="_on_DiagonalCheckBox_toggled"]
|
|
|
|
[connection signal="toggled" from="VBoxContainer/OptionsContainer/InsideImageCheckBox" to="." method="_on_InsideImageCheckBox_toggled"]
|
|
|
|
[connection signal="toggled" from="VBoxContainer/OptionsContainer/SelectionCheckBox" to="." method="_on_SelectionCheckBox_toggled"]
|
2020-07-29 15:25:19 +00:00
|
|
|
[connection signal="item_selected" from="VBoxContainer/OptionsContainer/AffectOptionButton" to="." method="_on_AffectOptionButton_item_selected"]
|