mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-12-18 13:04:42 -05:00
Added basic gradient generation
A new option in the "Image" menu, gradient generation.
This commit is contained in:
parent
826b4da177
commit
29e9579eb6
7 changed files with 172 additions and 4 deletions
|
|
@ -92,7 +92,8 @@ func setup_image_menu() -> void:
|
|||
"Invert Colors" : 0,
|
||||
"Desaturation" : 0,
|
||||
"Outline" : 0,
|
||||
"Adjust Hue/Saturation/Value" : 0
|
||||
"Adjust Hue/Saturation/Value" : 0,
|
||||
"Gradient" : 0
|
||||
}
|
||||
var image_menu : PopupMenu = Global.image_menu.get_popup()
|
||||
|
||||
|
|
@ -321,6 +322,9 @@ func image_menu_id_pressed(id : int) -> void:
|
|||
|
||||
9: # HSV
|
||||
show_hsv_configuration_popup()
|
||||
10: # Gradient
|
||||
Global.control.get_node("Dialogs/GradientDialog").popup_centered()
|
||||
Global.dialog_open(true)
|
||||
|
||||
|
||||
func show_scale_image_popup() -> void:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue