gimp/app/display
Michael Natterer 82c2616f0f Applied modified patch from Alexia Death which adds velocity support to
2008-05-10  Michael Natterer  <mitch@gimp.org>

	Applied modified patch from Alexia Death which adds velocity
	support to paint tools in the spirit of the pressure support we
	already have. Fixes bug .

	* app/display/gimpdisplayshell-coords.c
	(gimp_display_shell_eval_event): tweak velocity calculation to
	work in screen coordinates.

	* app/paint/gimppaintoptions.[ch]: add velocity options in the
	same way as there are pressure options. Add utility functions
	which return dynamic opatity and dynamic rate according to the the
	option's settings and some GimpCoords' pressure and velocity.

	* app/tools/gimppaintoptions-gui.c: add GUI for the velocity
	options.

	* app/paint/gimpbrushcore.h: remove PRESSURE_SCALE define, it's
	now in gimppaintoptions.h.

	* app/paint/gimpbrushcore.c (gimp_brush_core_interpolate):
	inerpolate velocity too.

	(gimp_brush_core_calc_brush_scale): take velocity into account.

	(gimp_brush_core_get_brush_mask): always pressurize the mask in
	the GIMP_BRUSH_PRESSURE because there always is velocity (unlike
	pressure which is only there on tablets).

	* app/paint/gimpairbrush.c
	* app/paint/gimpclone.c
	* app/paint/gimpconvolve.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimperaser.c
	* app/paint/gimpheal.c
	* app/paint/gimppaintbrush.c
	* app/paint/gimpsmudge.c: get opacity and rate from the new paint
	options utility functions which take both pressure and velocity
	into account.

	* app/paint/gimppaintbrush.c: take velocity into account when
	calculating the gradient color offset.

	* app/paint/gimpairbrush.c: do some additional fiddling with
	velocity in the asynchronous airbrush timeout.

	* app/paint/gimpairbrushoptions.c: override the velocity-size
	property and have it default to FALSE.


