gimp/app/base
Michael Natterer a75c675d03 added GimpToolRegisterFunc, GimpToolRegisterCallback and
2001-11-20  Michael Natterer  <mitch@gimp.org>

	* app/tools/tools-types.h: added GimpToolRegisterFunc,
	GimpToolRegisterCallback and GimpToolOptionsNewFunc typedefs
	which are used to register tools.

	* app/tools/tools.c: put the register funcs in an array of
	GimpToolRegisterFuncs. Pass a Gimp pointer *plus* a
	GimpToolRegisterCallback (which is tool_manager_register_tool())
	to the tools' register functions.

	* app/tools/tool_manager.[ch]: added a GimpToolOptionsNewFunc to
	the parameters of tool_manager_register_tool(). Create the tool
	options here, not in each tool.

	* app/tools/paint_options.[ch]
	* app/tools/selection_options.[ch]
	* app/tools/tool_options.[ch]
	* app/tools/transform_options.[ch]: all _init() and _new()
	functions take a GimpToolInfo pointer now. The _reset() func needs
	to be set manually now.

	* app/tools/[all_tools].[ch]: changed accordingly:

	- pass GimpToolOptionsNewFuncs to the register callback.
	- don't create the tool options in the tools' _init() function.
	- removed all static tool options variables.
	- get the options from the tool system in the cases i missed
	  in my last commit.
	- added minor hacks to get rid of the static options pointer
	  in some pathological cases :) (i.e. the ink tool).
2001-11-20 23:00:47 +00:00
..
.cvsignore New dir. Does nothing yet... 2001-05-14 01:00:07 +00:00
Makefile.am small fix. 2001-11-13 01:46:10 +00:00
base-config.c updated 2001-07-22 22:18:01 +00:00
base-config.h app/appenv.h removed "use_mmx" and the MMX detection. 2001-07-13 19:25:34 +00:00
base-types.h app/Makefile.am removed. 2001-05-25 18:10:38 +00:00
base.c Prevent from crash if swap_path == NULL. 2001-11-16 23:31:29 +00:00
base.h app/base/Makefile.am new files for base_init() and base_exit() which 2001-05-20 18:37:07 +00:00
boundary.c the active_tool may change in the middle of gdisplay_canvas_events(), so 2001-07-08 21:44:52 +00:00
boundary.h new directory app/base/ 2001-05-15 11:25:25 +00:00
brush-scale.c new directory app/base/ 2001-05-15 11:25:25 +00:00
brush-scale.h new directory app/base/ 2001-05-15 11:25:25 +00:00
color-balance.c added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
color-balance.h added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
curves.c added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
curves.h added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
detect-mmx.S app/Makefile.am removed. 2001-07-11 23:47:26 +00:00
detect-mmx.h app/appenv.h removed "use_mmx" and the MMX detection. 2001-07-13 19:25:34 +00:00
gimphistogram.c removed "num_processors". 2001-05-25 16:24:44 +00:00
gimphistogram.h app/gimphistogram.[ch] removed. 2001-05-22 23:05:35 +00:00
gimplut.c new directory app/base/ 2001-05-15 11:25:25 +00:00
gimplut.h new directory app/base/ 2001-05-15 11:25:25 +00:00
hue-saturation.c added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
hue-saturation.h added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
lut-funcs.c app/gimphistogram.[ch] removed. 2001-05-22 23:05:35 +00:00
lut-funcs.h app/gimphistogram.[ch] removed. 2001-05-22 23:05:35 +00:00
makefile.msc define HAVE_DIRENT_H, it's from build/win32/dirent 2001-10-28 18:45:45 +00:00
pixel-processor.c fixing a typo fixes ENABLE_MP. 2001-05-25 21:17:07 +00:00
pixel-processor.h new directory app/base/ 2001-05-15 11:25:25 +00:00
pixel-region.c added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
pixel-region.h added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
pixel-surround.c new directory app/base/ 2001-05-15 11:25:25 +00:00
pixel-surround.h app/Makefile.am lowlevel stuff taken out of the transform tool. 2001-03-31 14:10:22 +00:00
temp-buf.c allow passing NULL to temp_buf_resize() again. 2001-11-13 15:51:20 +00:00
temp-buf.h s/USE_GCC_INTEL_MMX/HAVE_ASM_MMX/ 2001-05-19 16:09:41 +00:00
threshold.c added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
threshold.h added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
tile-cache.c new directory app/base/ 2001-05-15 11:25:25 +00:00
tile-cache.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
tile-manager-crop.c app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
tile-manager-crop.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
tile-manager-private.h app/convert.c app/floating_sel.c app/gimage_mask.c app/gimpimage.c 2001-01-23 13:01:48 +00:00
tile-manager.c new directory app/base/ 2001-05-15 11:25:25 +00:00
tile-manager.h new directory app/base/ 2001-05-15 11:25:25 +00:00
tile-private.h new directory app/base/ 2001-05-15 11:25:25 +00:00
tile-swap.c new directory app/base/ 2001-05-15 11:25:25 +00:00
tile-swap.h new directory app/base/ 2001-05-15 11:25:25 +00:00
tile.c new directory app/base/ 2001-05-15 11:25:25 +00:00
tile.h brought the array used for optimization back in sync with the 2001-01-24 15:36:55 +00:00