1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 01:29:49 +00:00

radio btn grp 2

This commit is contained in:
RorotoSic 2024-03-07 21:42:17 +01:00
parent 51189ac793
commit 12309c062a
2 changed files with 33 additions and 9 deletions

View file

@ -1,16 +1,27 @@
[gd_scene load_steps=4 format=3 uid="uid://btmbrqqig7wys"]
[gd_scene load_steps=5 format=3 uid="uid://btmbrqqig7wys"]
[ext_resource type="PackedScene" uid="uid://ubyatap3sylf" path="res://src/Tools/BaseDraw.tscn" id="1"]
[ext_resource type="Script" path="res://src/Tools/DesignTools/Eraser.gd" id="2"]
[ext_resource type="PackedScene" uid="uid://yjhp0ssng2mp" path="res://src/UI/Nodes/ValueSlider.tscn" id="3"]
[sub_resource type="ButtonGroup" id="ButtonGroup_mdp2d"]
resource_name = "rotate"
allow_unpress = true
[node name="ToolOptions" instance=ExtResource("1")]
script = ExtResource("2")
[node name="OpacitySlider" parent="." index="4" instance=ExtResource("3")]
[node name="Rotate90" parent="Rotate" index="0"]
button_group = SubResource("ButtonGroup_mdp2d")
[node name="Rotate180" parent="Rotate" index="1"]
button_group = SubResource("ButtonGroup_mdp2d")
[node name="Rotate270" parent="Rotate" index="2"]
button_group = SubResource("ButtonGroup_mdp2d")
[node name="OpacitySlider" parent="." index="7" instance=ExtResource("3")]
layout_mode = 2
focus_mode = 2
theme_type_variation = &"ValueSlider"
max_value = 255.0
value = 255.0
prefix = "Opacity:"

View file

@ -1,29 +1,42 @@
[gd_scene load_steps=4 format=3 uid="uid://cul5mpy17ebfl"]
[gd_scene load_steps=5 format=3 uid="uid://cul5mpy17ebfl"]
[ext_resource type="PackedScene" uid="uid://ubyatap3sylf" path="res://src/Tools/BaseDraw.tscn" id="1"]
[ext_resource type="PackedScene" path="res://src/UI/Nodes/ValueSliderV2.tscn" id="2"]
[ext_resource type="Script" path="res://src/Tools/DesignTools/Pencil.gd" id="3"]
[sub_resource type="ButtonGroup" id="ButtonGroup_easm4"]
resource_name = "rotate"
allow_unpress = true
[node name="ToolOptions" instance=ExtResource("1")]
script = ExtResource("3")
[node name="Overwrite" type="CheckBox" parent="." index="6"]
[node name="Rotate90" parent="Rotate" index="0"]
button_group = SubResource("ButtonGroup_easm4")
[node name="Rotate180" parent="Rotate" index="1"]
button_group = SubResource("ButtonGroup_easm4")
[node name="Rotate270" parent="Rotate" index="2"]
button_group = SubResource("ButtonGroup_easm4")
[node name="Overwrite" type="CheckBox" parent="." index="7"]
layout_mode = 2
tooltip_text = "Overwrites color instead of blending it. This option is only relevant with colors that are not fully opaque"
mouse_default_cursor_shape = 2
text = "Overwrite color"
[node name="FillInside" type="CheckBox" parent="." index="7"]
[node name="FillInside" type="CheckBox" parent="." index="8"]
layout_mode = 2
mouse_default_cursor_shape = 2
text = "Fill inside"
[node name="SpacingMode" type="CheckBox" parent="." index="8"]
[node name="SpacingMode" type="CheckBox" parent="." index="9"]
layout_mode = 2
mouse_default_cursor_shape = 2
text = "Spacing"
[node name="Spacing" parent="." index="9" instance=ExtResource("2")]
[node name="Spacing" parent="." index="10" instance=ExtResource("2")]
visible = false
layout_mode = 2
allow_greater = true