1. 21 Dec, 2007 1 commit
  2. 10 Sep, 2007 1 commit
    • Sven Neumann's avatar
      app/core/gimp-transform-region.[ch] app/core/gimpchannel.c · 77b7161a
      Sven Neumann authored
      2007-09-10  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-transform-region.[ch]
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-item-list.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.c
      	* app/paint/gimpperspectiveclone.c
      	* app/vectors/gimpvectors.c: removed supersample parameter from
      	transform functions and perform it depending on the interpolation
      	type (bug #473265).
      
      	* app/tools/gimptransformoptions.[ch]
      	* app/tools/gimptransformtool.c: removed Supersample toggle from
      	the transform tool options.
      
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: document that the
      	supersample parameter is unused and improved documentation of the
      	recursion-level parameter.
      
      	* app/pdb/transform_tools_cmds.c
      	* app/pdb/drawable_transform_cmds.c
      	* libgimp/gimpdrawabletransform_pdb.c: regenerated.
      
      svn path=/trunk/; revision=23494
      77b7161a
  3. 19 Jul, 2007 1 commit
  4. 30 Mar, 2007 1 commit
  5. 13 Mar, 2007 2 commits
    • Michael Natterer's avatar
      added new ugly function gimp_dialog_factory_hide_dialog() which does · e8edf3f4
      Michael Natterer authored
      2007-03-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: added new ugly function
      	gimp_dialog_factory_hide_dialog() which does gtk_widget_hide() and
      	sets the stored visibility state to GIMP_DIALOG_VISIBILITY_INVISIBLE
      	in order to avoid re-showing dialogs that were already insivible due
      	to TAB-toggling when we gtk_widget_hided them.
      
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpimagemaptool.c: use the new function instead of
      	gtk_widget_hide() to hide tool dialogs. Fixes bug #414006.
      
      
      svn path=/trunk/; revision=22111
      e8edf3f4
    • Sven Neumann's avatar
      added a g_return_if_fail() check to catch bug #414006. · 54f709ec
      Sven Neumann authored
      2007-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptransformtool.c (gimp_transform_tool_response):
      	added a g_return_if_fail() check to catch bug #414006.
      
      
      svn path=/trunk/; revision=22108
      54f709ec
  6. 09 Mar, 2007 2 commits
    • Michael Natterer's avatar
      include "libgimpmath/gimpmathtypes.h" instead of "libgimpmath/gimpmath.h". · 83d3a750
      Michael Natterer authored
      2007-03-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-types.h: include "libgimpmath/gimpmathtypes.h"
      	instead of "libgimpmath/gimpmath.h".
      
      	* app/core/gimpbrush.h
      	* app/paint/gimppaintcore.h
      	* app/paint/gimpperspectiveclone.h
      	* app/text/gimptext.h
      	* app/tools/gimptransformtool.h: include gimpvector.h and
      	gimpmatrix.h explicitely where they are needed in public structs.
      
      	* app/*/*.c
      	* tools/pdbgen/pdb/paths.pdb: include "libgimpmath/gimpmath.h"
      	where needed.
      
      	* app/pdb/paths_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=22084
      83d3a750
    • Michael Natterer's avatar
      remove useless includes. Some minor cleanup. · 974a7400
      Michael Natterer authored
      2007-03-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/*.c: remove useless includes. Some minor cleanup.
      
      
      svn path=/trunk/; revision=22083
      974a7400
  7. 08 Mar, 2007 1 commit
    • Sven Neumann's avatar
      app/tools/gimpperspectivetool.c app/tools/gimpscaletool.c · f663cb8b
      Sven Neumann authored
      2007-03-08  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.[ch]: removed shell_desc member 
      from
      	GimpTransformToolClass and just use the tool blurb instead.
      
      
      svn path=/trunk/; revision=22067
      f663cb8b
  8. 27 Feb, 2007 1 commit
    • Michael Natterer's avatar
      Step one towards enabling tool cancellation by other means than mouse · d7ed6394
      Michael Natterer authored
      2007-02-27  Michael Natterer  <mitch@gimp.org>
      
      	Step one towards enabling tool cancellation by other means than
      	mouse button 3 and towards proper "clicked" semantics.
      
      	* app/tools/tools-enums.[ch]: added enum GimpButtonReleaseType
      	which can be one of { NORMAL, CANCEL, CLICK } (click is curently
      	unused).
      
      	* app/tools/gimptool.[ch] (GimpTool::button_release): added
      	"release_type" parameter.
      
      	(gimp_tool_button_release): if the state contains
      	GDK_BUTTON3_MASK, call the tool's button_release() with CANCEL,
      	use NORMAL otherwise.
      
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimprectangletool.[ch]
      	* app/tools/gimpregionselecttool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c (button_release): added
      	"release_type" parameters and get rid of own checks for
      	GDK_BUTTON3_MASK.
      
      
      svn path=/trunk/; revision=22015
      d7ed6394
  9. 26 Feb, 2007 2 commits
  10. 03 Feb, 2007 2 commits
    • Michael Natterer's avatar
      Remove support for the old undo pop and free cruft: · bdc91d6c
      Michael Natterer authored
      2007-02-03  Michael Natterer  <mitch@gimp.org>
      
      	Remove support for the old undo pop and free cruft:
      
      	* app/core/core-types.h: remove typedefs GimpUndoPopFunc and
      	GimpUndoFreeFunc.
      
      	* app/core/gimpundo.[ch]: remove members and properties size,
      	data, pop_func and free_func.
      
      	* app/core/gimpimage-undo.[ch] (gimp_image_undo_push): remove
      	parameters size, struct_size, pop_func and free_func.
      
      	* app/core/gimpimage-undo-push.c
      	* app/tools/gimptransformtool.c
      	* app/paint/gimpink.c
      	* app/paint/gimppaintcore.c: change calls to above function
      	accordingly.
      
      
      svn path=/trunk/; revision=21845
      bdc91d6c
    • Michael Natterer's avatar
      app/tools/gimpforegroundselecttool-undo.[ch] removed... · 426020da
      Michael Natterer authored
      2007-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpforegroundselecttool-undo.[ch]
      	* app/tools/gimptransformtool-undo.[ch]: removed...
      
      	* app/tools/Makefile.am
      	* app/tools/tools-types.h
      	* app/tools/gimpforegroundselecttoolundo.[ch]
      	* app/tools/gimptransformtoolundo.[ch]: ...and added a proper undo
      	classes.
      
      	* app/tools/gimptransformtool.c: push undos using the new class.
      
      
      svn path=/trunk/; revision=21843
      426020da
  11. 29 Dec, 2006 1 commit
    • Sven Neumann's avatar
      store the original aspect ratio. Let the Ctrl key toggle the aspect ratio · 4cbb8d7f
      Sven Neumann authored
      2006-12-29  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptransformtool.[ch]: store the original aspect
      ratio.
      	Let the Ctrl key toggle the aspect ratio constraint also while
      the
      	mouse is being pressed.
      
      	* app/tools/gimpscaletool.c (gimp_scale_tool_motion): use the
      	original aspect ratio when applying the constraint.
      4cbb8d7f
  12. 24 Dec, 2006 1 commit
    • Mukund Sivaraman's avatar
      app/core/Makefile.am app/core/gimp-transform-resize.c · f0cff0ff
      Mukund Sivaraman authored
      2006-12-24  Mukund Sivaraman  <muks@mukund.org>
      
              * app/core/Makefile.am
              * app/core/gimp-transform-resize.c
              * app/core/gimpchannel.c
              * app/core/gimpdrawable-transform.c
              * app/core/gimpdrawable-transform.h
              * app/core/gimpdrawable.c
              * app/core/gimpimage-item-list.c
              * app/core/gimpimage-item-list.h
              * app/core/gimpitem-linked.c
              * app/core/gimpitem-linked.h
              * app/core/gimpitem.c
              * app/core/gimpitem.h
              * app/core/gimplayer.c
              * app/pdb/drawable_transform_cmds.c
              * app/text/gimptextlayer-transform.c
              * app/text/gimptextlayer-transform.h
              * app/tools/gimptransformoptions.c
              * app/tools/gimptransformtool.c
              * app/vectors/gimpvectors.c
              * libgimp/gimpdrawabletransform_pdb.c
              * libgimp/gimpdrawabletransform_pdb.h
              * libgimp/gimpenums.c.tail
              * libgimpbase/gimpbase.def
              * libgimpbase/gimpbaseenums.c
              * libgimpbase/gimpbaseenums.h
              * tools/pdbgen/enums.pl
              * tools/pdbgen/pdb/drawable_transform.pdb: implemented UI and PDB
              for new clipping modes for affine transforms (crop to largest
              rectangle, and crop to largest rectangle with the source's aspect
              ratio); fixed various bugs in the largest rectangle computation
              code; set padding to 6 in the transformation tool options.
      f0cff0ff
  13. 09 Dec, 2006 1 commit
  14. 07 Nov, 2006 1 commit
    • Sven Neumann's avatar
      improved highlighting. (gimp_draw_tool_draw_arc_by_anchor): take width and · b41bc680
      Sven Neumann authored
      2006-11-07  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpdrawtool.[ch] (gimp_draw_tool_draw_corner):
      	improved highlighting.
      	(gimp_draw_tool_draw_arc_by_anchor): take width and height
      	arguments instead of radius_x and radius_y.
      
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpvectortool.c: slightly increased handle sizes.
      
      	* app/tools/gimpmeasuretool.c: increased size of the end points.
      
      	* app/tools/gimpperspectiveclonetool.c: increased handle size.
      
      	* app/tools/gimprectangletool.c: renamed variables.
      
      	* app/tools/gimpsourcetool.c: use a single define for the target
      size.
      
      	* app/tools/gimptransformtool.[ch]: increased handle size. Made
      	the area that can be grabbed identical to the displayed handle.
      	Replaced filled circle with a circle outline and a cross.
      
      	* app/tools/gimptransformtool-undo.c: follow renaming of define
      in
      	gimptransformtool.h.
      b41bc680
  15. 19 Oct, 2006 3 commits
  16. 28 Sep, 2006 2 commits
    • Michael Natterer's avatar
      added _valist() variants of all printf-style functions. · 10f9181e
      Michael Natterer authored
      2006-09-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpstatusbar.[ch]: added _valist() variants
      	of all printf-style functions.
      
      	* app/tools/gimptool.[ch] (gimp_tool_push_status)
      	(gimp_tool_replace_status)
      	(gimp_tool_message): take printf-style ... arguments and use the
      	new valist() variants of the statusbar API to avoid additional
      	strdups. Revert previous commit from Sven, he will add back that
      	feature differently right away :)
      
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c: use the new printf-style status API
      	where possible.
      
      	* app/tools/gimptransformtool.c: accidentially removed
      	"core/gimp.h", added it back.
      10f9181e
    • Michael Natterer's avatar
      added gimp_tool_message() which uses the new statusbar messages. · e19c0977
      Michael Natterer authored
      2006-09-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]: added gimp_tool_message() which uses
      	the new statusbar messages.
      
      	* app/tools/gimptool.c
      	* app/tools/gimppainttool.c: use it instead of accessing the
      	statusbar directly.
      
      	* app/tools/gimptransformtool.c: use it instead of gimp_message().
      e19c0977
  17. 26 Sep, 2006 1 commit
    • Michael Natterer's avatar
      added GError** parameter to GimpPaintCore::start(). · 1b1299af
      Michael Natterer authored
      2006-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore.[ch]: added GError** parameter to
      	GimpPaintCore::start().
      
      	* app/tools/gimppainttool.c (button_press): display the error in
      	the statusbar.
      
      	* app/paint/gimppaintcore-stroke.c: pass a NULL error, effectively
      	swallowing mssages. Will fix that later.
      
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpsourcecore.c: changed accordingly. Set the error
      	instead of calling g_message().
      
      	* app/paint/gimpheal.c
      	* app/paint/gimpperspectiveclone.c: implement start() and bail out
      	early on indexed drawables instead of showing a g_message() in
      	other functions that are called later.
      
      	* app/tools/gimptool.[ch]: added GError** to GimpTool::initialize().
      
      	* app/tools/gimptool.c (gimp_tool_initialize): display the error
      	in the statusbar. Keep the external API GError-free.
      
      	* app/tools/gimprectangletool.[ch]: added GError** to
      	gimp_rectangle_tool_initialize().
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpperspectiveclonetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c: changed accordingly. Set the
      	errors in initialize() instead of using gimp_message().
      
      	* app/tools/gimpblendtool.c: implement initialize() and bail out
      	early on indexed images instead of showing a gimp_message() in
      	button_press().
      1b1299af
  18. 05 Sep, 2006 1 commit
    • Michael Natterer's avatar
      added gimp_tool_get_options() so tools don't need to incude · 6c7f0c68
      Michael Natterer authored
      2006-09-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]: added gimp_tool_get_options() so tools
      	don't need to incude "core/gimptoolinfo.h" just to get to
      	their options.
      
      	* app/tools/gimp*tool.h: added macros GIMP_FOO_TOOL_GET_OPTIONS()
      	which return specific tool options types and do all casting
      	themselves.
      
      	* app/tools/*.c: use the new macros and don't include
      	"core/gimptoolinfo.h" in most files.
      
      	* app/tools/gimpcolorpickertool.c (gimp_color_picker_tool_register):
      	make it use the parent context's FG and BG.
      
      	* app/tools/gimpcolortool.c (gimp_color_tool_real_picked): set the
      	color on the tool's options, not on the user context.
      6c7f0c68
  19. 01 Sep, 2006 1 commit
    • Michael Natterer's avatar
      added GimpContext parameters and create the GimpView with that context. · a6dbb78d
      Michael Natterer authored
      2006-09-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewabledialog.[ch]: added GimpContext
      	parameters and create the GimpView with that context.
      
      	* app/widgets/gimpcolordialog.[ch]
      	* app/dialogs/convert-dialog.[ch]
      	* app/dialogs/desaturate-dialog.[ch]
      	* app/dialogs/grid-dialog.[ch]
      	* app/dialogs/image-properties-dialog.[ch]
      	* app/dialogs/layer-add-mask-dialog.[ch]
      	* app/dialogs/offset-dialog.[ch]
      	* app/dialogs/print-size-dialog.[ch]
      	* app/dialogs/resize-dialog.[ch]
      	* app/dialogs/scale-dialog.[ch]
      	* app/dialogs/stroke-dialog.[ch]
      	* app/dialogs/template-options-dialog.[ch]
      	* app/dialogs/vectors-options-dialog.[ch]: added GimpContext
      	parameters here too and pass them to gimp_viewable_dialog_new().
      
      	* app/actions/colormap-editor-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palette-editor-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/actions/view-commands.c
      	* app/dialogs/channel-options-dialog.c
      	* app/dialogs/dialogs-constructors.c
      	* app/dialogs/image-merge-layers-dialog.c
      	* app/dialogs/image-scale-dialog.c
      	* app/dialogs/layer-options-dialog.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcontrollereditor.c
      	* app/widgets/gimpcontrollerlist.c
      	* app/widgets/gimptoolbox-color-area.c: pass contexts to above
      	dialog constructors.
      a6dbb78d
  20. 31 Aug, 2006 1 commit
    • Sven Neumann's avatar
      moved declarations at the beginning of the functions. · 7ccdcd62
      Sven Neumann authored
      2006-08-31  Sven Neumann  <sven@gimp.org>
      
      	* app/composite/gimp-composite-mmx.c: moved declarations at the
      	beginning of the functions.
      
      	* app/tools/gimptransformtool.c (gimp_transform_tool_doit):
      	display a message if no paths are available. Could catch this
      	earlier, but this is the least intrusive change to fix bug #353495.
      7ccdcd62
  21. 23 Aug, 2006 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 15620f36
      William Skaggs authored
      	* app/tools/tools-enums.h
      	* app/tools/gimptransformtool.[ch]: add support for handles at
      	midpoints of edges.
      
      	* app/tools/gimpscaletool.c: use midpoint handles for scaling
      	with fixed width or height.  Fixes bug #344955.
      15620f36
  22. 27 Jun, 2006 2 commits
    • Sven Neumann's avatar
      Applied patch from Zbigniew Chyla (bug 345982): · 92821802
      Sven Neumann authored
      2006-06-27  Sven Neumann  <sven@gimp.org>
      
      	Applied patch from Zbigniew Chyla (bug 345982):
      
      	* app/tools/gimptransformtool.[ch]: added undo_desc field for
      	storing undo string and use that, not tool_info->blurb.
      
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: set undo_desc.
      92821802
    • Sven Neumann's avatar
      do not call bounds() and recalc() with a NULL display. Added sanity checks · 9c445e8d
      Sven Neumann authored
      2006-06-27  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptransformtool.c
      (gimp_transform_tool_notify_type):
      	do not call bounds() and recalc() with a NULL display.  Added
      	sanity checks for the display parameter to both functions.
      	Fixes bug #345791.
      9c445e8d
  23. 22 Jun, 2006 1 commit
    • Michael Natterer's avatar
      always upchain. · de603f4f
      Michael Natterer authored
      2006-06-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptransformtool.c: (gimp_transform_tool_control):
      	always upchain.
      
      	(gimp_transform_tool_cursor_update): use the small crosshair
      	instead of GIMP_CURSOR_MOUSE as default cursor to avoid hotspot
      	jumping.
      
      	(gimp_transform_tool_doit): call prepare() after bounds().
      de603f4f
  24. 20 Jun, 2006 1 commit
    • Sven Neumann's avatar
      added TRANSFORM_HANDLE_NONE (will get rid of TRANSFORM_CREATING later). · 7caa9093
      Sven Neumann authored
      2006-06-20  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/tools-enums.h: added TRANSFORM_HANDLE_NONE (will
      	get rid of TRANSFORM_CREATING later).
      
      	* app/tools/gimptransformtool.[ch]: added member "use_handles" and
      	default to FALSE for all "use_foo" variables.  Only deal with the
      	handles the specific transform tool asks for.  Set cursors
      	according to the active handle.
      
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: changed accordingly.
      7caa9093
  25. 19 Jun, 2006 1 commit
    • Sven Neumann's avatar
      cleanup. · 5f7e1ac3
      Sven Neumann authored
      2006-06-19  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpscaletool.c (gimp_scale_tool_motion): cleanup.
      
      	* app/tools/gimptransformtool.c
      (gimp_transform_tool_cursor_update):
      	simplified; removed checks that didn't change the cursor anyway.
      5f7e1ac3
  26. 18 Jun, 2006 1 commit
    • Sven Neumann's avatar
      renamed TransformAction enum values to something more descriptive. · df731062
      Sven Neumann authored
      
      2006-06-18  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/tools-enums.h: renamed TransformAction enum values
      to
      	something more descriptive.
      
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      df731062
  27. 03 Jun, 2006 1 commit
    • 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
  28. 01 Jun, 2006 1 commit
    • Michael Natterer's avatar
      cursors/Makefile.am cursors/modifier-bad.png · 3f7b1182
      Michael Natterer authored
      2006-06-01  Michael Natterer  <mitch@gimp.org>
      
      	* cursors/Makefile.am
      	* cursors/modifier-bad.png
      	* cursors/xbm/modifier-bad-mask.xbm
      	* cursors/xbm/modifier-bad.xbm: new "bad" cursor
      	modifier. Replaces the "bad" cursor.
      
      	* cursors/gimp-tool-cursors.xcf: added it here too.
      
      	* app/widgets/widgets-enums.h: added GIMP_CURSOR_MODIFIER_BAD.
      
      	* app/widgets/gimpcursor.c: add the bad modifier. Leave the bad
      	cursor there for now.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c: use the modifier instead of the
      	cursor. Fixes hotspot jumping when switching between normal and
      	bad cursors. The changed cursor_update() functions even make more
      	sense IMHO. Fixes bug #158407.
      3f7b1182
  29. 23 May, 2006 1 commit
    • Michael Natterer's avatar
      don't call the virtual function if there is no dialog. · 5b4660a3
      Michael Natterer authored
      2006-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptransformtool.c (gimp_transform_tool_dialog_update):
      	don't call the virtual function if there is no dialog.
      
      	(gimp_transform_tool_recalc): show the dialog here after updating it.
      
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c (dialog_update): don't show it here.
      5b4660a3
  30. 21 May, 2006 1 commit
    • Michael Natterer's avatar
      prefix with GIMP_TOOL_ACTION_ · b3c20ed2
      Michael Natterer authored
      2006-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tools-enums.h (enum GimpToolAction): prefix with
      	GIMP_TOOL_ACTION_
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpnewrectselecttool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/tools/tool_manager.c: changed accordingly. Introduce a
      	common style for GimpTool::control()'s switch() block. Some
      	minor cleanups.
      b3c20ed2
  31. 19 May, 2006 1 commit
    • Sven Neumann's avatar
      removed one of the two constrain properties. · fec7ca95
      Sven Neumann authored
      2006-05-19  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptransformoptions.[ch]: removed one of the two
      	constrain properties.
      
      	* app/tools/gimprotatetool.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      
      	* app/tools/gimpscaletool.c: sync "constrain" with the size-box's
      	"keep-aspect" property.
      fec7ca95
  32. 15 May, 2006 1 commit