mirror of https://github.com/GNOME/gimp.git
change to foregroung in edit_fill
This commit is contained in:
parent
1cb829da14
commit
95f9325a9e
|
@ -1,3 +1,7 @@
|
||||||
|
Fri Feb 4 18:27:16 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||||
|
|
||||||
|
* app/global_edit.c: edit_fill with foreground, not background.
|
||||||
|
|
||||||
Fri Feb 4 13:56:10 CET 2000 Sven Neumann <sven@gimp.org>
|
Fri Feb 4 13:56:10 CET 2000 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* Makefile.am
|
* Makefile.am
|
||||||
|
|
|
@ -431,7 +431,7 @@ edit_fill (GImage *gimage,
|
||||||
if (!gimage || drawable == NULL)
|
if (!gimage || drawable == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
gimage_get_background (gimage, drawable, col);
|
gimage_get_foreground (gimage, drawable, col);
|
||||||
if (drawable_has_alpha (drawable))
|
if (drawable_has_alpha (drawable))
|
||||||
col [drawable_bytes (drawable) - 1] = OPAQUE_OPACITY;
|
col [drawable_bytes (drawable) - 1] = OPAQUE_OPACITY;
|
||||||
|
|
||||||
|
|
|
@ -431,7 +431,7 @@ edit_fill (GImage *gimage,
|
||||||
if (!gimage || drawable == NULL)
|
if (!gimage || drawable == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
gimage_get_background (gimage, drawable, col);
|
gimage_get_foreground (gimage, drawable, col);
|
||||||
if (drawable_has_alpha (drawable))
|
if (drawable_has_alpha (drawable))
|
||||||
col [drawable_bytes (drawable) - 1] = OPAQUE_OPACITY;
|
col [drawable_bytes (drawable) - 1] = OPAQUE_OPACITY;
|
||||||
|
|
||||||
|
|
|
@ -431,7 +431,7 @@ edit_fill (GImage *gimage,
|
||||||
if (!gimage || drawable == NULL)
|
if (!gimage || drawable == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
gimage_get_background (gimage, drawable, col);
|
gimage_get_foreground (gimage, drawable, col);
|
||||||
if (drawable_has_alpha (drawable))
|
if (drawable_has_alpha (drawable))
|
||||||
col [drawable_bytes (drawable) - 1] = OPAQUE_OPACITY;
|
col [drawable_bytes (drawable) - 1] = OPAQUE_OPACITY;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue