|
| 1 | +[gd_scene format=3 uid="uid://dm0t60quyv3bj"] |
| 2 | + |
| 3 | +[ext_resource type="Script" uid="uid://dfxrwhc6j411j" path="res://views/editor/containers/edit_extras/brush_handler.gd" id="1_8f4qj"] |
| 4 | +[ext_resource type="Texture2D" uid="uid://whaa4jwoxw6m" path="res://tools/brush/big_circle/brush_template.png" id="2_6f1ni"] |
| 5 | +[ext_resource type="Texture2D" uid="uid://jfxxbdi7fdi2" path="res://tools/brush/big_semi_square/brush_template.png" id="3_iesae"] |
| 6 | +[ext_resource type="Texture2D" uid="uid://bwkygx605tohx" path="res://tools/brush/big_square/brush_template.png" id="4_781lx"] |
| 7 | + |
| 8 | +[node name="BrushMenu" type="PanelContainer" unique_id=1654936513 node_paths=PackedStringArray("thick_sldr", "hard_sldr", "color_picker", "brush_list")] |
| 9 | +script = ExtResource("1_8f4qj") |
| 10 | +thick_sldr = NodePath("VBoxContainer/HBoxContainer/BrushSetting/TkSldrContainer/ThicknessSlider") |
| 11 | +hard_sldr = NodePath("VBoxContainer/HBoxContainer/BrushSetting/HdSldrContainer/HardnessSlider") |
| 12 | +color_picker = NodePath("VBoxContainer/HBoxContainer/ColorHeader/ColorPickerButton") |
| 13 | +brush_list = NodePath("VBoxContainer/BrushesHeader/BrushList") |
| 14 | +metadata/_tab_index = 0 |
| 15 | + |
| 16 | +[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1225038371] |
| 17 | +layout_mode = 2 |
| 18 | + |
| 19 | +[node name="BrushesHeader" type="VBoxContainer" parent="VBoxContainer" unique_id=380219836] |
| 20 | +layout_mode = 2 |
| 21 | +size_flags_vertical = 3 |
| 22 | + |
| 23 | +[node name="Label" type="Label" parent="VBoxContainer/BrushesHeader" unique_id=1464163878] |
| 24 | +layout_mode = 2 |
| 25 | +text = "Brushes" |
| 26 | + |
| 27 | +[node name="BrushList" type="ItemList" parent="VBoxContainer/BrushesHeader" unique_id=1189968663] |
| 28 | +layout_mode = 2 |
| 29 | +size_flags_vertical = 3 |
| 30 | +item_count = 3 |
| 31 | +item_0/text = "Big Circle" |
| 32 | +item_0/icon = ExtResource("2_6f1ni") |
| 33 | +item_1/text = "Big Semisquare" |
| 34 | +item_1/icon = ExtResource("3_iesae") |
| 35 | +item_2/text = "Big Square" |
| 36 | +item_2/icon = ExtResource("4_781lx") |
| 37 | + |
| 38 | +[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer" unique_id=544748102] |
| 39 | +layout_mode = 2 |
| 40 | + |
| 41 | +[node name="VSeparator" type="VSeparator" parent="VBoxContainer/HBoxContainer" unique_id=194385954] |
| 42 | +layout_mode = 2 |
| 43 | +size_flags_horizontal = 3 |
| 44 | +size_flags_stretch_ratio = 0.3 |
| 45 | + |
| 46 | +[node name="BrushSetting" type="VBoxContainer" parent="VBoxContainer/HBoxContainer" unique_id=768236304] |
| 47 | +layout_mode = 2 |
| 48 | +size_flags_horizontal = 3 |
| 49 | + |
| 50 | +[node name="TkSldrContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer/BrushSetting" unique_id=577021794] |
| 51 | +layout_mode = 2 |
| 52 | + |
| 53 | +[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/BrushSetting/TkSldrContainer" unique_id=2016760910] |
| 54 | +layout_mode = 2 |
| 55 | +text = "Thickness" |
| 56 | + |
| 57 | +[node name="ThicknessSlider" type="HSlider" parent="VBoxContainer/HBoxContainer/BrushSetting/TkSldrContainer" unique_id=65607546] |
| 58 | +layout_mode = 2 |
| 59 | +min_value = 1.0 |
| 60 | +max_value = 50.0 |
| 61 | +step = 0.1 |
| 62 | +value = 1.0 |
| 63 | + |
| 64 | +[node name="HdSldrContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer/BrushSetting" unique_id=2083122033] |
| 65 | +layout_mode = 2 |
| 66 | + |
| 67 | +[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/BrushSetting/HdSldrContainer" unique_id=1612079100] |
| 68 | +layout_mode = 2 |
| 69 | +text = "Hardness (Not Implemented)" |
| 70 | + |
| 71 | +[node name="HardnessSlider" type="HSlider" parent="VBoxContainer/HBoxContainer/BrushSetting/HdSldrContainer" unique_id=1560819494] |
| 72 | +layout_mode = 2 |
| 73 | + |
| 74 | +[node name="VSeparator2" type="VSeparator" parent="VBoxContainer/HBoxContainer" unique_id=900005814] |
| 75 | +layout_mode = 2 |
| 76 | +size_flags_horizontal = 3 |
| 77 | +size_flags_stretch_ratio = 0.3 |
| 78 | + |
| 79 | +[node name="ColorHeader" type="VBoxContainer" parent="VBoxContainer/HBoxContainer" unique_id=895090855] |
| 80 | +layout_mode = 2 |
| 81 | +size_flags_horizontal = 3 |
| 82 | + |
| 83 | +[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/ColorHeader" unique_id=1775548022] |
| 84 | +layout_mode = 2 |
| 85 | +text = "Color" |
| 86 | + |
| 87 | +[node name="ColorPickerButton" type="ColorPickerButton" parent="VBoxContainer/HBoxContainer/ColorHeader" unique_id=673755781] |
| 88 | +layout_mode = 2 |
| 89 | +size_flags_vertical = 3 |
| 90 | +size_flags_stretch_ratio = 0.0 |
| 91 | +text = "a" |
| 92 | + |
| 93 | +[node name="VSeparator3" type="VSeparator" parent="VBoxContainer/HBoxContainer" unique_id=1656032359] |
| 94 | +layout_mode = 2 |
| 95 | +size_flags_horizontal = 3 |
| 96 | +size_flags_stretch_ratio = 0.3 |
| 97 | + |
| 98 | +[node name="HSeparator" type="HSeparator" parent="VBoxContainer" unique_id=2040615261] |
| 99 | +layout_mode = 2 |
| 100 | +size_flags_vertical = 3 |
| 101 | +size_flags_stretch_ratio = 0.1 |
0 commit comments