[gd_scene load_steps=3 format=2] [ext_resource path="res://src/Tools/ShapeDrawer.gd" type="Script" id=1] [ext_resource path="res://src/Tools/Draw.tscn" type="PackedScene" id=2] [node name="ToolOptions" instance=ExtResource( 2 )] script = ExtResource( 1 ) [node name="Brush" parent="." index="1"] visible = false [node name="ShapeThickness" type="HBoxContainer" parent="." index="2"] margin_top = 18.0 margin_right = 116.0 margin_bottom = 42.0 [node name="Label" type="Label" parent="ShapeThickness" index="0"] margin_top = 5.0 margin_right = 26.0 margin_bottom = 19.0 text = "Size" [node name="ThicknessSpinbox" type="SpinBox" parent="ShapeThickness" index="1"] margin_left = 30.0 margin_right = 116.0 margin_bottom = 24.0 size_flags_horizontal = 3 min_value = 1.0 value = 1.0 align = 1 suffix = "px" [node name="ThicknessSlider" type="HSlider" parent="." index="3"] margin_top = 46.0 margin_right = 116.0 margin_bottom = 62.0 size_flags_horizontal = 3 size_flags_vertical = 1 min_value = 1.0 value = 1.0 [node name="BrushSize" parent="." index="4"] visible = false margin_top = 18.0 margin_bottom = 34.0 [node name="PixelPerfect" parent="." index="5"] visible = false margin_top = 66.0 margin_bottom = 90.0 [node name="ColorInterpolation" parent="." index="6"] margin_top = 66.0 margin_bottom = 128.0 [node name="FillCheckbox" type="CheckBox" parent="." index="7"] margin_top = 66.0 margin_right = 116.0 margin_bottom = 90.0 hint_tooltip = "Fills the drawn shape with color, instead of drawing a hollow shape" text = "Fill Shape" [node name="EmptySpacer" parent="." index="8"] margin_top = 94.0 margin_bottom = 106.0 [node name="Mirror" parent="." index="9"] margin_top = 110.0 margin_bottom = 127.0 [connection signal="value_changed" from="ShapeThickness/ThicknessSpinbox" to="." method="_on_Thickness_value_changed"] [connection signal="value_changed" from="ThicknessSlider" to="." method="_on_Thickness_value_changed"] [connection signal="toggled" from="FillCheckbox" to="." method="_on_FillCheckbox_toggled"]