GraphicsEditor/addons/graphics_editor/Settings.tscn

197 lines
5.1 KiB
Plaintext
Raw Normal View History

2019-08-04 09:57:42 +02:00
[gd_scene load_steps=2 format=2]
[ext_resource path="res://addons/graphics_editor/Settings.gd" type="Script" id=1]
[node name="Settings" type="WindowDialog"]
2019-08-06 03:19:40 +02:00
margin_right = 310.0
2019-11-23 12:33:43 +01:00
margin_bottom = 300.0
2019-08-04 09:57:42 +02:00
window_title = "Settings"
script = ExtResource( 1 )
[node name="Ok" type="Button" parent="."]
2019-08-06 03:19:40 +02:00
margin_left = 220.0
2019-08-06 07:36:52 +02:00
margin_top = 270.0
2019-08-06 03:19:40 +02:00
margin_right = 300.0
2019-08-06 07:36:52 +02:00
margin_bottom = 290.0
2019-08-04 09:57:42 +02:00
text = "Ok"
2019-08-06 03:19:40 +02:00
[node name="CanvasOutline" type="Control" parent="."]
2019-08-06 07:36:52 +02:00
editor/display_folded = true
2019-08-04 09:57:42 +02:00
margin_left = 10.0
margin_top = 10.0
2019-08-06 03:19:40 +02:00
margin_right = 300.0
margin_bottom = 120.0
2019-08-04 09:57:42 +02:00
__meta__ = {
"_edit_group_": true
}
2019-08-06 03:19:40 +02:00
[node name="Label" type="Label" parent="CanvasOutline"]
margin_right = 100.0
margin_bottom = 14.0
text = "Canvas Outline:"
[node name="Enabled" type="Control" parent="CanvasOutline"]
2019-08-06 07:36:52 +02:00
editor/display_folded = true
2019-08-06 03:19:40 +02:00
margin_left = 10.0
margin_top = 20.0
margin_right = 290.0
margin_bottom = 40.0
[node name="Label" type="Label" parent="CanvasOutline/Enabled"]
2019-08-04 09:57:42 +02:00
margin_right = 130.0
margin_bottom = 20.0
2019-08-06 03:19:40 +02:00
text = "Enabled:"
2019-08-04 09:57:42 +02:00
valign = 1
2019-08-06 03:19:40 +02:00
[node name="CheckButton" type="CheckButton" parent="CanvasOutline/Enabled"]
2019-08-04 09:57:42 +02:00
margin_left = 210.0
margin_top = -10.0
margin_right = 286.0
margin_bottom = 30.0
pressed = true
2019-08-06 03:19:40 +02:00
[node name="Color" type="Control" parent="CanvasOutline"]
2019-08-06 07:36:52 +02:00
editor/display_folded = true
2019-08-04 09:57:42 +02:00
margin_left = 10.0
2019-08-06 03:19:40 +02:00
margin_top = 50.0
2019-08-04 09:57:42 +02:00
margin_right = 290.0
2019-08-06 03:19:40 +02:00
margin_bottom = 70.0
2019-08-04 09:57:42 +02:00
2019-08-06 03:19:40 +02:00
[node name="Label" type="Label" parent="CanvasOutline/Color"]
2019-08-04 09:57:42 +02:00
margin_right = 130.0
margin_bottom = 20.0
2019-08-06 03:19:40 +02:00
text = "Color:"
2019-08-04 09:57:42 +02:00
valign = 1
2019-08-06 03:19:40 +02:00
[node name="ColorPickerButton" type="ColorPickerButton" parent="CanvasOutline/Color"]
2019-08-04 09:57:42 +02:00
margin_left = 170.0
margin_right = 280.0
margin_bottom = 20.0
2019-08-06 03:19:40 +02:00
[node name="Width" type="Control" parent="CanvasOutline"]
2019-08-06 07:36:52 +02:00
editor/display_folded = true
2019-08-06 03:19:40 +02:00
margin_left = 10.0
margin_top = 80.0
margin_right = 290.0
margin_bottom = 100.0
[node name="Label" type="Label" parent="CanvasOutline/Width"]
margin_right = 130.0
margin_bottom = 20.0
rect_rotation = -0.00812905
text = "Width:"
valign = 1
[node name="SpinBox" type="SpinBox" parent="CanvasOutline/Width"]
margin_left = 210.0
margin_right = 284.0
margin_bottom = 24.0
max_value = 9999.0
allow_greater = true
allow_lesser = true
2019-08-06 07:36:52 +02:00
[node name="Grids" type="Control" parent="."]
margin_left = 10.0
margin_top = 120.0
margin_right = 300.0
margin_bottom = 260.0
[node name="Label" type="Label" parent="Grids"]
margin_right = 100.0
margin_bottom = 14.0
text = "Grids:"
[node name="Grid1Color" type="Control" parent="Grids"]
margin_left = 10.0
margin_top = 20.0
margin_right = 290.0
margin_bottom = 40.0
__meta__ = {
"_edit_group_": true
}
[node name="Label" type="Label" parent="Grids/Grid1Color"]
margin_right = 130.0
margin_bottom = 20.0
text = "Grid1 Color:"
valign = 1
[node name="ColorPickerButton" type="ColorPickerButton" parent="Grids/Grid1Color"]
margin_left = 170.0
margin_right = 280.0
margin_bottom = 20.0
[node name="Grid2Color" type="Control" parent="Grids"]
margin_left = 10.0
margin_top = 80.0
margin_right = 290.0
margin_bottom = 100.0
__meta__ = {
"_edit_group_": true
}
[node name="Label" type="Label" parent="Grids/Grid2Color"]
margin_right = 130.0
margin_bottom = 20.0
text = "Grid2 Color:"
valign = 1
[node name="ColorPickerButton" type="ColorPickerButton" parent="Grids/Grid2Color"]
margin_left = 170.0
margin_right = 280.0
margin_bottom = 20.0
[node name="Grid1Size" type="Control" parent="Grids"]
margin_left = 10.0
margin_top = 50.0
margin_right = 290.0
margin_bottom = 70.0
__meta__ = {
"_edit_group_": true
}
[node name="Label" type="Label" parent="Grids/Grid1Size"]
margin_right = 130.0
margin_bottom = 20.0
text = "Grid1 Size:"
valign = 1
[node name="SpinBox" type="SpinBox" parent="Grids/Grid1Size"]
margin_left = 210.0
margin_right = 284.0
margin_bottom = 24.0
2019-11-23 12:33:43 +01:00
max_value = 10000.0
2019-08-06 07:36:52 +02:00
allow_greater = true
allow_lesser = true
[node name="Grid2Size" type="Control" parent="Grids"]
margin_left = 10.0
margin_top = 110.0
margin_right = 290.0
margin_bottom = 130.0
__meta__ = {
"_edit_group_": true
}
[node name="Label" type="Label" parent="Grids/Grid2Size"]
margin_right = 130.0
margin_bottom = 20.0
text = "Grid2 Size:"
valign = 1
[node name="SpinBox" type="SpinBox" parent="Grids/Grid2Size"]
margin_left = 210.0
margin_right = 284.0
margin_bottom = 24.0
2019-11-23 12:33:43 +01:00
max_value = 10000.0
2019-08-06 07:36:52 +02:00
allow_greater = true
allow_lesser = true
2019-08-04 09:57:42 +02:00
[connection signal="pressed" from="Ok" to="." method="_on_Ok_pressed"]
2019-08-06 07:36:52 +02:00
[connection signal="toggled" from="CanvasOutline/Enabled/CheckButton" to="." method="_on_CanvasOutline_Enabled_value_changed"]
[connection signal="color_changed" from="CanvasOutline/Color/ColorPickerButton" to="." method="_on_CanvasOutline_Color_value_changed"]
[connection signal="value_changed" from="CanvasOutline/Width/SpinBox" to="." method="_on_CanvasOutline_SpinBox_value_changed"]
[connection signal="color_changed" from="Grids/Grid1Color/ColorPickerButton" to="." method="_on_Grids_Grid1Color_value_changed"]
[connection signal="color_changed" from="Grids/Grid2Color/ColorPickerButton" to="." method="_on_Grids_Grid2Color_value_changed"]
[connection signal="value_changed" from="Grids/Grid1Size/SpinBox" to="." method="_on_Grids_Grid1Size_value_changed"]
[connection signal="value_changed" from="Grids/Grid2Size/SpinBox" to="." method="_on_Grids_Grid2Size_value_changed"]