2020-08-25 16:49:18 +00:00
|
|
|
[gd_scene load_steps=3 format=2]
|
2020-04-13 14:10:17 +00:00
|
|
|
|
2020-07-29 17:34:27 +00:00
|
|
|
[ext_resource path="res://src/UI/Dialogs/ImageEffects/HSVDialog.gd" type="Script" id=1]
|
2020-08-25 16:49:18 +00:00
|
|
|
[ext_resource path="res://src/UI/TransparentChecker.tscn" type="PackedScene" id=2]
|
2020-05-01 22:19:01 +00:00
|
|
|
|
2020-08-25 15:49:12 +00:00
|
|
|
[node name="HSVDialog" type="ConfirmationDialog"]
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_left = 1.0
|
|
|
|
margin_top = -1.0
|
|
|
|
margin_right = 464.0
|
2020-04-14 10:51:35 +00:00
|
|
|
margin_bottom = 318.0
|
2020-04-13 14:10:17 +00:00
|
|
|
window_title = "Adjust HSV"
|
2020-04-30 21:02:52 +00:00
|
|
|
resizable = true
|
2020-04-13 14:10:17 +00:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
2020-08-25 15:49:12 +00:00
|
|
|
margin_left = 8.0
|
|
|
|
margin_top = 8.0
|
2020-08-26 13:12:35 +00:00
|
|
|
margin_right = 455.0
|
|
|
|
margin_bottom = 324.0
|
2020-04-14 10:51:35 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="Preview" type="TextureRect" parent="VBoxContainer"]
|
|
|
|
margin_right = 447.0
|
|
|
|
margin_bottom = 200.0
|
|
|
|
rect_min_size = Vector2( 200, 200 )
|
2020-04-14 10:51:35 +00:00
|
|
|
expand = true
|
2020-08-25 16:49:18 +00:00
|
|
|
stretch_mode = 5
|
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="TransparentChecker" parent="VBoxContainer/Preview" instance=ExtResource( 2 )]
|
2020-08-25 16:49:18 +00:00
|
|
|
show_behind_parent = true
|
2020-04-14 10:51:35 +00:00
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
margin_top = 204.0
|
|
|
|
margin_right = 447.0
|
|
|
|
margin_bottom = 288.0
|
2020-04-13 14:10:17 +00:00
|
|
|
custom_constants/separation = 10
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="Names" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_right = 81.0
|
2020-04-14 10:51:35 +00:00
|
|
|
margin_bottom = 84.0
|
2020-04-13 14:10:17 +00:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_stretch_ratio = 0.9
|
|
|
|
custom_constants/separation = 8
|
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="Hue" type="Label" parent="VBoxContainer/HBoxContainer/Names"]
|
|
|
|
margin_right = 81.0
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_bottom = 14.0
|
|
|
|
text = "Hue"
|
|
|
|
align = 2
|
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="Saturation" type="Label" parent="VBoxContainer/HBoxContainer/Names"]
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_top = 22.0
|
2020-08-26 13:12:35 +00:00
|
|
|
margin_right = 81.0
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_bottom = 36.0
|
|
|
|
text = "Saturation"
|
|
|
|
align = 2
|
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="Value" type="Label" parent="VBoxContainer/HBoxContainer/Names"]
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_top = 44.0
|
2020-08-26 13:12:35 +00:00
|
|
|
margin_right = 81.0
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_bottom = 58.0
|
|
|
|
text = "Value"
|
|
|
|
align = 2
|
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="Sliders" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_left = 91.0
|
|
|
|
margin_right = 362.0
|
2020-04-14 10:51:35 +00:00
|
|
|
margin_bottom = 84.0
|
2020-04-13 14:10:17 +00:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_stretch_ratio = 3.0
|
|
|
|
custom_constants/separation = 7
|
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="Hue" type="HSlider" parent="VBoxContainer/HBoxContainer/Sliders"]
|
|
|
|
margin_right = 271.0
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_bottom = 16.0
|
2020-04-15 09:49:29 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
2020-04-14 10:51:35 +00:00
|
|
|
min_value = -180.0
|
|
|
|
max_value = 180.0
|
2020-04-13 14:10:17 +00:00
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="Saturation" type="HSlider" parent="VBoxContainer/HBoxContainer/Sliders"]
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_top = 23.0
|
2020-08-26 13:12:35 +00:00
|
|
|
margin_right = 271.0
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_bottom = 39.0
|
2020-04-15 09:49:29 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
2020-04-14 10:51:35 +00:00
|
|
|
min_value = -100.0
|
2020-04-13 14:10:17 +00:00
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="Value" type="HSlider" parent="VBoxContainer/HBoxContainer/Sliders"]
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_top = 46.0
|
2020-08-26 13:12:35 +00:00
|
|
|
margin_right = 271.0
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_bottom = 62.0
|
2020-04-15 09:49:29 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
2020-04-14 10:51:35 +00:00
|
|
|
min_value = -100.0
|
2020-04-13 14:10:17 +00:00
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="TextBoxes" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_left = 372.0
|
|
|
|
margin_right = 446.0
|
2020-04-14 10:51:35 +00:00
|
|
|
margin_bottom = 84.0
|
2020-04-13 14:10:17 +00:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_stretch_ratio = 0.0
|
|
|
|
custom_constants/separation = 6
|
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="Hue" type="SpinBox" parent="VBoxContainer/HBoxContainer/TextBoxes"]
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_right = 74.0
|
|
|
|
margin_bottom = 24.0
|
2020-04-15 09:49:29 +00:00
|
|
|
mouse_default_cursor_shape = 1
|
2020-04-14 10:51:35 +00:00
|
|
|
min_value = -180.0
|
|
|
|
max_value = 180.0
|
2020-04-13 14:10:17 +00:00
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="Saturation" type="SpinBox" parent="VBoxContainer/HBoxContainer/TextBoxes"]
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_top = 30.0
|
|
|
|
margin_right = 74.0
|
|
|
|
margin_bottom = 54.0
|
2020-04-15 09:49:29 +00:00
|
|
|
mouse_default_cursor_shape = 1
|
2020-04-14 10:51:35 +00:00
|
|
|
min_value = -100.0
|
2020-04-13 14:10:17 +00:00
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="Value" type="SpinBox" parent="VBoxContainer/HBoxContainer/TextBoxes"]
|
2020-04-13 14:10:17 +00:00
|
|
|
margin_top = 60.0
|
|
|
|
margin_right = 74.0
|
|
|
|
margin_bottom = 84.0
|
2020-04-15 09:49:29 +00:00
|
|
|
mouse_default_cursor_shape = 1
|
2020-04-14 10:51:35 +00:00
|
|
|
min_value = -100.0
|
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="AffectHBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
margin_top = 292.0
|
|
|
|
margin_right = 447.0
|
|
|
|
margin_bottom = 316.0
|
2020-07-24 00:22:12 +00:00
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="SelectionCheckBox" type="CheckBox" parent="VBoxContainer/AffectHBoxContainer"]
|
2020-07-24 00:22:12 +00:00
|
|
|
margin_right = 160.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
pressed = true
|
|
|
|
text = "Only affect selection"
|
|
|
|
|
2020-08-26 13:12:35 +00:00
|
|
|
[node name="AffectOptionButton" type="OptionButton" parent="VBoxContainer/AffectHBoxContainer"]
|
2020-07-24 00:22:12 +00:00
|
|
|
margin_left = 164.0
|
|
|
|
margin_right = 263.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
text = "Current cel"
|
2020-07-24 00:41:10 +00:00
|
|
|
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 ]
|
2020-07-24 00:22:12 +00:00
|
|
|
selected = 0
|
2020-08-26 13:12:35 +00:00
|
|
|
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/Sliders/Hue" to="." method="_on_Hue_value_changed"]
|
|
|
|
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/Sliders/Saturation" to="." method="_on_Saturation_value_changed"]
|
|
|
|
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/Sliders/Value" to="." method="_on_Value_value_changed"]
|
|
|
|
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/TextBoxes/Hue" to="." method="_on_Hue_value_changed"]
|
|
|
|
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/TextBoxes/Saturation" to="." method="_on_Saturation_value_changed"]
|
|
|
|
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/TextBoxes/Value" to="." method="_on_Value_value_changed"]
|