svn path=/trunk/; revision=25604
2008-05-10 10:03:21 +00:00
..
Makefile.am app/display/Makefile.am split icon code to its own file. 2008-03-25 16:13:17 +00:00
display-enums.c app/config/gimpdisplayconfig.[ch] app/config/gimprc-blurbs.h 2007-10-08 13:30:49 +00:00
display-enums.h app/config/gimpdisplayconfig.[ch] app/config/gimprc-blurbs.h 2007-10-08 13:30:49 +00:00
display-types.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcanvas.c app/display/gimpcanvas.c app/widgets/gimpcoloreditor.c 2008-03-29 23:43:39 +00:00
gimpcanvas.h improve wilber scaling and remove the drop zone layout. 2008-03-26 13:49:27 +00:00
gimpdisplay-foreach.c added new function gimp_display_close() which decides if 2008-04-05 20:32:24 +00:00
gimpdisplay-foreach.h added new function gimp_display_close() which decides if 2008-04-05 20:32:24 +00:00
gimpdisplay-handlers.c use gimp_statusbar_push_temp() directly instead of going through 2008-04-07 12:50:57 +00:00
gimpdisplay-handlers.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplay.c added new function gimp_display_close() which decides if 2008-04-05 20:32:24 +00:00
gimpdisplay.h added new function gimp_display_close() which decides if 2008-04-05 20:32:24 +00:00
gimpdisplayoptions.c app/display/gimpdisplayshell.[ch] moved 2008-03-19 09:57:22 +00:00
gimpdisplayoptions.h add new options object for the "no image" display appearance. 2008-03-18 22:21:47 +00:00
gimpdisplayshell-appearance.c don't call gtk_widget_set_name() on a NULL menubar. 2008-04-11 16:58:14 +00:00
gimpdisplayshell-appearance.h add new options object for the "no image" display appearance. 2008-03-18 22:21:47 +00:00
gimpdisplayshell-autoscroll.c First draft of the "no image open" window, which is implemented as a 2008-03-18 21:22:21 +00:00
gimpdisplayshell-autoscroll.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplayshell-callbacks.c don't call gtk_widget_grab_focus() here. 2008-05-08 15:26:21 +00:00
gimpdisplayshell-callbacks.h remove the window state callback here... 2008-03-25 13:42:40 +00:00
gimpdisplayshell-close.c added new function gimp_display_close() which decides if 2008-04-05 20:32:24 +00:00
gimpdisplayshell-close.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplayshell-coords.c Applied modified patch from Alexia Death which adds velocity support to 2008-05-10 10:03:21 +00:00
gimpdisplayshell-coords.h app/display/gimpdisplayshell-callbacks.c 2008-04-07 13:54:43 +00:00
gimpdisplayshell-cursor.c added new function gimp_display_shell_unset_cursor(). 2008-03-30 16:09:55 +00:00
gimpdisplayshell-cursor.h added new function gimp_display_shell_unset_cursor(). 2008-03-30 16:09:55 +00:00
gimpdisplayshell-dnd.c don't flush if there's no image. (gimp_display_shell_dnd_flush): use 2008-03-27 12:22:23 +00:00
gimpdisplayshell-dnd.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplayshell-draw.c First draft of the "no image open" window, which is implemented as a 2008-03-18 21:22:21 +00:00
gimpdisplayshell-draw.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplayshell-filter-dialog.c First draft of the "no image open" window, which is implemented as a 2008-03-18 21:22:21 +00:00
gimpdisplayshell-filter-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplayshell-filter.c added GimpColorConfig and GimpColorManaged as construct-only properties. 2007-08-06 22:10:09 +00:00
gimpdisplayshell-filter.h added GimpColorConfig and GimpColorManaged as construct-only properties. 2007-08-06 22:10:09 +00:00
gimpdisplayshell-handlers.c app/display/gimpdisplayshell-icon.[ch] moved more icon code to its new 2008-03-26 09:35:14 +00:00
gimpdisplayshell-handlers.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplayshell-icon.c app/display/gimpdisplayshell-icon.[ch] moved more icon code to its new 2008-03-26 09:35:14 +00:00
gimpdisplayshell-icon.h app/display/gimpdisplayshell-icon.[ch] moved more icon code to its new 2008-03-26 09:35:14 +00:00
gimpdisplayshell-layer-select.c added a sanity check. 2008-04-14 06:50:55 +00:00
gimpdisplayshell-layer-select.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplayshell-preview.c First draft of the "no image open" window, which is implemented as a 2008-03-18 21:22:21 +00:00
gimpdisplayshell-preview.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplayshell-progress.c added gimp_statusbar_peek(), a method to access the contents of the 2008-03-25 14:07:10 +00:00
gimpdisplayshell-progress.h added gimp_statusbar_peek(), a method to access the contents of the 2008-03-25 14:07:10 +00:00
gimpdisplayshell-render.c First draft of the "no image open" window, which is implemented as a 2008-03-18 21:22:21 +00:00
gimpdisplayshell-render.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplayshell-scale.c always need to fully expose the canvas now that "redisplay" was removed. 2008-03-23 15:37:01 +00:00
gimpdisplayshell-scale.h Never shrink the empty display when filling it, only grow: 2008-03-23 15:16:44 +00:00
gimpdisplayshell-scroll.c First draft of the "no image open" window, which is implemented as a 2008-03-18 21:22:21 +00:00
gimpdisplayshell-scroll.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplayshell-selection.c add gimp_display_empty()/fill() which turns it into an empty display and 2008-03-19 16:15:50 +00:00
gimpdisplayshell-selection.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplayshell-title.c added stock-id parameters to all statusbar setters. 2008-04-14 06:28:43 +00:00
gimpdisplayshell-title.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdisplayshell-transform.c app/display/gimpdisplayshell-transform.[ch] 2008-02-26 17:30:33 +00:00
gimpdisplayshell-transform.h app/display/gimpdisplayshell-transform.[ch] 2008-02-26 17:30:33 +00:00
gimpdisplayshell.c added signal "entry-activated". 2008-04-29 09:08:53 +00:00
gimpdisplayshell.h app/widgets/Makefile.am app/widgets/widgets-types.h added GimpWindow class 2008-04-28 16:30:55 +00:00
gimpnavigationeditor.c First draft of the "no image open" window, which is implemented as a 2008-03-18 21:22:21 +00:00
gimpnavigationeditor.h Bill Skaggs <weskaggs@primate.ucdavis.edu> 2007-12-16 02:06:15 +00:00
gimpscalecombobox.c removed the entry's inner border to save some precious space in the 2008-05-08 12:47:21 +00:00
gimpscalecombobox.h added signal "entry-activated". 2008-04-29 09:08:53 +00:00
gimpstatusbar.c added signal "entry-activated". 2008-04-29 09:08:53 +00:00
gimpstatusbar.h rewritten the code that draws the icon in the statusbar label. The new 2008-04-14 10:10:02 +00:00
makefile.msc **/makefile.msc app/gimpcore.def : updated so it compiles and links 2008-01-04 18:42:07 +00:00