Changed the libgimp GFillType enums to match the core enums in value, the
Tue Jul 28 15:42:39 CDT 1998 Larry Ewing <lewing@gimp.org> * app/drawable_cmds.c (drawable_fill_invoker): * libgimp/gimpenums.h: Changed the libgimp GFillType enums to match the core enums in value, the names still differ. * plug-ins/script-fu/script-fu.c: changed the fill setvars to use the GFillType enums.
This commit is contained in:

committed by
Larry Ewing

parent
3635728000
commit
8540bdc54d
@ -107,10 +107,11 @@ drawable_fill_invoker (Argument *args)
|
||||
|
||||
switch (int_value)
|
||||
{
|
||||
case 0: fill_type = BACKGROUND_FILL; break;
|
||||
case 1: fill_type = WHITE_FILL; break;
|
||||
case 2: fill_type = TRANSPARENT_FILL; break;
|
||||
case 3: fill_type = NO_FILL; break;
|
||||
case 0: fill_type = FOREGROUND_FILL; break;
|
||||
case 1: fill_type = BACKGROUND_FILL; break;
|
||||
case 2: fill_type = WHITE_FILL; break;
|
||||
case 3: fill_type = TRANSPARENT_FILL; break;
|
||||
case 4: fill_type = NO_FILL; break;
|
||||
default: success = FALSE;
|
||||
}
|
||||
}
|
||||
@ -138,7 +139,7 @@ ProcRecord drawable_fill_proc =
|
||||
{
|
||||
"gimp_drawable_fill",
|
||||
"Fill the drawable with the specified fill mode.",
|
||||
"This procedure fills the drawable with the fill mode. If the fill mode is background, the current background color is used. If the fill type is white, then white is used. Transparent fill only affects layers with an alpha channel, in which case the alpha channel is set to transparent. If the drawable has no alpha channel, it is filled to white. No fill leaves the drawable's contents undefined. This procedure is unlike the bucket fill tool because it fills regardless of a selection",
|
||||
"This procedure fills the drawable with the fill mode. If the fill mode is foreground the current foreground color is used. If the fill mode is background, the current background color is used. If the fill type is white, then white is used. Transparent fill only affects layers with an alpha channel, in which case the alpha channel is set to transparent. If the drawable has no alpha channel, it is filled to white. No fill leaves the drawable's contents undefined. This procedure is unlike the bucket fill tool because it fills regardless of a selection",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996",
|
||||
|
Reference in New Issue
Block a user