[gd_scene load_steps=2 format=2]

[ext_resource path="res://addons/resources_speadsheet_view/typed_editors/dock_color.gd" type="Script" id=1]

[node name="EditColor" type="VBoxContainer"]
anchor_right = 1.0
margin_bottom = 86.0
rect_pivot_offset = Vector2( -460, -28 )
mouse_filter = 0
script = ExtResource( 1 )

[node name="Header" type="HBoxContainer" parent="."]
margin_right = 1024.0
margin_bottom = 14.0

[node name="HBoxContainer" type="HBoxContainer" parent="Header"]
margin_right = 455.0
margin_bottom = 14.0
size_flags_horizontal = 3

[node name="Label" type="Label" parent="Header/HBoxContainer"]
margin_right = 70.0
margin_bottom = 14.0
text = "EDIT: Color"

[node name="HSeparator" type="HSeparator" parent="Header/HBoxContainer"]
margin_left = 74.0
margin_right = 455.0
margin_bottom = 14.0
size_flags_horizontal = 3

[node name="Label" type="Label" parent="Header"]
margin_left = 459.0
margin_right = 565.0
margin_bottom = 14.0
text = "PROPERTY NAME"

[node name="HSeparator2" type="HSeparator" parent="Header"]
margin_left = 569.0
margin_right = 1024.0
margin_bottom = 14.0
size_flags_horizontal = 3

[node name="EditColor" type="HBoxContainer" parent="."]
margin_top = 18.0
margin_right = 1024.0
margin_bottom = 86.0
alignment = 1

[node name="VSeparator7" type="Control" parent="EditColor"]
margin_right = 172.0
margin_bottom = 68.0
rect_min_size = Vector2( 16, 0 )
size_flags_horizontal = 3

[node name="VSeparator3" type="Control" parent="EditColor"]
visible = false
margin_right = 16.0
margin_bottom = 68.0
rect_min_size = Vector2( 16, 0 )

[node name="ButtonRowTemplate" type="Control" parent="EditColor"]
visible = false
margin_left = 20.0
margin_right = 20.0
margin_bottom = 42.0

[node name="Button3" type="Button" parent="EditColor/ButtonRowTemplate"]
margin_right = 25.0
margin_bottom = 20.0
text = "-X"

[node name="Button2" type="Button" parent="EditColor/ButtonRowTemplate"]
margin_left = 29.0
margin_right = 54.0
margin_bottom = 20.0
text = "-5"

[node name="Label" type="Label" parent="EditColor/ButtonRowTemplate"]
margin_left = 87.0
margin_top = 3.0
margin_right = 111.0
margin_bottom = 17.0
text = "Red"
align = 1

[node name="Button5" type="Button" parent="EditColor/ButtonRowTemplate"]
margin_left = 147.0
margin_right = 175.0
margin_bottom = 20.0
text = "+5"

[node name="Button6" type="Button" parent="EditColor/ButtonRowTemplate"]
margin_left = 179.0
margin_right = 207.0
margin_bottom = 20.0
text = "+X"

[node name="RGBGrid" type="GridContainer" parent="EditColor"]
margin_left = 176.0
margin_right = 353.0
margin_bottom = 68.0
columns = 5

[node name="Button3" type="Button" parent="EditColor/RGBGrid"]
modulate = Color( 1, 0.780392, 0.780392, 1 )
margin_right = 25.0
margin_bottom = 20.0
text = "-X"

[node name="Button2" type="Button" parent="EditColor/RGBGrid"]
modulate = Color( 1, 0.780392, 0.780392, 1 )
margin_left = 29.0
margin_right = 62.0
margin_bottom = 20.0
text = "-10"

[node name="Label" type="Label" parent="EditColor/RGBGrid"]
margin_left = 66.0
margin_top = 3.0
margin_right = 105.0
margin_bottom = 17.0
text = "Red"
align = 1

[node name="Button5" type="Button" parent="EditColor/RGBGrid"]
modulate = Color( 1, 0.780392, 0.780392, 1 )
margin_left = 109.0
margin_right = 145.0
margin_bottom = 20.0
text = "+10"

[node name="Button6" type="Button" parent="EditColor/RGBGrid"]
modulate = Color( 1, 0.780392, 0.780392, 1 )
margin_left = 149.0
margin_right = 177.0
margin_bottom = 20.0
text = "+X"

[node name="Button7" type="Button" parent="EditColor/RGBGrid"]
modulate = Color( 0.666667, 1, 0.745098, 1 )
margin_top = 24.0
margin_right = 25.0
margin_bottom = 44.0
text = "-X"

