gimp/app/paint
Michael Natterer a3bb0b0dad Started to get rid of the gdisplays_foo() functions in
2002-05-08  Michael Natterer  <mitch@gimp.org>

	Started to get rid of the gdisplays_foo() functions in
	app/display/gimpdisplay-foreach.[ch]. Work in progress...

	* app/core/gimp.[ch]: added the display list to the Gimp object
	(as a GimpList of GimpObjects). This way we get more independent
	from whether there is GUI or not, as gimp->displays will simply
	be an empty list for the --no-interface case.

	* app/display/gimpdisplay.[ch]: Removed the global "display_list"
	and "display_num" variables. Use gimp->displays instead.

	* app/display/gimpdisplay-foreach.[ch]: renamed most functions
	from gdisplays_foo() to gimp_displays_foo() and pass them a Gimp
	pointer.

	* app/core/gimpimage.[ch]: added a "flush" signal.

	* app/display/gimpdisplay-handlers.c: connect to "flush" and call
	gimp_display_flush() in the callback.

	* tools/pdbgen/pdb/display.pdb: use gimp_displays_flush(gimp)
	here and only here.

	* app/pdb/display_cmds.c: regenerated.

	* app/app_procs.c
	* app/gui/gui.c
	* app/gui/preferences-dialog.c:
	s/gdislays_foo()/gimp_displays_foo(gimp)/

	* app/image_map.c
	* app/undo_history.c
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-dnd.c
	* app/display/gimpdisplayshell-layer-select.c
	* app/display/gimpdisplayshell-scale.c
	* app/gui/channels-commands.c
	* app/gui/colormap-editor-commands.c
	* app/gui/convert-dialog.c
	* app/gui/drawable-commands.c
	* app/gui/edit-commands.c
	* app/gui/file-commands.c
	* app/gui/image-commands.c
	* app/gui/layers-commands.c
	* app/gui/offset-dialog.c
	* app/gui/qmask-commands.c
	* app/gui/select-commands.c
	* app/gui/vectors-commands.c
	* app/paint/gimpairbrush.c
	* app/tools/gimpbezierselecttool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimppainttool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimprectselecttool.c
	* app/tools/gimptexttool.c
	* app/tools/gimpthresholdtool.c
	* app/tools/gimptransformtool.c
	* app/tools/gimpvectortool.c
	* app/widgets/gimpbufferview.c
	* app/widgets/gimpchannellistview.c
	* app/widgets/gimpcomponentlistitem.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpdrawablelistitem.c
	* app/widgets/gimpdrawablelistview.c
	* app/widgets/gimpimageview.c
	* app/widgets/gimpitemlistitem.c
	* app/widgets/gimpitemlistview.c
	* app/widgets/gimplayerlistitem.c
	* app/widgets/gimplayerlistview.c
	* app/widgets/gimpvectorslistview.c: replaced gdisplays_flush()
	with calls to gimp_image_flush(gimage). Removed inclusion of
	"display/gimpdisplay-foreach.h" from most files.
2002-05-08 17:48:24 +00:00
..
.cvsignore Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
Makefile.am app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am 2002-03-19 19:17:31 +00:00
gimpairbrush.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
gimpairbrush.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimpclone.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimpclone.h app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am 2002-03-19 19:17:31 +00:00
gimpconvolve.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimpconvolve.h app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am 2002-03-19 19:17:31 +00:00
gimpdodgeburn.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimpdodgeburn.h app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am 2002-03-19 19:17:31 +00:00
gimperaser.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimperaser.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimpink-blob.c added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
gimpink-blob.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpink.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
gimpink.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimppaintbrush.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimppaintbrush.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimppaintcore-kernels.h Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimppaintcore-stroke.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimppaintcore-stroke.h added gimp_paint_core_stroke_vectors() which strokes the whole vector 2002-02-26 03:19:47 +00:00
gimppaintcore.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimppaintcore.h app/Makefile.am removed... 2002-05-05 19:17:41 +00:00
gimppaintoptions.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimppaintoptions.h app/paint/gimppaintoptions.h put the "Fade Out" and "Gradient" stuff into 2002-03-18 19:34:06 +00:00
gimppencil.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimppencil.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimpsmudge.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimpsmudge.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimpsourcecore.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimpsourcecore.h app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am 2002-03-19 19:17:31 +00:00
makefile.msc #define GETTEXT_PACKAGE 2002-03-28 00:10:56 +00:00
paint-enums.c app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am 2002-03-19 19:17:31 +00:00
paint-enums.h app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am 2002-03-19 19:17:31 +00:00
paint-types.h app/paint/Makefile.am app/paint/paint-enums.h split enums into their own 2002-03-19 15:05:38 +00:00
paint.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
paint.h Added some kind of paint core registry. It's ugly and will change... 2002-02-26 02:00:02 +00:00