• Michael Natterer's avatar
    Cleaned up the remaining libgimp API issues: · a779e748
    Michael Natterer authored
    2004-03-12  Michael Natterer  <mitch@gimp.org>
    
    	Cleaned up the remaining libgimp API issues:
    
    	* libgimp/gimppixelfetcher.[ch] (enum GimpPixelFetcherEdgeMode):
    	added new enum value GIMP_PIXEL_FETCHER_EDGE_BACKGROUND so we
    	can actually use the bg_color feature of the GimpPixelFetcher.
    
    	(gimp_pixel_fetcher_new): added "gboolean shadow" parameter
    	because it must not change while the GimpPixelFetcher exists.
    
    	(gimp_pixel_fetcher_set_shadow): removed.
    
    	(gimp_pixel_fetcher_set_bg_color): added "GimpRGB *color"
    	parameter and don't call gimp_palette_get_foreground().
    
    	(gimp_pixel_fetcher_get_pixel): handle BACKGROUND mode. Cleaned up
    	the function.
    
    	(gimp_get_bg_guchar)
    	(gimp_get_fg_guchar): removed these functions...
    
    	* libgimp/gimpdrawable.[ch]: ...and added
    	gimp_drawable_get_color_uchar() instead.
    
    	* libgimp/gimp.def
    	* plug-ins/common/blinds.c
    	* plug-ins/common/checkerboard.c
    	* plug-ins/common/cubism.c
    	* plug-ins/common/curve_bend.c
    	* plug-ins/common/displace.c
    	* plug-ins/common/edge.c
    	* plug-ins/common/illusion.c
    	* plug-ins/common/mblur.c
    	* plug-ins/common/mosaic.c
    	* plug-ins/common/plasma.c
    	* plug-ins/common/polar.c
    	* plug-ins/common/ripple.c
    	* plug-ins/common/shift.c
    	* plug-ins/common/spread.c
    	* plug-ins/common/tileit.c
    	* plug-ins/common/whirlpinch.c
    	* plug-ins/gflare/gflare.c
    	* plug-ins/libgimpoldpreview/gimpoldpreview.c: changed accordingly.
    
    	(Didn't test the changed plug-ins because I wanted to get this
    	API change into CVS as soon as possible)
    a779e748
Name
Last commit
Last update
app Loading commit data...
cursors Loading commit data...
data Loading commit data...
devel-docs Loading commit data...
docs Loading commit data...
etc Loading commit data...
libgimp Loading commit data...
libgimpbase Loading commit data...
libgimpcolor Loading commit data...
libgimpconfig Loading commit data...
libgimpmath Loading commit data...
libgimpmodule Loading commit data...
libgimpthumb Loading commit data...
libgimpwidgets Loading commit data...
m4macros Loading commit data...
modules Loading commit data...
plug-ins Loading commit data...
po Loading commit data...
po-libgimp Loading commit data...
po-plug-ins Loading commit data...
po-script-fu Loading commit data...
regexrepl Loading commit data...
themes Loading commit data...
tips Loading commit data...
tools Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-0 Loading commit data...
ChangeLog.pre-1-2 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
PLUGIN_MAINTAINERS Loading commit data...
README Loading commit data...
README.i18n Loading commit data...
README.win32 Loading commit data...
TODO.xml Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.in Loading commit data...
config.h.win32 Loading commit data...
configure.in Loading commit data...
gimp-zip.in Loading commit data...
gimp.pc.in Loading commit data...
gimp.spec.in Loading commit data...
gimpdefs.msc Loading commit data...
gimpthumb.pc.in Loading commit data...
gimptool-2.0.in Loading commit data...
gimptool-win32.c.in Loading commit data...
gimpui.pc.in Loading commit data...
makefile.msc Loading commit data...