[node name="Button8" type="Button" parent="EditColor/RGBGrid"]
modulate = Color( 0.666667, 1, 0.745098, 1 )
margin_left = 29.0
margin_top = 24.0
margin_right = 62.0
margin_bottom = 44.0
text = "-10"

[node name="Label2" type="Label" parent="EditColor/RGBGrid"]
margin_left = 66.0
margin_top = 27.0
margin_right = 105.0
margin_bottom = 41.0
text = "Green"
align = 1

[node name="Button11" type="Button" parent="EditColor/RGBGrid"]
modulate = Color( 0.666667, 1, 0.745098, 1 )
margin_left = 109.0
margin_top = 24.0
margin_right = 145.0
margin_bottom = 44.0
text = "+10"

[node name="Button12" type="Button" parent="EditColor/RGBGrid"]
modulate = Color( 0.666667, 1, 0.745098, 1 )
margin_left = 149.0
margin_top = 24.0
margin_right = 177.0
margin_bottom = 44.0
text = "+X"

[node name="Button13" type="Button" parent="EditColor/RGBGrid"]
modulate = Color( 0.772549, 0.792157, 1, 1 )
margin_top = 48.0
margin_right = 25.0
margin_bottom = 68.0
text = "-X"

[node name="Button14" type="Button" parent="EditColor/RGBGrid"]
modulate = Color( 0.772549, 0.792157, 1, 1 )
margin_left = 29.0
margin_top = 48.0
margin_right = 62.0
margin_bottom = 68.0
text = "-10"

[node name="Label3" type="Label" parent="EditColor/RGBGrid"]
margin_left = 66.0
margin_top = 51.0
margin_right = 105.0
margin_bottom = 65.0
text = "Blue"
align = 1

[node name="Button17" type="Button" parent="EditColor/RGBGrid"]
modulate = Color( 0.772549, 0.792157, 1, 1 )
margin_left = 109.0
margin_top = 48.0
margin_right = 145.0
margin_bottom = 68.0
text = "+10"

[node name="Button18" type="Button" parent="EditColor/RGBGrid"]
modulate = Color( 0.772549, 0.792157, 1, 1 )
margin_left = 149.0
margin_top = 48.0
margin_right = 177.0
margin_bottom = 68.0
text = "+X"

[node name="VSeparator" type="VSeparator" parent="EditColor"]
margin_left = 357.0
margin_right = 361.0
margin_bottom = 68.0

[node name="ColorProper" type="VBoxContainer" parent="EditColor"]
margin_left = 365.0
margin_right = 461.0
margin_bottom = 68.0

[node name="ColorRect" type="ColorRect" parent="EditColor/ColorProper"]
margin_right = 96.0
margin_bottom = 44.0
size_flags_vertical = 3

[node name="Button" type="Button" parent="EditColor/ColorProper"]
margin_top = 48.0
margin_right = 96.0
margin_bottom = 68.0
text = "Choose Color"

[node name="VSeparator2" type="VSeparator" parent="EditColor"]
margin_left = 465.0
margin_right = 469.0
margin_bottom = 68.0

[node name="HSVGrid" type="GridContainer" parent="EditColor"]
margin_left = 473.0
margin_right = 646.0
margin_bottom = 68.0
columns = 5

[node name="Button3" type="Button" parent="EditColor/HSVGrid"]
modulate = Color( 1, 0.913725, 0.776471, 1 )
margin_right = 25.0
margin_bottom = 20.0
text = "-X"

[node name="Button2" type="Button" parent="EditColor/HSVGrid"]
modulate = Color( 0.898039, 1, 0.698039, 1 )
margin_left = 29.0
margin_right = 62.0
margin_bottom = 20.0
text = "-10"

[node name="Label" type="Label" parent="EditColor/HSVGrid"]
margin_left = 66.0
margin_top = 3.0
margin_right = 101.0
margin_bottom = 17.0
text = "Hue"
align = 1

[node name="Button5" type="Button" parent="EditColor/HSVGrid"]
modulate = Color( 0.717647, 1, 0.980392, 1 )
margin_left = 105.0
margin_right = 141.0
margin_bottom = 20.0
text = "+10"

[node name="Button6" type="Button" parent="EditColor/HSVGrid"]
modulate = Color( 0.74902, 0.729412, 1, 1 )
margin_left = 145.0
margin_right = 173.0
margin_bottom = 20.0
text = "+X"

