-
-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add flip X and Flip Y, and Rotation (90, 180, 270) buttons to BaseTool (
#988) * Add Flip X, Flip Y, Rotate 90, Rotate 180, Rotate 270 * node placement * flip_rotate for BrushButton * flip corrected for BrushButton (x, y was reversed) * code changed for github static checks * github static checks * github static checks 2 * remove " _ " before my variable name hope this was the problem * var brush_texture_rotation * Hide Flip/Rotate buttons where it is unnecessary * btns flip/rotate hide when a non-image brush is selected * rotate ButtonGroup (radio btn) * expand button for flip/rotate * radio btn grp 2 * expand button (forgot to add the tscn ) * cursor shape to pointing hand * tooltip R90 R180 R270 i dont add txt to the Translations.pot bc not sure to understand and dont want to make mistake * shading.tscn (nodes placement debreaking) back as before * Revert "expand button (forgot to add the tscn )" This reverts commit 3062afe. * Revert "expand button for flip/rotate" This reverts commit 51189ac. * Collapsible Container change "expend buton" to the pixelorama custum node "CollapsibleContainer" * remove thick white outline when CollapseContainer is pressed and focus * styleboxflat when CollapseContainer is pressed and empty for checkbox * Revert "styleboxflat when CollapseContainer is pressed and empty for checkbox" This reverts commit 0af0e1f. * StyleboxEmpty for normal / keep hover unchanged * Revert "StyleboxEmpty for normal / keep hover unchanged" This reverts commit 14b3745. * Revert "remove thick white outline when CollapseContainer is pressed and focus" This reverts commit b80ab1a. * "flip_rotateD" + "Flat CollapsibleContainer'" * conflicts Resolved signal color_changed(color: Color, button: int) --------- Co-authored-by: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
- Loading branch information
1 parent
6d2d09d
commit 8bfd474
Showing
11 changed files
with
231 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
[gd_scene load_steps=3 format=3 uid="uid://4hp76lf38bc7"] | ||
[gd_scene load_steps=4 format=3 uid="uid://4hp76lf38bc7"] | ||
|
||
[ext_resource type="PackedScene" uid="uid://n40lhf8hm7o1" path="res://src/Tools/BaseShapeDrawer.tscn" id="1"] | ||
[ext_resource type="Script" path="res://src/Tools/DesignTools/EllipseTool.gd" id="2"] | ||
|
||
[sub_resource type="ButtonGroup" id="ButtonGroup_q7ttl"] | ||
resource_name = "rotate" | ||
allow_unpress = true | ||
|
||
[node name="ToolOptions" instance=ExtResource("1")] | ||
script = ExtResource("2") | ||
|
||
[node name="Rotate90" parent="RotationOptions/Rotate" index="0"] | ||
button_group = SubResource("ButtonGroup_q7ttl") | ||
|
||
[node name="Rotate180" parent="RotationOptions/Rotate" index="1"] | ||
button_group = SubResource("ButtonGroup_q7ttl") | ||
|
||
[node name="Rotate270" parent="RotationOptions/Rotate" index="2"] | ||
button_group = SubResource("ButtonGroup_q7ttl") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
[gd_scene load_steps=3 format=3 uid="uid://dhlab4q2dwu0a"] | ||
[gd_scene load_steps=4 format=3 uid="uid://dhlab4q2dwu0a"] | ||
|
||
[ext_resource type="PackedScene" uid="uid://n40lhf8hm7o1" path="res://src/Tools/BaseShapeDrawer.tscn" id="1"] | ||
[ext_resource type="Script" path="res://src/Tools/DesignTools/RectangleTool.gd" id="2"] | ||
|
||
[sub_resource type="ButtonGroup" id="ButtonGroup_cyxrj"] | ||
resource_name = "rotate" | ||
allow_unpress = true | ||
|
||
[node name="ToolOptions" instance=ExtResource("1")] | ||
script = ExtResource("2") | ||
|
||
[node name="Rotate90" parent="RotationOptions/Rotate" index="0"] | ||
button_group = SubResource("ButtonGroup_cyxrj") | ||
|
||
[node name="Rotate180" parent="RotationOptions/Rotate" index="1"] | ||
button_group = SubResource("ButtonGroup_cyxrj") | ||
|
||
[node name="Rotate270" parent="RotationOptions/Rotate" index="2"] | ||
button_group = SubResource("ButtonGroup_cyxrj") |
Oops, something went wrong.