gimp/app/tools
Tor Lillqvist 26b70edddf Add a new method, gboolean want_null_motion(), that tells if the brush
1999-08-30  Tor Lillqvist  <tml@iki.fi>

* app/gimpbrush.h (GimpBrushClass): Add a new method, gboolean
want_null_motion(), that tells if the brush wants to be painted
when we don't know the direction yet. This is needed (so far) by
brush pipes that select the brush based on direction.

* app/gimpbrush.c: Implement above method returning always TRUE.

* app/gimpbrushpipe.c: Here, implement it returning FALSE or TRUE
on whether the brush pipe has any angular (direction) dependent
dimension or not.

* app/paint_core.c (paint_core_button_press): Call the method
if current point == last point.
1999-08-30 21:24:13 +00:00
..
airbrush.c Add a flags field and corresponding type ToolFlags to PaintCore. The only 1999-08-26 21:33:58 +00:00
airbrush.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
bezier_select.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
bezier_select.h Changed:- 1999-04-13 21:50:28 +00:00
bezier_selectP.h app/bezier_select.c app/bezier_selectP.h app/paths_dialog.c 1999-05-26 20:36:33 +00:00
blend.c movements restricted to 45 degrees (Ctrl+Alt) feel more natural now 1999-08-14 12:34:08 +00:00
blend.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
blob.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
blob.h Let the user choose between elliptical, square, and diamond shaped brushes 1999-02-03 04:29:08 +00:00
brightness_contrast.c same cleanups as in my previous checkin. 1999-07-22 20:42:59 +00:00
brightness_contrast.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
bucket_fill.c export bucket_fill_region(). 1999-08-23 14:19:26 +00:00
bucket_fill.h export bucket_fill_region(). 1999-08-23 14:19:26 +00:00
by_color_select.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
by_color_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
clone.c app/bucket_fill.c app/clone.c app/convolve.c app/flip_tool.c app/measure.c 1999-08-22 05:56:27 +00:00
clone.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
color_balance.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
color_balance.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
color_picker.c ooops 1999-08-24 02:55:59 +00:00
color_picker.h set the "preserve" flag to FALSE. This way the tool doesn't have to detect 1999-07-24 15:37:03 +00:00
convolve.c app/bucket_fill.c app/clone.c app/convolve.c app/flip_tool.c app/measure.c 1999-08-22 05:56:27 +00:00
convolve.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
crop.c add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
crop.h Toggable tools! 1999-04-27 02:09:03 +00:00
curves.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
curves.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
dodgeburn.c add pixmaps/dropper.xpm to EXTRA_DIST 1999-08-13 22:33:49 +00:00
dodgeburn.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
edit_selection.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
edit_selection.h namespace cleanups. 1999-06-21 22:12:07 +00:00
ellipse_select.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
ellipse_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
eraser.c app/Makefile.am new file containing the dnd data definitions. 1999-08-19 19:53:30 +00:00
eraser.h app/airbrush.c app/paintbrush.c app/pencil.c app/pixmapbrush.c 1999-08-13 20:50:30 +00:00
flip_tool.c app/bucket_fill.c app/clone.c app/convolve.c app/flip_tool.c app/measure.c 1999-08-22 05:56:27 +00:00
flip_tool.h add pixmaps/dropper.xpm to EXTRA_DIST 1999-08-13 22:33:49 +00:00
free_select.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
free_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
fuzzy_select.c app/actionarea.c app/dodgeburn.c app/fuzzy_select.c app/gimpparasite.c 1999-07-27 00:14:14 +00:00
fuzzy_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpairbrushtool.c Add a flags field and corresponding type ToolFlags to PaintCore. The only 1999-08-26 21:33:58 +00:00
gimpairbrushtool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpblendtool.c movements restricted to 45 degrees (Ctrl+Alt) feel more natural now 1999-08-14 12:34:08 +00:00
gimpblendtool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpbrightnesscontrasttool.c same cleanups as in my previous checkin. 1999-07-22 20:42:59 +00:00
gimpbrightnesscontrasttool.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
gimpbucketfilltool.c export bucket_fill_region(). 1999-08-23 14:19:26 +00:00
gimpbucketfilltool.h export bucket_fill_region(). 1999-08-23 14:19:26 +00:00
gimpbycolorselecttool.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
gimpbycolorselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpclonetool.c app/bucket_fill.c app/clone.c app/convolve.c app/flip_tool.c app/measure.c 1999-08-22 05:56:27 +00:00
gimpclonetool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpcolorbalancetool.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
gimpcolorbalancetool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpconvolvetool.c app/bucket_fill.c app/clone.c app/convolve.c app/flip_tool.c app/measure.c 1999-08-22 05:56:27 +00:00
gimpconvolvetool.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
gimpcroptool.c add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
gimpcroptool.h Toggable tools! 1999-04-27 02:09:03 +00:00
gimpcurvestool.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
gimpcurvestool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpdodgeburntool.c add pixmaps/dropper.xpm to EXTRA_DIST 1999-08-13 22:33:49 +00:00
gimpdodgeburntool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpeditselectiontool.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
gimpeditselectiontool.h namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpellipseselecttool.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
gimpellipseselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimperasertool.c app/Makefile.am new file containing the dnd data definitions. 1999-08-19 19:53:30 +00:00
gimperasertool.h app/airbrush.c app/paintbrush.c app/pencil.c app/pixmapbrush.c 1999-08-13 20:50:30 +00:00
gimpfliptool.c app/bucket_fill.c app/clone.c app/convolve.c app/flip_tool.c app/measure.c 1999-08-22 05:56:27 +00:00
gimpfliptool.h add pixmaps/dropper.xpm to EXTRA_DIST 1999-08-13 22:33:49 +00:00
gimpfreeselecttool.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
gimpfreeselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpfuzzyselecttool.c app/actionarea.c app/dodgeburn.c app/fuzzy_select.c app/gimpparasite.c 1999-07-27 00:14:14 +00:00
gimpfuzzyselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimphistogramtool.c new ui for the "Layer Offset" dialog. 1999-07-22 16:21:10 +00:00
gimphistogramtool.h new ui for the "Layer Offset" dialog. 1999-07-22 16:21:10 +00:00
gimphuesaturationtool.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
gimphuesaturationtool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpinktool-blob.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
gimpinktool-blob.h Let the user choose between elliptical, square, and diamond shaped brushes 1999-02-03 04:29:08 +00:00
gimpinktool.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
gimpinktool.h Added new files for handling scan-converted convex polygons. (From gsumi) 1998-06-14 22:42:36 +00:00
gimpiscissorstool.c Actually use the enum types GimpImageType, GimpImageBaseType, 1999-08-18 23:41:39 +00:00
gimpiscissorstool.h added a G_PI_2 1999-08-16 03:43:48 +00:00
gimplevelstool.c added a header to the file format 1999-08-27 22:02:18 +00:00
gimplevelstool.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
gimpmagnifytool.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
gimpmagnifytool.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
gimpmeasuretool.c fixed display of distance in the info window 1999-08-23 17:58:01 +00:00
gimpmeasuretool.h Added new measure tool. 1999-08-15 15:59:06 +00:00
gimpmovetool.c add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
gimpmovetool.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
gimppaintoptions-gui.h app/Makefile.am new file containing the dnd data definitions. 1999-08-19 19:53:30 +00:00
gimppenciltool.c Add a flags field and corresponding type ToolFlags to PaintCore. The only 1999-08-26 21:33:58 +00:00
gimppenciltool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpperspectivetool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpperspectivetool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpposterizetool.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
gimpposterizetool.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
gimprectselecttool.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
gimprectselecttool.h namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpregionselecttool.c app/actionarea.c app/dodgeburn.c app/fuzzy_select.c app/gimpparasite.c 1999-07-27 00:14:14 +00:00
gimpregionselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimprotatetool.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
gimprotatetool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpscaletool.c new ui for the "Layer Offset" dialog. 1999-07-22 16:21:10 +00:00
gimpscaletool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpselectionoptions.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
gimpsheartool.c add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
gimpsheartool.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
gimpsmudgetool.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
gimpsmudgetool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpsourcetool.c app/bucket_fill.c app/clone.c app/convolve.c app/flip_tool.c app/measure.c 1999-08-22 05:56:27 +00:00
gimpsourcetool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimptexttool.c new ui for the "Layer Offset" dialog. 1999-07-22 16:21:10 +00:00
gimptexttool.h new file (from pdbgen) 1999-04-10 04:54:34 +00:00
gimpthresholdtool.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
gimpthresholdtool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
histogram_tool.c new ui for the "Layer Offset" dialog. 1999-07-22 16:21:10 +00:00
histogram_tool.h new ui for the "Layer Offset" dialog. 1999-07-22 16:21:10 +00:00
hue_saturation.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
hue_saturation.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
ink.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
ink.h Added new files for handling scan-converted convex polygons. (From gsumi) 1998-06-14 22:42:36 +00:00
iscissors.c Actually use the enum types GimpImageType, GimpImageBaseType, 1999-08-18 23:41:39 +00:00
iscissors.h added a G_PI_2 1999-08-16 03:43:48 +00:00
levels.c added a header to the file format 1999-08-27 22:02:18 +00:00
levels.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
magnify.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
magnify.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
measure.c fixed display of distance in the info window 1999-08-23 17:58:01 +00:00
measure.h Added new measure tool. 1999-08-15 15:59:06 +00:00
move.c add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
move.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
paint_core.c Add a new method, gboolean want_null_motion(), that tells if the brush 1999-08-30 21:24:13 +00:00
paint_core.h Add a flags field and corresponding type ToolFlags to PaintCore. The only 1999-08-26 21:33:58 +00:00
paint_options.h app/Makefile.am new file containing the dnd data definitions. 1999-08-19 19:53:30 +00:00
paintbrush.c Add a flags field and corresponding type ToolFlags to PaintCore. The only 1999-08-26 21:33:58 +00:00
paintbrush.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
pencil.c Add a flags field and corresponding type ToolFlags to PaintCore. The only 1999-08-26 21:33:58 +00:00
pencil.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
perspective_tool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
perspective_tool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
posterize.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
posterize.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
rect_select.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
rect_select.h namespace cleanups. 1999-06-21 22:12:07 +00:00
rect_selectP.h namespace cleanups. 1999-06-21 22:12:07 +00:00
rotate_tool.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
rotate_tool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
scale_tool.c new ui for the "Layer Offset" dialog. 1999-07-22 16:21:10 +00:00
scale_tool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
selection_options.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
shear_tool.c add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
shear_tool.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
smudge.c Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will 1999-08-04 23:22:29 +00:00
smudge.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
text_tool.c new ui for the "Layer Offset" dialog. 1999-07-22 16:21:10 +00:00
text_tool.h new file (from pdbgen) 1999-04-10 04:54:34 +00:00
threshold.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
threshold.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
tool_options.c Overhaul of pixmap brushes and pipes: No separate pixmap pipe 1999-08-26 00:54:30 +00:00
tool_options.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
tools.c Overhaul of pixmap brushes and pipes: No separate pixmap pipe 1999-08-26 00:54:30 +00:00
tools.h the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
transform_core.c removed cubic_interpolation variable. use the interpolation_type variable 1999-08-21 08:25:18 +00:00
transform_core.h the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
transform_tool.c Fixed a typo 1999-07-27 01:09:04 +00:00
transform_tool.h app/bezier_select.c app/bezier_selectP.h app/paths_dialog.c 1999-05-26 20:36:33 +00:00