Gimp/app/paint
Michael Natterer 7e52ed902a added signal "set-brush" which is G_SIGNAL_RUN_LAST so we can connect
2004-06-23  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpbrushcore.[ch]: added signal "set-brush" which is
	G_SIGNAL_RUN_LAST so we can connect before and after the default
	implementation. Moved the brush setting and outline invalidation
	stuff to its default implementation. Also remember the outline's
	width and height. Call gimp_brush_core_set_brush() from
	gimp_brush_core_invalidate_cache() so "set-brush" is emitted
	whenever a generated brush becomes dirty.

	* app/tools/gimppainttool.c (gimp_paint_tool_button_press): don't
	pause/resume but rather stop/start the draw_tool. Fixes straight
	line preview aretefacts.

	(gimp_paint_tool_oper_update): set the brush_core's brush before
	starting the draw_tool.

	(gimp_paint_tool_draw): never free the brush_core's cached brush
	outline because the brush_core does that by itself now.

	(gimp_paint_tool_set_brush)
	(gimp_paint_tool_set_brush_after): new callbacks which pause and
	resume the draw_tool. Fixes brush outline artefacts when modifying
	the current brush e.g. by using the mouse wheel.
2004-06-23 12:19:28 +00:00
..
.cvsignore Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimp-paint.c register ink between airbrush and clone so the stroke dialog's menu of 2004-05-27 21:19:26 +00:00
gimp-paint.h app/paint/Makefile.am removed... ...and added. 2003-09-18 13:51:10 +00:00
gimpairbrush.c renamed all "pressure-pressure" variables to "pressure-hardness". 2004-06-12 12:44:24 +00:00
gimpairbrush.h took the fade options out of GimpGradientOptions and added them to the new 2003-07-15 15:38:24 +00:00
gimpairbrushoptions.c Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpairbrushoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpbrushcore-kernels.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimpbrushcore.c added signal "set-brush" which is G_SIGNAL_RUN_LAST so we can connect 2004-06-23 12:19:28 +00:00
gimpbrushcore.h added signal "set-brush" which is G_SIGNAL_RUN_LAST so we can connect 2004-06-23 12:19:28 +00:00
gimpclone.c removed PRETRACE_PAINT and POSTTRACE_PAINT from the GimpPaintCoreState 2004-06-14 15:26:29 +00:00
gimpclone.h removed PRETRACE_PAINT and POSTTRACE_PAINT from the GimpPaintCoreState 2004-06-14 15:26:29 +00:00
gimpcloneoptions.c Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpcloneoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpconvolve.c app/paint/gimpconvolve.c app/paint-funcs/paint-funcs.[ch] reverted last 2004-05-31 10:36:06 +00:00
gimpconvolve.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimpconvolveoptions.c Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpconvolveoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpdodgeburn.c app/paint/gimpbrushcore.c app/paint/gimpdodgeburn.c 2004-05-28 09:34:13 +00:00
gimpdodgeburn.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimpdodgeburnoptions.c Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpdodgeburnoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimperaser.c removed enum GimpPaintCoreFlags and member GimpPaintCore::flags. Added 2004-05-27 20:48:49 +00:00
gimperaser.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimperaseroptions.c removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimperaseroptions.h removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimpink-blob.c app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimpink-blob.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimpink.c removed PRETRACE_PAINT and POSTTRACE_PAINT from the GimpPaintCoreState 2004-06-14 15:26:29 +00:00
gimpink.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimpinkoptions.c replaced some arbitrary values with larger but still arbitrary values 2004-06-14 17:41:53 +00:00
gimpinkoptions.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimppaintbrush.c removed enum GimpPaintCoreFlags and member GimpPaintCore::flags. Added 2004-05-27 20:48:49 +00:00
gimppaintbrush.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimppaintcore-stroke.c added new virtual function GimpPaintCore::post_paint() and call it after 2004-06-14 12:52:33 +00:00
gimppaintcore-stroke.h Fixed & cleaned up paint function registration to work without GUI. 2003-08-30 13:22:20 +00:00
gimppaintcore-undo.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimppaintcore-undo.h Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
gimppaintcore.c removed PRETRACE_PAINT and POSTTRACE_PAINT from the GimpPaintCoreState 2004-06-14 15:26:29 +00:00
gimppaintcore.h removed PRETRACE_PAINT and POSTTRACE_PAINT from the GimpPaintCoreState 2004-06-14 15:26:29 +00:00
gimppaintoptions.c renamed all "pressure-pressure" variables to "pressure-hardness". 2004-06-12 12:44:24 +00:00
gimppaintoptions.h renamed all "pressure-pressure" variables to "pressure-hardness". 2004-06-12 12:44:24 +00:00
gimppencil.c app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimppencil.h Argh... 2003-07-14 17:10:09 +00:00
gimppenciloptions.c app/paint/Makefile.am removed. 2003-07-14 15:43:21 +00:00
gimppenciloptions.h app/paint/Makefile.am removed. 2003-07-14 15:43:21 +00:00
gimpsmudge.c added "guint32 time" parameters to GimpPaintCore::paint() and 2004-05-26 16:13:53 +00:00
gimpsmudge.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimpsmudgeoptions.c Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpsmudgeoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpsourcecore.c removed PRETRACE_PAINT and POSTTRACE_PAINT from the GimpPaintCoreState 2004-06-14 15:26:29 +00:00
gimpsourcecore.h removed PRETRACE_PAINT and POSTTRACE_PAINT from the GimpPaintCoreState 2004-06-14 15:26:29 +00:00
gimpsourceoptions.c Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpsourceoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
Makefile.am app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
makefile.msc new file to keep common definitions for the msc build use common 2004-02-07 23:01:33 +00:00
paint-enums.c added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients 2003-07-22 14:24:11 +00:00
paint-enums.h Enabled skipping enum values for either the PDB or GType registration 2004-01-06 14:02:08 +00:00
paint-types.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00