Skip to content
  • Michael Natterer's avatar
    renamed gimp_image_coords_in_active_drawable() to · e2862590
    Michael Natterer authored
    2006-06-03  Michael Natterer  <mitch@gimp.org>
    
    	* app/core/gimpimage.[ch]: renamed
    	gimp_image_coords_in_active_drawable() to
    	gimp_image_coords_in_active_pickable() and added boolean
    	"sample_merged" and "selected_only" parameters. Use floor()
    	instead of ROUND(), we want to round to the actual pixel, not to
    	the nearest pixel boundary.
    
    	* app/tools/gimpbucketfilltool.c
    	* app/tools/gimpclonetool.c
    	* app/tools/gimpcolortool.c
    	* app/tools/gimpfliptool.c
    	* app/tools/gimptransformtool.c: changed accordingly. Removed
    	quite some duplicated code which checked sample_merged and the
    	mask value at the cursor location.
    
    	* app/tools/gimpbycolorselecttool.c: use the hand tool cursor,
    	there's also a hand in the toolbox icon. Fixed cursor_update()
    	function to set the bad modifier when there is no pickable pixel
    	at the cursor loction.
    
    	* app/tools/gimpfuzzyselecttool.c: added cursor_update()
    	implementation which does the same as by_color_select's one.
    
    	* app/tools/gimpselectiontool.c
    	(gimp_selection_tool_cursor_update): don't override the bad
    	modifier which was set by a subclass' cursor_update().
    e2862590