pdb: add a new PDB group "item" and move lots of functions to it

The item groups has all the duplicated functionality from drawable
and vectors (name, visible, linked etc).

Hijack the unused GIMP_PDB_REGION and turn it into GIMP_PDB_ITEM;
change all protocol aware files accordingly and bump the protocol
version number. Change script-fu to handle the new type.
This commit is contained in:
Michael Natterer
2010-07-09 09:34:44 +02:00
parent d303d8c7c1
commit 2d6f808ff8
24 changed files with 2480 additions and 91 deletions

View File

@ -127,9 +127,10 @@ union _GimpParamData
gchar **d_stringarray;
GimpRGB *d_colorarray;
GimpRGB d_color;
GimpParamRegion d_region;
GimpParamRegion d_region; /* deprecated */
gint32 d_display;
gint32 d_image;
gint32 d_item;
gint32 d_layer;
gint32 d_layer_mask;
gint32 d_channel;