1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-20 01:59:49 +00:00
Pixelorama/src/Tools/ShapeDrawer.tscn

37 lines
1.1 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=4 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]
[ext_resource path="res://src/UI/Nodes/ValueSlider.tscn" type="PackedScene" id=3]
[node name="ToolOptions" instance=ExtResource( 2 )]
script = ExtResource( 1 )
[node name="ThicknessSlider" parent="." index="2" instance=ExtResource( 3 )]
margin_top = 26.0
margin_right = 116.0
margin_bottom = 50.0
min_value = 1.0
value = 1.0
prefix = "Size:"
suffix = "px"
is_global = true
[node name="FillCheckbox" type="CheckBox" parent="." index="3"]
margin_top = 54.0
margin_right = 116.0
margin_bottom = 78.0
hint_tooltip = "Fills the drawn shape with color, instead of drawing a hollow shape"
mouse_default_cursor_shape = 2
text = "Fill Shape"
[node name="Brush" parent="." index="4"]
visible = false
[node name="ColorInterpolation" parent="." index="5"]
margin_top = 66.0
margin_bottom = 128.0
[connection signal="value_changed" from="ThicknessSlider" to="." method="_on_Thickness_value_changed"]
[connection signal="toggled" from="FillCheckbox" to="." method="_on_FillCheckbox_toggled"]