mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 16:34:43 -04:00
Refactored CreateNewImage dialog and added portrait & landscape buttons from #402
The lock aspect ratio button has been changed from a checkbox to a texture button and the template code has been refactored to use a Template class instead of enums. Only dark icons have been added for now.
This commit is contained in:
parent
6cb525ad92
commit
93bbfabb99
15 changed files with 411 additions and 133 deletions
BIN
assets/graphics/dark_themes/misc/landscape.png
Normal file
BIN
assets/graphics/dark_themes/misc/landscape.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 627 B |
34
assets/graphics/dark_themes/misc/landscape.png.import
Normal file
34
assets/graphics/dark_themes/misc/landscape.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/landscape.png-f0f137958836bc63f663287e750f2e0f.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/graphics/dark_themes/misc/landscape.png"
|
||||
dest_files=[ "res://.import/landscape.png-f0f137958836bc63f663287e750f2e0f.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
assets/graphics/dark_themes/misc/lock_aspect.png
Normal file
BIN
assets/graphics/dark_themes/misc/lock_aspect.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 617 B |
34
assets/graphics/dark_themes/misc/lock_aspect.png.import
Normal file
34
assets/graphics/dark_themes/misc/lock_aspect.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/lock_aspect.png-2920615523ea4c8984ebafa931aba21c.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/graphics/dark_themes/misc/lock_aspect.png"
|
||||
dest_files=[ "res://.import/lock_aspect.png-2920615523ea4c8984ebafa931aba21c.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
assets/graphics/dark_themes/misc/lock_aspect_2.png
Normal file
BIN
assets/graphics/dark_themes/misc/lock_aspect_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 617 B |
34
assets/graphics/dark_themes/misc/lock_aspect_2.png.import
Normal file
34
assets/graphics/dark_themes/misc/lock_aspect_2.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/lock_aspect_2.png-309fbe1c00b71f9c9e1f08c5968c1e4b.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/graphics/dark_themes/misc/lock_aspect_2.png"
|
||||
dest_files=[ "res://.import/lock_aspect_2.png-309fbe1c00b71f9c9e1f08c5968c1e4b.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
assets/graphics/dark_themes/misc/lock_aspect_guides.png
Normal file
BIN
assets/graphics/dark_themes/misc/lock_aspect_guides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 624 B |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/lock_aspect_guides.png-98601575a2af1a4fd42ca9c1899b1bc7.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/graphics/dark_themes/misc/lock_aspect_guides.png"
|
||||
dest_files=[ "res://.import/lock_aspect_guides.png-98601575a2af1a4fd42ca9c1899b1bc7.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
assets/graphics/dark_themes/misc/portrait.png
Normal file
BIN
assets/graphics/dark_themes/misc/portrait.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 639 B |
34
assets/graphics/dark_themes/misc/portrait.png.import
Normal file
34
assets/graphics/dark_themes/misc/portrait.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/portrait.png-b586ce54479600a501e2a9b10ad742c1.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/graphics/dark_themes/misc/portrait.png"
|
||||
dest_files=[ "res://.import/portrait.png-b586ce54479600a501e2a9b10ad742c1.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Loading…
Add table
Add a link
Reference in a new issue