mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 17:49:47 +00:00
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://n40lhf8hm7o1"]
|
|
|
|
[ext_resource type="Script" path="res://src/Tools/ShapeDrawer.gd" id="1"]
|
|
[ext_resource type="PackedScene" uid="uid://ubyatap3sylf" path="res://src/Tools/Draw.tscn" id="2"]
|
|
[ext_resource type="PackedScene" uid="uid://yjhp0ssng2mp" path="res://src/UI/Nodes/ValueSlider.tscn" id="3"]
|
|
|
|
[node name="ToolOptions" instance=ExtResource("2")]
|
|
script = ExtResource("1")
|
|
|
|
[node name="ThicknessSlider" parent="." index="2" instance=ExtResource("3")]
|
|
layout_mode = 2
|
|
min_value = 1.0
|
|
value = 1.0
|
|
prefix = "Size:"
|
|
suffix = "px"
|
|
global_increment_action = "brush_size_increment"
|
|
global_decrement_action = "brush_size_decrement"
|
|
|
|
[node name="FillCheckbox" type="CheckBox" parent="." index="3"]
|
|
layout_mode = 2
|
|
tooltip_text = "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
|
|
|
|
[connection signal="value_changed" from="ThicknessSlider" to="." method="_on_Thickness_value_changed"]
|
|
[connection signal="toggled" from="FillCheckbox" to="." method="_on_FillCheckbox_toggled"]
|