Gimp/app/tools
Michael Natterer d0a551bbf8 Cursor patch II: This is only the logic inside the cursor system and not
2000-06-09  Michael Natterer  <mitch@gimp.org>

	Cursor patch II:
	This is only the logic inside the cursor system and not yet used.

	* app/cursorutil.[ch]: [gimp]_change_win_cursor() take lots of
	parameters now and compose cursors from up to three cursor
	bitmaps/masks.

	* app/gdisplay.[ch]: As a test, create a hardcoded example cursor
	if "Cursor Mode" is set to "Tool Icon with Crosshair" in prefs.

	* app/curves.c
	* app/dialog_handler.c
	* app/scroll.c: changed the calls to the win_cursor function.

	* app/tools.[ch]: added a cursor and a toggle cursor to the ToolInfo
	structure of all tools.

	* app/toolsF.h: new ToolType TOOL_TYPE_NONE.

	* app/gimpdnd.c
	* app/interface.c: check for silly filenames in the file dnd
	callback. Closes #13733.

	* Makefile.am
	* cursors/bucket_fill_small.xbm
	* cursors/bucket_fill_small_mask.xbm
	* cursors/crop_small.xbm
	* cursors/crop_small_mask.xbm
	* cursors/crosshair_small.xbm
	* cursors/crosshair_small_mask.xbm
	* cursors/ellipse_select_small.xbm
	* cursors/ellipse_select_small_mask.xbm
	* cursors/eraser_small.xbm
	* cursors/eraser_small_mask.xbm
	* cursors/free_select_small.xbm
	* cursors/free_select_small_mask.xbm
	* cursors/fuzzy_select_small.xbm
	* cursors/fuzzy_select_small_mask.xbm
	* cursors/intersect.xbm
	* cursors/intersect_mask.xbm
	* cursors/minus.xbm
	* cursors/minus_mask.xbm
	* cursors/move.xbm
	* cursors/move_mask.xbm
	* cursors/paintbrush_small.xbm
	* cursors/paintbrush_small_mask.xbm
	* cursors/pencil_small.xbm
	* cursors/pencil_small_mask.xbm
	* cursors/plus.xbm
	* cursors/plus_mask.xbm
	* cursors/rect_select_small.xbm
	* cursors/rect_select_small_mask.xbm
	* cursors/resize_small.xbm
	* cursors/resize_small_mask.xbm
	* cursors/zoom.xbm
	* cursors/zoom_mask.xbm
	* cursors/zoom_small.xbm
	* cursors/zoom_small_mask.xbm: new files extracted from Tigert's
	gimp-tool-cursors.xcf created at GimpCon.

	Tigert, I'll commit the xcf as soon as I've added empty layers
	with the names of the cursors that are missing.

	* cursors/mouse.xbm
	* cursors/mouse_mask.xbm: made it 32x32 to allow for cursor
	composition.
