New "Layer > Convert" submenu

This will be a place to put new options to convert images to tilemaps
and viceversa.
This commit is contained in:
David Capello 2021-02-22 16:47:18 -03:00
parent 7e732b3223
commit b6987a0262
2 changed files with 11 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- Aseprite --> <!-- Aseprite -->
<!-- Copyright (C) 2018-2020 Igara Studio S.A. --> <!-- Copyright (C) 2018-2021 Igara Studio S.A. -->
<!-- Copyright (C) 2001-2018 David Capello --> <!-- Copyright (C) 2001-2018 David Capello -->
<gui> <gui>
<!-- Keyboard shortcuts --> <!-- Keyboard shortcuts -->
@ -840,8 +840,10 @@
</item> </item>
</menu> </menu>
<item command="RemoveLayer" text="@.layer_delete_layer" group="layer_remove" /> <item command="RemoveLayer" text="@.layer_delete_layer" group="layer_remove" />
<item command="BackgroundFromLayer" text="@.layer_background_from_layer" /> <menu text="@.layer_convert">
<item command="LayerFromBackground" text="@.layer_layer_from_background" group="layer_background" /> <item command="BackgroundFromLayer" text="@.layer_background_from_layer" />
<item command="LayerFromBackground" text="@.layer_layer_from_background" group="layer_background" />
</menu>
<separator /> <separator />
<item command="DuplicateLayer" text="@.layer_duplicate" group="layer_duplicate" /> <item command="DuplicateLayer" text="@.layer_duplicate" group="layer_duplicate" />
<item command="MergeDownLayer" text="@.layer_merge_down" /> <item command="MergeDownLayer" text="@.layer_merge_down" />
@ -1016,8 +1018,10 @@
<param name="group" value="true" /> <param name="group" value="true" />
</item> </item>
<item command="RemoveLayer" text="@main_menu.layer_delete_layer" /> <item command="RemoveLayer" text="@main_menu.layer_delete_layer" />
<item command="BackgroundFromLayer" text="@main_menu.layer_background_from_layer" /> <menu text="@main_menu.layer_convert">
<item command="LayerFromBackground" text="@main_menu.layer_layer_from_background" group="layer_popup_background" /> <item command="BackgroundFromLayer" text="@main_menu.layer_background_from_layer" />
<item command="LayerFromBackground" text="@main_menu.layer_layer_from_background" group="layer_popup_background" />
</menu>
<separator /> <separator />
<item command="DuplicateLayer" text="@main_menu.layer_duplicate" /> <item command="DuplicateLayer" text="@main_menu.layer_duplicate" />
<item command="MergeDownLayer" text="@main_menu.layer_merge_down" /> <item command="MergeDownLayer" text="@main_menu.layer_merge_down" />

View File

@ -1,5 +1,5 @@
# Aseprite # Aseprite
# Copyright (C) 2018-2020 Igara Studio S.A. # Copyright (C) 2018-2021 Igara Studio S.A.
# Copyright (C) 2016-2018 David Capello # Copyright (C) 2016-2018 David Capello
[advanced_mode] [advanced_mode]
@ -925,6 +925,7 @@ layer_new_layer_via_cut = New Layer via Cu&t
layer_new_reference_layer_from_file = New &Reference Layer from File layer_new_reference_layer_from_file = New &Reference Layer from File
layer_new_tilemap_layer = New Tilemap Layer layer_new_tilemap_layer = New Tilemap Layer
layer_delete_layer = Delete Laye&r layer_delete_layer = Delete Laye&r
layer_convert = Conv&ert
layer_background_from_layer = &Background from Layer layer_background_from_layer = &Background from Layer
layer_layer_from_background = &Layer from Background layer_layer_from_background = &Layer from Background
layer_duplicate = &Duplicate layer_duplicate = &Duplicate