mirror of
https://github.com/Relintai/GraphicsEditor.git
synced 2024-11-12 08:15:17 +01:00
198 lines
5.1 KiB
Plaintext
198 lines
5.1 KiB
Plaintext
[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"]
|
|
margin_top = 20.0
|
|
margin_right = 310.0
|
|
margin_bottom = 320.0
|
|
window_title = "Settings"
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Ok" type="Button" parent="."]
|
|
margin_left = 220.0
|
|
margin_top = 270.0
|
|
margin_right = 300.0
|
|
margin_bottom = 290.0
|
|
text = "Ok"
|
|
|
|
[node name="CanvasOutline" type="Control" parent="."]
|
|
editor/display_folded = true
|
|
margin_left = 10.0
|
|
margin_top = 10.0
|
|
margin_right = 300.0
|
|
margin_bottom = 120.0
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[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"]
|
|
editor/display_folded = true
|
|
margin_left = 10.0
|
|
margin_top = 20.0
|
|
margin_right = 290.0
|
|
margin_bottom = 40.0
|
|
|
|
[node name="Label" type="Label" parent="CanvasOutline/Enabled"]
|
|
margin_right = 130.0
|
|
margin_bottom = 20.0
|
|
text = "Enabled:"
|
|
valign = 1
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="CanvasOutline/Enabled"]
|
|
margin_left = 210.0
|
|
margin_top = -10.0
|
|
margin_right = 286.0
|
|
margin_bottom = 30.0
|
|
pressed = true
|
|
|
|
[node name="Color" type="Control" parent="CanvasOutline"]
|
|
editor/display_folded = true
|
|
margin_left = 10.0
|
|
margin_top = 50.0
|
|
margin_right = 290.0
|
|
margin_bottom = 70.0
|
|
|
|
[node name="Label" type="Label" parent="CanvasOutline/Color"]
|
|
margin_right = 130.0
|
|
margin_bottom = 20.0
|
|
text = "Color:"
|
|
valign = 1
|
|
|
|
[node name="ColorPickerButton" type="ColorPickerButton" parent="CanvasOutline/Color"]
|
|
margin_left = 170.0
|
|
margin_right = 280.0
|
|
margin_bottom = 20.0
|
|
|
|
[node name="Width" type="Control" parent="CanvasOutline"]
|
|
editor/display_folded = true
|
|
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
|
|
|
|
[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
|
|
max_value = 9999.0
|
|
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
|
|
max_value = 9999.0
|
|
allow_greater = true
|
|
allow_lesser = true
|
|
[connection signal="pressed" from="Ok" to="." method="_on_Ok_pressed"]
|
|
[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"]
|