
Add property "color-tag" of type enum GimpColorTag to GimpItem so all layers, channels and paths can be tagged with a color. For interoperability, use the color list from Krita which is a superset of Photoshop's colors. Features a "Color Tag" submenu in the layers, channels and paths menus, a row of color radio buttons in the properties dialogs, undo and PDB API. As a side effect, some common code is now factores out into items-actions.[ch] and items-commands.[ch] which adds visible, linked and lock actions for layers and channels.
32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE ui SYSTEM "gtkuimanager.dtd">
|
|
|
|
<ui>
|
|
<popup action="channels-popup">
|
|
<menuitem action="channels-edit-attributes" />
|
|
<menu action="channels-color-tag-menu" name="Color Tags">
|
|
<menuitem action="channels-color-tag-none" />
|
|
<menuitem action="channels-color-tag-blue" />
|
|
<menuitem action="channels-color-tag-green" />
|
|
<menuitem action="channels-color-tag-yellow" />
|
|
<menuitem action="channels-color-tag-orange" />
|
|
<menuitem action="channels-color-tag-brown" />
|
|
<menuitem action="channels-color-tag-red" />
|
|
<menuitem action="channels-color-tag-violet" />
|
|
<menuitem action="channels-color-tag-gray" />
|
|
</menu>
|
|
<separator />
|
|
<menuitem action="channels-new" />
|
|
<menuitem action="channels-raise" />
|
|
<menuitem action="channels-lower" />
|
|
<menuitem action="channels-duplicate" />
|
|
<menuitem action="channels-delete" />
|
|
<separator />
|
|
<menuitem action="channels-selection-replace" />
|
|
<menuitem action="channels-selection-add" />
|
|
<menuitem action="channels-selection-subtract" />
|
|
<menuitem action="channels-selection-intersect" />
|
|
<separator />
|
|
</popup>
|
|
</ui>
|