mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-12-14 11:14:43 -05:00
Added icons for mirroring
This commit is contained in:
parent
07db587b6c
commit
c8d46c7dd7
27 changed files with 396 additions and 36 deletions
80
Main.tscn
80
Main.tscn
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=49 format=2]
|
||||
[gd_scene load_steps=53 format=2]
|
||||
|
||||
[ext_resource path="res://Themes & Styles/Dark Theme/Dark Theme.tres" type="Theme" id=1]
|
||||
[ext_resource path="res://Scripts/Main.gd" type="Script" id=2]
|
||||
|
|
@ -29,6 +29,7 @@
|
|||
[ext_resource path="res://Prefabs/Dialogs/SplashDialog.tscn" type="PackedScene" id=27]
|
||||
[ext_resource path="res://Prefabs/Dialogs/CreateNewImage.tscn" type="PackedScene" id=28]
|
||||
[ext_resource path="res://Prefabs/Dialogs/ImportSprites.tscn" type="PackedScene" id=29]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Tools/Horizontal_Mirror_Off.png" type="Texture" id=30]
|
||||
[ext_resource path="res://Prefabs/Dialogs/ScaleImage.tscn" type="PackedScene" id=31]
|
||||
[ext_resource path="res://Prefabs/Dialogs/PreferencesDialog.tscn" type="PackedScene" id=32]
|
||||
[ext_resource path="res://Prefabs/Dialogs/OutlineDialog.tscn" type="PackedScene" id=33]
|
||||
|
|
@ -38,6 +39,9 @@
|
|||
[ext_resource path="res://Prefabs/PaletteImportFileDialog.tscn" type="PackedScene" id=37]
|
||||
[ext_resource path="res://Prefabs/Dialogs/RotateImage.tscn" type="PackedScene" id=38]
|
||||
[ext_resource path="res://Prefabs/Dialogs/ExportDialog.tscn" type="PackedScene" id=39]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Tools/Horizontal_Mirror_On.png" type="Texture" id=40]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Tools/Vertical_Mirror_On.png" type="Texture" id=41]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Tools/Vertical_Mirror_Off.png" type="Texture" id=42]
|
||||
|
||||
[sub_resource type="InputEventKey" id=1]
|
||||
scancode = 88
|
||||
|
|
@ -426,12 +430,12 @@ size_flags_vertical = 3
|
|||
|
||||
[node name="ToolOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer"]
|
||||
margin_right = 208.0
|
||||
margin_bottom = 352.0
|
||||
margin_bottom = 354.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="LeftToolOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions"]
|
||||
margin_right = 208.0
|
||||
margin_bottom = 170.0
|
||||
margin_bottom = 171.0
|
||||
|
||||
[node name="LeftLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions"]
|
||||
margin_right = 208.0
|
||||
|
|
@ -646,7 +650,7 @@ selected = 0
|
|||
[node name="LeftMirroring" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions"]
|
||||
margin_top = 135.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 170.0
|
||||
margin_bottom = 171.0
|
||||
|
||||
[node name="Label" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftMirroring"]
|
||||
margin_right = 208.0
|
||||
|
|
@ -656,32 +660,40 @@ text = "Mirroring"
|
|||
[node name="LeftMirrorButtons" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftMirroring"]
|
||||
margin_top = 19.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 35.0
|
||||
margin_bottom = 36.0
|
||||
|
||||
[node name="LeftHorizontalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons"]
|
||||
margin_right = 77.0
|
||||
margin_bottom = 16.0
|
||||
[node name="LeftHorizontalMirroring" type="TextureButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_right = 15.0
|
||||
margin_bottom = 17.0
|
||||
hint_tooltip = "HORIZMIRROR_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Horizontal"
|
||||
toggle_mode = true
|
||||
texture_normal = ExtResource( 30 )
|
||||
texture_pressed = ExtResource( 40 )
|
||||
|
||||
[node name="LeftVerticalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons"]
|
||||
margin_left = 81.0
|
||||
margin_right = 142.0
|
||||
margin_bottom = 16.0
|
||||
[node name="LeftVerticalMirroring" type="TextureButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 19.0
|
||||
margin_right = 36.0
|
||||
margin_bottom = 17.0
|
||||
hint_tooltip = "VERTMIRROR_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Vertical"
|
||||
toggle_mode = true
|
||||
texture_normal = ExtResource( 42 )
|
||||
texture_pressed = ExtResource( 41 )
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions"]
|
||||
margin_top = 174.0
|
||||
margin_top = 175.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 178.0
|
||||
margin_bottom = 179.0
|
||||
|
||||
[node name="RightToolOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions"]
|
||||
margin_top = 182.0
|
||||
margin_top = 183.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 352.0
|
||||
margin_bottom = 354.0
|
||||
|
||||
[node name="RightLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions"]
|
||||
margin_right = 208.0
|
||||
|
|
@ -896,7 +908,7 @@ selected = 1
|
|||
[node name="RightMirroring" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions"]
|
||||
margin_top = 135.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 170.0
|
||||
margin_bottom = 171.0
|
||||
|
||||
[node name="Label" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightMirroring"]
|
||||
margin_right = 208.0
|
||||
|
|
@ -906,22 +918,30 @@ text = "Mirroring"
|
|||
[node name="RightMirrorButtons" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightMirroring"]
|
||||
margin_top = 19.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 35.0
|
||||
margin_bottom = 36.0
|
||||
|
||||
[node name="RightHorizontalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons"]
|
||||
margin_right = 77.0
|
||||
margin_bottom = 16.0
|
||||
[node name="RightHorizontalMirroring" type="TextureButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_right = 15.0
|
||||
margin_bottom = 17.0
|
||||
hint_tooltip = "HORIZMIRROR_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Horizontal"
|
||||
toggle_mode = true
|
||||
texture_normal = ExtResource( 30 )
|
||||
texture_pressed = ExtResource( 40 )
|
||||
|
||||
[node name="RightVerticalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons"]
|
||||
margin_left = 81.0
|
||||
margin_right = 142.0
|
||||
margin_bottom = 16.0
|
||||
[node name="RightVerticalMirroring" type="TextureButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons" groups=[
|
||||
"UIButtons",
|
||||
]]
|
||||
margin_left = 19.0
|
||||
margin_right = 36.0
|
||||
margin_bottom = 17.0
|
||||
hint_tooltip = "VERTMIRROR_HT"
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Vertical"
|
||||
toggle_mode = true
|
||||
texture_normal = ExtResource( 42 )
|
||||
texture_pressed = ExtResource( 41 )
|
||||
|
||||
[node name="CanvasAndTimeline" type="VSplitContainer" parent="MenuAndUI/UI"]
|
||||
margin_left = 224.0
|
||||
|
|
@ -1158,7 +1178,7 @@ size_flags_horizontal = 3
|
|||
margin_left = 112.0
|
||||
margin_right = 112.0
|
||||
size_flags_horizontal = 3
|
||||
columns = 5
|
||||
columns = 7
|
||||
script = ExtResource( 25 )
|
||||
|
||||
[node name="BrushesPopup" type="Popup" parent="."]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue