2023-02-23 12:15:40 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
|
|
<interface>
|
|
|
|
|
<menu id="/layers-popup">
|
|
|
|
|
<submenu>
|
2023-02-28 06:35:12 -08:00
|
|
|
<attribute name="label" translatable="yes" context="layers-action">Layers Menu</attribute>
|
|
|
|
|
<attribute name="icon">gimp-layers</attribute>
|
|
|
|
|
|
|
|
|
|
<item><attribute name="action">app.layers-edit-text</attribute></item>
|
2025-03-24 19:39:49 -07:00
|
|
|
<item><attribute name="action">app.layers-edit-vector</attribute></item>
|
2023-02-28 06:35:12 -08:00
|
|
|
<item><attribute name="action">app.layers-edit-attributes</attribute></item>
|
|
|
|
|
<submenu>
|
2023-07-16 07:22:58 -07:00
|
|
|
<attribute name="label" translatable="yes" context="layers-action">Blend Space</attribute>
|
2023-02-28 06:35:12 -08:00
|
|
|
<item><attribute name="action">app.layers-blend-space-auto</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-blend-space-rgb-linear</attribute></item>
|
2024-11-29 17:06:53 -08:00
|
|
|
<item><attribute name="action">app.layers-blend-space-rgb-non-linear</attribute></item>
|
2023-02-28 06:35:12 -08:00
|
|
|
<item><attribute name="action">app.layers-blend-space-rgb-perceptual</attribute></item>
|
|
|
|
|
</submenu>
|
|
|
|
|
<submenu>
|
2023-07-16 07:22:58 -07:00
|
|
|
<attribute name="label" translatable="yes" context="layers-action">Composite Space</attribute>
|
2023-02-28 06:35:12 -08:00
|
|
|
<item><attribute name="action">app.layers-composite-space-auto</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-composite-space-rgb-linear</attribute></item>
|
2024-11-29 17:06:53 -08:00
|
|
|
<item><attribute name="action">app.layers-composite-space-rgb-non-linear</attribute></item>
|
2023-02-28 06:35:12 -08:00
|
|
|
<item><attribute name="action">app.layers-composite-space-rgb-perceptual</attribute></item>
|
|
|
|
|
</submenu>
|
|
|
|
|
<submenu>
|
2023-07-16 07:22:58 -07:00
|
|
|
<attribute name="label" translatable="yes" context="layers-action">Composite Mode</attribute>
|
2023-02-28 06:35:12 -08:00
|
|
|
<item><attribute name="action">app.layers-composite-mode-auto</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-composite-mode-union</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-composite-mode-clip-to-backdrop</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-composite-mode-clip-to-layer</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-composite-mode-intersection</attribute></item>
|
|
|
|
|
</submenu>
|
|
|
|
|
<submenu>
|
2023-07-16 07:22:58 -07:00
|
|
|
<attribute name="label" translatable="yes">Color Tags</attribute>
|
2023-02-28 06:35:12 -08:00
|
|
|
<item><attribute name="action">app.layers-color-tag-none</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-color-tag-blue</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-color-tag-green</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-color-tag-yellow</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-color-tag-orange</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-color-tag-brown</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-color-tag-red</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-color-tag-violet</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-color-tag-gray</attribute></item>
|
|
|
|
|
</submenu>
|
|
|
|
|
<section>
|
|
|
|
|
<item><attribute name="action">app.layers-new</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-new-from-visible</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-new-group</attribute></item>
|
|
|
|
|
<!--
|
|
|
|
|
<item><attribute name="action">app.layers-raise</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-raise-to-top</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-lower</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-lower-to-bottom</attribute></item>
|
|
|
|
|
-->
|
|
|
|
|
<item><attribute name="action">app.layers-duplicate</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-anchor</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-merge-down</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-merge-group</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-delete</attribute></item>
|
|
|
|
|
</section>
|
2019-07-04 14:49:20 -07:00
|
|
|
<section>
|
2025-07-07 07:16:48 -07:00
|
|
|
<item><attribute name="action">app.layers-text-to-path</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-text-along-path</attribute></item>
|
app, menus: new actions layers-rasterize and layers-retrieve.
These 2 new actions are meant to be usable on all 3 types of non-raster
(and non-group) layers, i.e. link, text and vector layers, to
respectively rasterize and un-rasterize them.
This will also work with multiple selected layers, and is not specific
to one type of layers.
I also change how gimp_text_layer_discard() used to work, by marking the
text layer as modified instead of actually discarding all text
information. The main consequence of this was that a layer rasterized
this way was forever lost. Now it can actually be revived as a text
layer, not only through the new layers-retrieve action, but also by
trying to edit it with the Text tool, which will trigger the same dialog
as when a text layer had been rasterized by editing it with a paint
tool.
Whereas the label of "layers-rasterize" seem to be quite straightforward
(simply "Rasterize" per discussions in gimp-ux#252), I am really unsure
of the label for "layers-retrieve". Further UX discussions should help
on this front.
2025-10-09 10:45:10 -07:00
|
|
|
|
|
|
|
|
<item><attribute name="action">app.layers-rasterize</attribute></item>
|
2025-10-13 08:54:56 -07:00
|
|
|
<item><attribute name="action">app.layers-revert-rasterize</attribute></item>
|
2025-03-24 19:39:49 -07:00
|
|
|
</section>
|
2023-02-28 06:35:12 -08:00
|
|
|
<section>
|
|
|
|
|
<item><attribute name="action">app.layers-resize</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-resize-to-image</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-scale</attribute></item>
|
|
|
|
|
</section>
|
|
|
|
|
<section>
|
|
|
|
|
<item><attribute name="action">app.layers-mask-add</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-mask-apply</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-mask-delete</attribute></item>
|
|
|
|
|
</section>
|
|
|
|
|
<section>
|
|
|
|
|
<item><attribute name="action">app.layers-mask-show</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-mask-edit</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-mask-disable</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-mask-selection-replace</attribute></item>
|
|
|
|
|
</section>
|
|
|
|
|
<section>
|
|
|
|
|
<item><attribute name="action">app.layers-alpha-add</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-alpha-remove</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-alpha-selection-replace</attribute></item>
|
|
|
|
|
</section>
|
|
|
|
|
<section>
|
|
|
|
|
<item><attribute name="action">app.layers-merge-layers</attribute></item>
|
|
|
|
|
<item><attribute name="action">app.layers-flatten-image</attribute></item>
|
|
|
|
|
</section>
|
2023-02-23 12:15:40 -08:00
|
|
|
</submenu>
|
|
|
|
|
</menu>
|
|
|
|
|
</interface>
|