[node name="Button7" type="Button" parent="EditColor/HSVGrid"]
margin_top = 24.0
margin_right = 25.0
margin_bottom = 44.0
text = "-X"

[node name="Button8" type="Button" parent="EditColor/HSVGrid"]
margin_left = 29.0
margin_top = 24.0
margin_right = 62.0
margin_bottom = 44.0
text = "-5"

[node name="Label2" type="Label" parent="EditColor/HSVGrid"]
margin_left = 66.0
margin_top = 27.0
margin_right = 101.0
margin_bottom = 41.0
text = "Sat"
align = 1

[node name="Button11" type="Button" parent="EditColor/HSVGrid"]
margin_left = 105.0
margin_top = 24.0
margin_right = 141.0
margin_bottom = 44.0
text = "+5"

[node name="Button12" type="Button" parent="EditColor/HSVGrid"]
margin_left = 145.0
margin_top = 24.0
margin_right = 173.0
margin_bottom = 44.0
text = "+X"

[node name="Button13" type="Button" parent="EditColor/HSVGrid"]
margin_top = 48.0
margin_right = 25.0
margin_bottom = 68.0
text = "-X"

[node name="Button14" type="Button" parent="EditColor/HSVGrid"]
margin_left = 29.0
margin_top = 48.0
margin_right = 62.0
margin_bottom = 68.0
text = "-5"

[node name="Label3" type="Label" parent="EditColor/HSVGrid"]
margin_left = 66.0
margin_top = 51.0
margin_right = 101.0
margin_bottom = 65.0
text = "Value"
align = 1

[node name="Button17" type="Button" parent="EditColor/HSVGrid"]
margin_left = 105.0
margin_top = 48.0
margin_right = 141.0
margin_bottom = 68.0
text = "+5"

[node name="Button18" type="Button" parent="EditColor/HSVGrid"]
margin_left = 145.0
margin_top = 48.0
margin_right = 173.0
margin_bottom = 68.0
text = "+X"

[node name="VSeparator4" type="VSeparator" parent="EditColor"]
margin_left = 650.0
margin_right = 654.0
margin_bottom = 68.0

[node name="CustomX" type="VBoxContainer" parent="EditColor"]
margin_left = 658.0
margin_right = 848.0
margin_bottom = 68.0

[node name="Label" type="Label" parent="EditColor/CustomX"]
margin_top = 13.0
margin_right = 190.0
margin_bottom = 27.0
size_flags_vertical = 6
text = "Custom Value (for +X buttons)"

[node name="LineEdit" type="LineEdit" parent="EditColor/CustomX"]
margin_top = 44.0
margin_right = 190.0
margin_bottom = 68.0
text = "20"

[node name="VSeparator6" type="Control" parent="EditColor"]
margin_left = 852.0
margin_right = 1024.0
margin_bottom = 68.0
rect_min_size = Vector2( 16, 0 )
size_flags_horizontal = 3

[node name="Panel" type="PanelContainer" parent="EditColor/VSeparator6"]
visible = false
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = -601.0
margin_top = -504.0
margin_right = -278.0

[node name="Panel2" type="Panel" parent="EditColor/VSeparator6/Panel"]
self_modulate = Color( 1.5, 1.5, 1.5, 1 )
margin_left = 7.0
margin_top = 7.0
margin_right = 316.0
margin_bottom = 497.0

[node name="MarginContainer" type="MarginContainer" parent="EditColor/VSeparator6/Panel"]
margin_left = 7.0
margin_top = 7.0
margin_right = 316.0
margin_bottom = 497.0
custom_constants/margin_right = 4
custom_constants/margin_top = 4
custom_constants/margin_left = 4
custom_constants/margin_bottom = 4

[node name="ColorPicker" type="ColorPicker" parent="EditColor/VSeparator6/Panel/MarginContainer"]
margin_left = 4.0
margin_top = 4.0
margin_right = 305.0
margin_bottom = 486.0

[node name="Button" type="Button" parent="EditColor/VSeparator6/Panel/MarginContainer/ColorPicker"]
margin_top = 462.0
margin_right = 301.0
margin_bottom = 482.0
text = "OK"

[connection signal="pressed" from="EditColor/ColorProper/Button" to="." method="_on_Button_pressed"]
[connection signal="gui_input" from="EditColor/VSeparator6/Panel/MarginContainer/ColorPicker" to="." method="_on_ColorPicker_gui_input"]
[connection signal="pressed" from="EditColor/VSeparator6/Panel/MarginContainer/ColorPicker/Button" to="." method="_on_Button_pressed"]