2000-06-09 12:31:19 +00:00
..
airbrush.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
airbrush.h
airbrush_blob.c win32 purification, rgb<->hsv remove 2000-02-07 15:49:54 +00:00
airbrush_blob.h Update of the Xinput airbrush, fixed some bugs. It's a bit closer to a 1999-11-14 20:49:14 +00:00
bezier_select.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
bezier_select.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
bezier_selectP.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
blend.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
blend.h
blob.c some small fixes and the new GAP VCR Navigator 2000-01-10 23:27:25 +00:00
blob.h
brightness_contrast.c new function image_map_clear that removes the preview without freeing the 2000-05-09 05:43:29 +00:00
brightness_contrast.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
bucket_fill.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
bucket_fill.h
by_color_select.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
by_color_select.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
clone.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
clone.h
color_balance.c new function image_map_clear that removes the preview without freeing the 2000-05-09 05:43:29 +00:00
color_balance.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
color_picker.c app/color_panel.[ch] app/color_picker.c removed the public function 2000-04-03 15:40:30 +00:00
color_picker.h
convolve.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
convolve.h
crop.c s/"Only"/"only"/ 2000-03-04 00:24:39 +00:00
crop.h
curves.c Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
curves.h laod and save for the curves tool 2000-01-20 12:22:54 +00:00
dodgeburn.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
dodgeburn.h
edit_selection.c app/cursorutil.c (gtkutil_compress_motion) Guard against gdk_event_get 2000-03-08 18:32:31 +00:00
edit_selection.h
ellipse_select.c app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
ellipse_select.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
eraser.c as suggested by Daniel Egger, set TOOL_CAN_HANDLE_CHANGING_BRUSH for the 2000-06-07 23:13:39 +00:00
eraser.h
flip_tool.c really cleaning up this time 2000-03-21 17:47:32 +00:00
flip_tool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
free_select.c fill empty "default" with a "break" (#9431). g_path_is_absolute wants a 2000-04-26 00:17:54 +00:00
free_select.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
fuzzy_select.c app/fuzzy_select.c app/selection_options.h moved the "Threshold" scale 2000-04-20 15:57:13 +00:00
fuzzy_select.h new global variable "gimp_busy" which gets set/unset whenever busy cursors 2000-03-25 18:17:01 +00:00
gimpairbrushtool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpairbrushtool.h
gimpblendtool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpblendtool.h
gimpbrightnesscontrasttool.c new function image_map_clear that removes the preview without freeing the 2000-05-09 05:43:29 +00:00
gimpbrightnesscontrasttool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpbucketfilltool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpbucketfilltool.h
gimpbycolorselecttool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpbycolorselecttool.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimpclonetool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpclonetool.h
gimpcolorbalancetool.c new function image_map_clear that removes the preview without freeing the 2000-05-09 05:43:29 +00:00
gimpcolorbalancetool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpconvolvetool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpconvolvetool.h
gimpcroptool.c s/"Only"/"only"/ 2000-03-04 00:24:39 +00:00
gimpcroptool.h
gimpcurvestool.c Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
gimpcurvestool.h laod and save for the curves tool 2000-01-20 12:22:54 +00:00
gimpdodgeburntool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpdodgeburntool.h
gimpeditselectiontool.c app/cursorutil.c (gtkutil_compress_motion) Guard against gdk_event_get 2000-03-08 18:32:31 +00:00
gimpeditselectiontool.h
gimpellipseselecttool.c app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimpellipseselecttool.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimperasertool.c as suggested by Daniel Egger, set TOOL_CAN_HANDLE_CHANGING_BRUSH for the 2000-06-07 23:13:39 +00:00
gimperasertool.h
gimpfliptool.c really cleaning up this time 2000-03-21 17:47:32 +00:00
gimpfliptool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
gimpfreeselecttool.c fill empty "default" with a "break" (#9431). g_path_is_absolute wants a 2000-04-26 00:17:54 +00:00
gimpfreeselecttool.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimpfuzzyselecttool.c app/fuzzy_select.c app/selection_options.h moved the "Threshold" scale 2000-04-20 15:57:13 +00:00
gimpfuzzyselecttool.h new global variable "gimp_busy" which gets set/unset whenever busy cursors 2000-03-25 18:17:01 +00:00
gimphistogramtool.c new function gimp_dialog_hide() that calls gdk_window_withdraw() after 2000-03-28 23:02:05 +00:00
gimphistogramtool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimphuesaturationtool.c gimprc.in gimprc.win32 set default image size back to 256x256, default to 2000-05-07 10:06:27 +00:00
gimphuesaturationtool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpinktool-blob.c some small fixes and the new GAP VCR Navigator 2000-01-10 23:27:25 +00:00
gimpinktool-blob.h
gimpinktool.c Be smarter about emitting the "invalidate_preview" signal. 2000-06-03 18:19:22 +00:00
gimpinktool.h
gimpiscissorstool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpiscissorstool.h
gimplevelstool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimplevelstool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpmagnifytool.c Makefile.am a proper naming scheme for all cursor files. Added zoom_in and 2000-03-01 19:32:41 +00:00
gimpmagnifytool.h Makefile.am a proper naming scheme for all cursor files. Added zoom_in and 2000-03-01 19:32:41 +00:00
gimpmeasuretool.c one more fix... 2000-04-13 00:38:04 +00:00
gimpmeasuretool.h
gimpmovetool.c app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimpmovetool.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimppaintoptions-gui.h app/paint_options.h put the pointer to tool's private context to the 2000-02-18 21:22:13 +00:00
gimppenciltool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimppenciltool.h
gimpperspectivetool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
gimpperspectivetool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
gimpposterizetool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpposterizetool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimprectselecttool.c app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimprectselecttool.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimpregionselecttool.c app/fuzzy_select.c app/selection_options.h moved the "Threshold" scale 2000-04-20 15:57:13 +00:00
gimpregionselecttool.h new global variable "gimp_busy" which gets set/unset whenever busy cursors 2000-03-25 18:17:01 +00:00
gimprotatetool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
gimprotatetool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
gimpscaletool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
gimpscaletool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
gimpselectionoptions.h app/fuzzy_select.c app/selection_options.h moved the "Threshold" scale 2000-04-20 15:57:13 +00:00
gimpsheartool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
gimpsheartool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
gimpsmudgetool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpsmudgetool.h
gimpsourcetool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpsourcetool.h
gimptexttool.c if we cannot load the font we'd like to use, use the gtk+ default font. 2000-04-05 22:59:44 +00:00
gimptexttool.h if we cannot load the font we'd like to use, use the gtk+ default font. 2000-04-05 22:59:44 +00:00
gimpthresholdtool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpthresholdtool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
histogram_tool.c new function gimp_dialog_hide() that calls gdk_window_withdraw() after 2000-03-28 23:02:05 +00:00
histogram_tool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
hue_saturation.c gimprc.in gimprc.win32 set default image size back to 256x256, default to 2000-05-07 10:06:27 +00:00
hue_saturation.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
ink.c Be smarter about emitting the "invalidate_preview" signal. 2000-06-03 18:19:22 +00:00
ink.h
iscissors.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
iscissors.h
levels.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
levels.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
magnify.c Makefile.am a proper naming scheme for all cursor files. Added zoom_in and 2000-03-01 19:32:41 +00:00
magnify.h Makefile.am a proper naming scheme for all cursor files. Added zoom_in and 2000-03-01 19:32:41 +00:00
measure.c one more fix... 2000-04-13 00:38:04 +00:00
measure.h
move.c app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
move.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
paint_core.c indentation, no real changes 2000-06-05 22:08:45 +00:00
paint_core.h indentation, no real changes 2000-06-05 22:08:45 +00:00
paint_core_kernels.h app/Makefile.am app/paint_core.c moved brush subsampling kernels into its 2000-05-29 08:40:29 +00:00
paint_options.h app/paint_options.h put the pointer to tool's private context to the 2000-02-18 21:22:13 +00:00
paintbrush.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
paintbrush.h
path_tool.c win32 purification, rgb<->hsv remove 2000-02-07 15:49:54 +00:00
path_tool.h app/path_tool.h app/path_tool.c app/path_toolP.h app/path_curves.h 1999-10-06 23:24:22 +00:00
path_toolP.h a patch to the path tool from Simon Budig 1999-10-08 10:22:39 +00:00
pencil.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
pencil.h
perspective_tool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
perspective_tool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
posterize.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
posterize.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
rect_select.c app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
rect_select.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
rect_selectP.h added a modifier_key_func which gives immediate cursor_update feedback on 2000-03-01 23:22:43 +00:00
rotate_tool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
rotate_tool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
scale_tool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
scale_tool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
selection_options.h app/fuzzy_select.c app/selection_options.h moved the "Threshold" scale 2000-04-20 15:57:13 +00:00
shear_tool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
shear_tool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
smudge.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
smudge.h
text_tool.c if we cannot load the font we'd like to use, use the gtk+ default font. 2000-04-05 22:59:44 +00:00
text_tool.h if we cannot load the font we'd like to use, use the gtk+ default font. 2000-04-05 22:59:44 +00:00
threshold.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
threshold.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
tool_options.c app/fuzzy_select.c app/selection_options.h moved the "Threshold" scale 2000-04-20 15:57:13 +00:00
tool_options.h
tools.c Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
tools.h Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
transform_core.c when transforming a selection in an indexed image, we used to create an 2000-05-20 10:49:03 +00:00
transform_core.h app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
transform_tool.c it's more intelligent to implement the parent_context stuff with 2000-02-22 17:06:44 +00:00
transform_tool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
xinput_airbrush.c Be smarter about emitting the "invalidate_preview" signal. 2000-06-03 18:19:22 +00:00
xinput_airbrush.h Okay I have committed the ugly airbrush now 1999-09-07 01:33:44 +00:00