1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 09:39:48 +00:00
Pixelorama/Prefabs/Dialogs/HSVDialog.tscn

166 lines
5.4 KiB
Plaintext
Raw Normal View History

2020-04-13 14:10:17 +00:00
[gd_scene load_steps=2 format=2]
[ext_resource path="res://Scripts/Dialogs/HSVDialog.gd" type="Script" id=1]
[node name="HSVDialog" type="WindowDialog"]
margin_left = 1.0
margin_top = -1.0
margin_right = 464.0
margin_bottom = 318.0
2020-04-13 14:10:17 +00:00
window_title = "Adjust HSV"
script = ExtResource( 1 )
[node name="MarginContainer" type="MarginContainer" parent="."]
2020-04-13 14:10:17 +00:00
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/margin_right = 5
custom_constants/margin_top = 5
custom_constants/margin_left = 5
custom_constants/margin_bottom = 5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
margin_left = 5.0
margin_top = 5.0
margin_right = 458.0
margin_bottom = 314.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer"]
margin_right = 453.0
margin_bottom = 197.0
size_flags_vertical = 3
expand = true
stretch_mode = 6
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
margin_top = 201.0
margin_right = 453.0
margin_bottom = 285.0
2020-04-13 14:10:17 +00:00
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Names" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_right = 82.0
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
[node name="Hue" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/Names"]
margin_right = 82.0
2020-04-13 14:10:17 +00:00
margin_bottom = 14.0
text = "Hue"
align = 2
[node name="Saturation" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/Names"]
2020-04-13 14:10:17 +00:00
margin_top = 22.0
margin_right = 82.0
2020-04-13 14:10:17 +00:00
margin_bottom = 36.0
text = "Saturation"
align = 2
[node name="Value" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/Names"]
2020-04-13 14:10:17 +00:00
margin_top = 44.0
margin_right = 82.0
2020-04-13 14:10:17 +00:00
margin_bottom = 58.0
text = "Value"
align = 2
[node name="Sliders" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 92.0
margin_right = 368.0
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
[node name="Hue" type="HSlider" parent="MarginContainer/VBoxContainer/HBoxContainer/Sliders"]
margin_right = 276.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
min_value = -180.0
max_value = 180.0
2020-04-13 14:10:17 +00:00
[node name="Saturation" type="HSlider" parent="MarginContainer/VBoxContainer/HBoxContainer/Sliders"]
2020-04-13 14:10:17 +00:00
margin_top = 23.0
margin_right = 276.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
min_value = -100.0
2020-04-13 14:10:17 +00:00
[node name="Value" type="HSlider" parent="MarginContainer/VBoxContainer/HBoxContainer/Sliders"]
2020-04-13 14:10:17 +00:00
margin_top = 46.0
margin_right = 276.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
min_value = -100.0
2020-04-13 14:10:17 +00:00
[node name="TextBoxes" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 378.0
margin_right = 452.0
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
[node name="Hue" type="SpinBox" parent="MarginContainer/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
min_value = -180.0
max_value = 180.0
2020-04-13 14:10:17 +00:00
[node name="Saturation" type="SpinBox" parent="MarginContainer/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
min_value = -100.0
2020-04-13 14:10:17 +00:00
[node name="Value" type="SpinBox" parent="MarginContainer/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
min_value = -100.0
[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
margin_top = 289.0
margin_right = 453.0
margin_bottom = 309.0
2020-04-13 14:10:17 +00:00
custom_constants/separation = 16
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Apply" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
margin_right = 218.0
margin_bottom = 20.0
2020-04-15 09:49:29 +00:00
mouse_default_cursor_shape = 2
2020-04-13 14:10:17 +00:00
size_flags_horizontal = 3
text = "Apply"
[node name="Cancel" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
margin_left = 234.0
margin_right = 453.0
margin_bottom = 20.0
2020-04-15 09:49:29 +00:00
mouse_default_cursor_shape = 2
2020-04-13 14:10:17 +00:00
size_flags_horizontal = 3
text = "Cancel"
[connection signal="about_to_show" from="." to="." method="_on_HSVDialog_about_to_show"]
[connection signal="value_changed" from="MarginContainer/VBoxContainer/HBoxContainer/Sliders/Hue" to="." method="_on_Hue_value_changed"]
[connection signal="value_changed" from="MarginContainer/VBoxContainer/HBoxContainer/Sliders/Saturation" to="." method="_on_Saturation_value_changed"]
[connection signal="value_changed" from="MarginContainer/VBoxContainer/HBoxContainer/Sliders/Value" to="." method="_on_Value_value_changed"]
[connection signal="value_changed" from="MarginContainer/VBoxContainer/HBoxContainer/TextBoxes/Hue" to="." method="_on_Hue_value_changed"]
[connection signal="value_changed" from="MarginContainer/VBoxContainer/HBoxContainer/TextBoxes/Saturation" to="." method="_on_Saturation_value_changed"]
[connection signal="value_changed" from="MarginContainer/VBoxContainer/HBoxContainer/TextBoxes/Value" to="." method="_on_Value_value_changed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer2/Apply" to="." method="_on_Apply_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer2/Cancel" to="." method="_on_Cancel_pressed"]