mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Rearrange image menu (#878)
* Update Image menu Enum * Rearrange Image menu
This commit is contained in:
parent
9e8f0a95f9
commit
3513ea73e1
|
@ -24,20 +24,20 @@ enum ViewMenu {
|
|||
}
|
||||
enum WindowMenu { WINDOW_OPACITY, PANELS, LAYOUTS, MOVABLE_PANELS, ZEN_MODE, FULLSCREEN_MODE }
|
||||
enum ImageMenu {
|
||||
SCALE_IMAGE,
|
||||
CENTRALIZE_IMAGE,
|
||||
CROP_IMAGE,
|
||||
RESIZE_CANVAS,
|
||||
SCALE_IMAGE,
|
||||
CROP_IMAGE,
|
||||
FLIP,
|
||||
CENTRALIZE_IMAGE,
|
||||
ROTATE,
|
||||
INVERT_COLORS,
|
||||
DESATURATION,
|
||||
OUTLINE,
|
||||
DROP_SHADOW,
|
||||
INVERT_COLORS,
|
||||
DESATURATION,
|
||||
HSV,
|
||||
POSTERIZE,
|
||||
GRADIENT,
|
||||
GRADIENT_MAP,
|
||||
POSTERIZE,
|
||||
SHADER
|
||||
}
|
||||
enum SelectMenu { SELECT_ALL, CLEAR_SELECTION, INVERT, TILE_MODE }
|
||||
|
|
|
@ -272,20 +272,20 @@ func populate_layouts_submenu() -> void:
|
|||
func _setup_image_menu() -> void:
|
||||
# Order as in Global.ImageMenu enum
|
||||
var image_menu_items := [
|
||||
"Scale Image",
|
||||
"Centralize Image",
|
||||
"Crop Image",
|
||||
"Resize Canvas",
|
||||
"Scale Image",
|
||||
"Crop Image",
|
||||
"Mirror Image",
|
||||
"Centralize Image",
|
||||
"Rotate Image",
|
||||
"Invert Colors",
|
||||
"Desaturation",
|
||||
"Outline",
|
||||
"Drop Shadow",
|
||||
"Invert Colors",
|
||||
"Desaturation",
|
||||
"Adjust Hue/Saturation/Value",
|
||||
"Posterize",
|
||||
"Gradient",
|
||||
"Gradient Map",
|
||||
"Posterize",
|
||||
# "Shader"
|
||||
]
|
||||
var image_menu: PopupMenu = image_menu_button.get_popup()
|
||||
|
|
Loading…
Reference in a new issue