Gimp/app/tools
Ell 02a20c6c73 app: add gimp_item_{start,end}_move()
Add gimp_item_{start,end}_move(), and corresponding
GimpItem::{start,end}_move() virtual functions, which should be
called before/after "moving" the item (i.e., translating, scaling,
resizing, flipping, rotating, or transforming the item).  Moves
performed between the outermost pair of start/end calls are treated
atomically.

What exactly does "treated atomically" entail depends on the
subclasses -- GimpItem doesn't provide a default implementation for
these functions, so the current commit doesn't change any behavior.
The next commit, which adds layer-mask support for group layers,
uses the functions to avoid cropping the mask too early while a
child is moving.

GimpItem calls {start,end}_move() in the various "move" functions
(gimp_item_{translate,scale,...}(), before performing the actual
operation.  Additionally we call the functions in the
gimp_image_item_list_foo() functions, for each participating item,
so that the items are moved as a unit.  We call the functions in
the various gimp_image_remove_foo() functions, since removing an
item may affect the size of its ancestors, and is therefore akin to
moving.  We also call the functions in GimpEditSelectionTool, so
that the move tool moves items atomically while dragging.
2018-02-05 12:08:54 -05:00
..
.gitignore enums: add intermediate generated enum files to .gitignore 2017-08-24 15:35:27 -04:00
gimp-tools.c app: add small hack to make the generic operation tool always invisible 2018-01-04 19:23:39 +01:00
gimp-tools.h
gimpairbrushtool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpairbrushtool.h
gimpalignoptions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpalignoptions.h Fixes parent_instence typo 2015-07-25 03:26:56 -03:00
gimpaligntool.c app: add gimp_image_pick_vectors(), remove gimp_draw_tool_on_vectors() 2017-06-22 11:35:57 +02:00
gimpaligntool.h
gimpblendoptions.c app: add "modify active gradient" option to the blend tool 2017-10-09 12:48:53 -04:00
gimpblendoptions.h app: add "modify active gradient" option to the blend tool 2017-10-09 12:48:53 -04:00
gimpblendtool-editor.c app: restore gradient when adding/removing stop on same blend-tool action 2017-11-16 11:55:13 -05:00
gimpblendtool-editor.h app: don't update blend tool filter upon irrelevant line changes 2017-10-09 12:48:55 -04:00
gimpblendtool.c app: implement GimpToolActiveModifiers in GimpTool 2017-10-29 16:42:53 +01:00
gimpblendtool.h app: implement tool undo for gradient editing in the blend tool 2017-10-09 12:48:55 -04:00
gimpbrightnesscontrasttool.c Bug 792470 - Some filters e.g. "Levels" are not added to "Repeat last" history 2018-01-14 15:42:29 +01:00
gimpbrightnesscontrasttool.h Bug 776503 - brightness-contrast in split preview mode changes... 2016-12-26 17:50:11 +01:00
gimpbrushtool.c app: add support for brush reflection 2017-12-22 17:52:29 -05:00
gimpbrushtool.h app: also move the "draw brush outline" logic from brush to paint tool 2014-04-12 15:03:15 +02:00
gimpbucketfilloptions.c Bug 553855 - Bucket fill colour is always blended with filled pixel colour... 2016-09-15 12:24:37 +02:00
gimpbucketfilloptions.h Bug 553855 - Bucket fill colour is always blended with filled pixel colour... 2016-09-15 12:24:37 +02:00
gimpbucketfilltool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpbucketfilltool.h
gimpbycolorselecttool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpbycolorselecttool.h
gimpcageoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpcageoptions.h
gimpcagetool.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimpcagetool.h app: rename GimpImageMap to GimpDrawableFilter 2016-05-12 01:49:53 +02:00
gimpcloneoptions-gui.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpcloneoptions-gui.h app: use the new combo box label in many tool options 2013-06-03 16:40:24 +02:00
gimpclonetool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpclonetool.h
gimpcoloroptions.c Bug 776417 - improve Sample Average and Sample Merged description. 2017-01-03 04:21:42 +01:00
gimpcoloroptions.h app: clean up a lot of werid code in GimpColorOptions and GimpFilterOptions 2016-05-13 22:06:14 +02:00
gimpcolorpickeroptions.c app: remember the modes of the color picker info window's GimpColorFrames 2017-11-12 20:33:42 +01:00
gimpcolorpickeroptions.h app: remember the modes of the color picker info window's GimpColorFrames 2017-11-12 20:33:42 +01:00
gimpcolorpickertool.c app: remember the modes of the color picker info window's GimpColorFrames 2017-11-12 20:33:42 +01:00
gimpcolorpickertool.h app: use a GimpToolGui in GimpColorPickerTool 2013-06-07 12:11:59 +02:00
gimpcolortool.c app: add gimp_widget_blink(); use instead of gimp_dockable_blink() 2017-10-28 10:07:10 -04:00
gimpcolortool.h app: change GimpColorTool to not touch tool->display and tool->drawable 2017-06-30 21:23:29 +02:00
gimpconvolvetool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpconvolvetool.h
gimpcropoptions.c Bug 770689 - Custom transparency controller for dark... 2018-01-02 14:33:27 +01:00
gimpcropoptions.h Bug 764024 - Allow to choose fill color when resizing layers and images 2016-10-10 00:21:36 +02:00
gimpcroptool.c Bug 770689 - Custom transparency controller for dark... 2018-01-02 14:33:27 +01:00
gimpcroptool.h app: fix warnings and crashes in rectangle select and crop 2017-06-29 15:06:27 +02:00
gimpcurvestool.c app: add weak pointers for the curves and levels hisrogram view members 2018-01-29 21:01:57 +01:00
gimpcurvestool.h app: rename GimpImageMapTool to GimpFilterTool 2016-05-10 13:52:24 +02:00
gimpdodgeburntool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpdodgeburntool.h
gimpdrawtool.c app: use matrix to determine if doing perspective transform in preview 2017-11-14 11:24:56 -05:00
gimpdrawtool.h app: use matrix to determine if doing perspective transform in preview 2017-11-14 11:24:56 -05:00
gimpeditselectiontool.c app: add gimp_item_{start,end}_move() 2018-02-05 12:08:54 -05:00
gimpeditselectiontool.h
gimpellipseselecttool.c app: port the rectangle and ellipse select tools to GimpToolRectangle 2017-06-27 18:25:31 +02:00
gimpellipseselecttool.h
gimperasertool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimperasertool.h
gimpfilteroptions.c app: remove GimpFilterOptions' "settings" property 2017-06-08 22:28:50 +02:00
gimpfilteroptions.h app: remove GimpFilterOptions' "settings" property 2017-06-08 22:28:50 +02:00
gimpfiltertool-settings.c app: add an optional "label" to GimpTool which overrides GimpToolInfo's 2017-07-04 22:31:17 +02:00
gimpfiltertool-settings.h app: remove some overengineering from GimpFilterTool 2017-03-25 14:57:15 +01:00
gimpfiltertool-widgets.c app: remove GimpFilterTool's "drawable" member 2017-07-10 23:28:49 +02:00
gimpfiltertool-widgets.h app: add a "status_title" to GimpCreateControllerFunc 2017-07-04 12:51:05 +02:00
gimpfiltertool.c app: remove the split preview guide in gimp_filter_tool_get_operation() 2018-01-05 14:13:12 +01:00
gimpfiltertool.h app: allow specifying a callback function for propgui pickers 2017-10-16 12:38:37 -04:00
gimpflipoptions.c app: add "clipping" option to the flip tool 2017-06-11 15:09:46 -04:00
gimpflipoptions.h app: add support for reflecting across guides to the flip tool 2017-06-11 15:09:24 -04:00
gimpfliptool.c app: in GimpFlipTool, stop drawing before initializing tool 2017-09-20 07:45:58 -04:00
gimpfliptool.h app: add support for reflecting across guides to the flip tool 2017-06-11 15:09:24 -04:00
gimpforegroundselectoptions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpforegroundselectoptions.h Improve Foreground Select tool's GUI 2013-12-13 12:20:19 -08:00
gimpforegroundselecttool.c app: fix GimpForegroundSelectTool after GimpFreeSelectTool changes 2017-12-07 19:53:20 +01:00
gimpforegroundselecttool.h app: fix GimpForegroundSelectTool after GimpFreeSelectTool changes 2017-12-07 19:53:20 +01:00
gimpforegroundselecttoolundo.c
gimpforegroundselecttoolundo.h app: move tool undo typedefs out of tools-types.h 2016-05-11 11:23:14 +02:00
gimpfreeselecttool.c Bug 785781 - Additional Free Selection step (hitting Enter)... 2017-12-01 22:19:42 +01:00
gimpfreeselecttool.h app: use a GimpToolPolygon in GimpFreeSelectTool 2017-06-23 01:59:37 +02:00
gimpfuzzyselecttool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpfuzzyselecttool.h
gimpgegltool.c Create custom UI for GEGL-based Shadows-Highlights filter... 2018-01-05 05:56:08 +03:00
gimpgegltool.h
gimpgenerictransformtool.c app: add GimpGenericTransformTool 2018-01-27 07:30:29 -05:00
gimpgenerictransformtool.h app: add GimpGenericTransformTool 2018-01-27 07:30:29 -05:00
gimpguidetool.c Bug 770911 - Move tool should display relative coordinates in statusbar... 2016-10-01 22:45:51 +02:00
gimpguidetool.h Bug 770911 - Move tool should display relative coordinates in statusbar... 2016-10-01 22:45:51 +02:00
gimphandletransformoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimphandletransformoptions.h Bug 721009 - new transform tool with freely placeable handles 2015-03-05 12:36:59 +01:00
gimphandletransformtool.c app: port relevant transform tools to GimpGenericTransformTool 2018-01-27 07:30:30 -05:00
gimphandletransformtool.h app: port relevant transform tools to GimpGenericTransformTool 2018-01-27 07:30:30 -05:00
gimphealtool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimphealtool.h
gimphistogramoptions.c app: clean up a lot of werid code in GimpColorOptions and GimpFilterOptions 2016-05-13 22:06:14 +02:00
gimphistogramoptions.h app: clean up a lot of werid code in GimpColorOptions and GimpFilterOptions 2016-05-13 22:06:14 +02:00
gimpinkoptions-gui.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpinkoptions-gui.h
gimpinktool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpinktool.h app: use gimp_paint_tool_set_draw_circle() in the ink tool 2014-04-09 15:27:37 +02:00
gimpiscissorsoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpiscissorsoptions.h
gimpiscissorstool.c app: change GimpTileHandlerValidate's API to use GeglRectangle 2017-08-05 15:43:41 +02:00
gimpiscissorstool.h app: remove the dynamic programming buffer from the GimpIscissorsTool struct 2016-10-07 01:58:37 +02:00
gimplevelstool.c app: add weak pointers for the curves and levels hisrogram view members 2018-01-29 21:01:57 +01:00
gimplevelstool.h app: rename GimpImageMapTool to GimpFilterTool 2016-05-10 13:52:24 +02:00
gimpmagnifyoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpmagnifyoptions.h
gimpmagnifytool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpmagnifytool.h
gimpmeasureoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpmeasureoptions.h
gimpmeasuretool.c Bug 792981 - Measure tool is measuring one pixel to the right of initial point 2018-01-28 15:07:47 +01:00
gimpmeasuretool.h app: rename all tools' widget members to simply "widget" 2017-06-27 22:50:50 +02:00
gimpmoveoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpmoveoptions.h Fixes parent_instence typo 2015-07-25 03:26:56 -03:00
gimpmovetool.c app: add gimp_image_pick_vectors(), remove gimp_draw_tool_on_vectors() 2017-06-22 11:35:57 +02:00
gimpmovetool.h app: remove obsolete prototypes from gimpmovetool.h 2017-07-11 12:42:30 +02:00
gimpmybrushoptions-gui.c app: Add "No erasing effect" parameter to MyPaint brush 2018-01-03 02:23:53 +01:00
gimpmybrushoptions-gui.h app: connect the MyPaint brush core with the new brush container 2015-12-21 12:28:46 +01:00
gimpmybrushtool.c libgimpwidgets, *: deprecating stock IDs for good, part one... 2017-02-28 19:31:27 +01:00
gimpmybrushtool.h app: correct outline calculation to match mypaint and add fallback 2015-12-29 19:37:45 +02:00
gimpnpointdeformationoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpnpointdeformationoptions.h app: npd: no CAPS in property and member names 2015-03-01 18:21:17 +01:00
gimpnpointdeformationtool.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimpnpointdeformationtool.h app: simplify npd tool motion event handling 2015-03-01 23:57:10 +01:00
gimpoperationtool.c app: also make options_box into a GWeakRef. 2017-10-05 00:11:36 +02:00
gimpoperationtool.h app: also make options_box into a GWeakRef. 2017-10-05 00:11:36 +02:00
gimppaintbrushtool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimppaintbrushtool.h
gimppaintoptions-gui.c Bug 753412 - New Canvas rotation feature rotates brush. 2017-12-22 17:52:29 -05:00
gimppaintoptions-gui.h
gimppainttool.c app: In GimpPaintTool, swap get_line_status() coordinates 2018-01-28 17:28:40 -05:00
gimppainttool.h app: get rid of hardcoding GDK_SHIFT_MASK in tools/ 2015-10-17 15:31:08 +02:00
gimppenciltool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimppenciltool.h
gimpperspectiveclonetool.c app: connect to GimpToolWidget::snap-offsets in GimpDrawTool 2017-06-26 20:37:51 +02:00
gimpperspectiveclonetool.h app: use a GimpToolTransformGrid in GimpPerspectiveClone 2017-06-19 20:43:46 +02:00
gimpperspectivetool.c app: port relevant transform tools to GimpGenericTransformTool 2018-01-27 07:30:30 -05:00
gimpperspectivetool.h app: port relevant transform tools to GimpGenericTransformTool 2018-01-27 07:30:30 -05:00
gimprectangleoptions.c Bug 770689 - Custom transparency controller for dark... 2018-01-02 14:33:27 +01:00
gimprectangleoptions.h Bug 770689 - Custom transparency controller for dark... 2018-01-02 14:33:27 +01:00
gimprectangleselectoptions.c Bug 770689 - Custom transparency controller for dark... 2018-01-02 14:33:27 +01:00
gimprectangleselectoptions.h Fixes parent_instence typo 2015-07-25 03:26:56 -03:00
gimprectangleselecttool.c Bug 770689 - Custom transparency controller for dark... 2018-01-02 14:33:27 +01:00
gimprectangleselecttool.h app: port the rectangle and ellipse select tools to GimpToolRectangle 2017-06-27 18:25:31 +02:00
gimpregionselectoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpregionselectoptions.h app: Add "Diagonal neighbors" option to the fuzzy select tool 2016-01-17 00:46:54 +01:00
gimpregionselecttool.c Bug 791512 - make the selection boundary detection the same as 2.8 2017-12-18 21:01:30 +01:00
gimpregionselecttool.h
gimprotatetool.c app: also manage all contrain and frompivot properties centrally 2017-06-19 23:29:01 +02:00
gimprotatetool.h
gimpsamplepointtool.c Bug 770911 - Move tool should display relative coordinates in statusbar... 2016-10-01 22:45:51 +02:00
gimpsamplepointtool.h Bug 770911 - Move tool should display relative coordinates in statusbar... 2016-10-01 22:45:51 +02:00
gimpscaletool.c Bug 790293 - Scale tool: Ctrl uses top-left corner of selection... 2018-01-11 20:05:53 +01:00
gimpscaletool.h
gimpseamlesscloneoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpseamlesscloneoptions.h "gegl:seamless-clone" operation's properties "max-refine-steps" changed… 2015-07-12 19:47:49 +02:00
gimpseamlessclonetool.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimpseamlessclonetool.h app: rename GimpImageMap to GimpDrawableFilter 2016-05-12 01:49:53 +02:00
gimpselectionoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpselectionoptions.h
gimpselectiontool.c app: rename gimpimage-pick-layer.[ch] to gimpimage-pick-item.[ch] 2017-06-22 08:17:40 +02:00
gimpselectiontool.h
gimpsheartool.c Bug 791949 - Please ind Shift+T to the Unified Transform Tool 2018-01-03 18:02:28 +01:00
gimpsheartool.h
gimpsmudgetool.c Bug 785001 - Enhanced smudge tool: Smudge with painting 2018-01-03 02:29:33 +01:00
gimpsmudgetool.h
gimpsourcetool.c app: in tools, show source location indicator at pixel center 2017-04-03 15:33:23 -04:00
gimpsourcetool.h
gimptextoptions.c app: remove GimpRectangleOptions stuff from GimpTextOptions 2017-06-28 19:34:47 +02:00
gimptextoptions.h
gimptexttool-editor.c app: port GimpTextTool to GimpToolRectangle 2017-06-28 15:40:38 +02:00
gimptexttool-editor.h app: fix various undo- and preedit-related text tool issues 2016-06-05 16:36:56 +02:00
gimptexttool.c app: implement GimpToolActiveModifiers in GimpTool 2017-10-29 16:42:53 +01:00
gimptexttool.h app: port GimpTextTool to GimpToolRectangle 2017-06-28 15:40:38 +02:00
gimpthresholdtool.c Bug 792470 - Some filters e.g. "Levels" are not added to "Repeat last" history 2018-01-14 15:42:29 +01:00
gimpthresholdtool.h app, pdb, libgimp: allow to choose the channel when thresholding 2016-11-01 22:45:37 +01:00
gimptilehandleriscissors.c app: change most of Iscissors to use a GimpPickable not a GimpImage 2016-10-07 01:18:16 +02:00
gimptilehandleriscissors.h app: change most of Iscissors to use a GimpPickable not a GimpImage 2016-10-07 01:18:16 +02:00
gimptool-progress.c app: add gimp_progress_set_text_literal() 2014-07-20 23:32:19 +02:00
gimptool-progress.h
gimptool.c app: fix modifiers being stuck in transform tools 2018-01-10 02:38:39 +01:00
gimptool.h app: add an optional "label" to GimpTool which overrides GimpToolInfo's 2017-07-04 22:31:17 +02:00
gimptoolcontrol.c app: let tools control how they recieve modifier keys during a stroke 2017-10-29 16:42:53 +01:00
gimptoolcontrol.h app: let tools control how they recieve modifier keys during a stroke 2017-10-29 16:42:53 +01:00
gimptooloptions-gui.c
gimptooloptions-gui.h
gimptransformoptions.c Bug 790293 - Scale tool: Ctrl uses top-left corner of selection... 2018-01-11 20:05:53 +01:00
gimptransformoptions.h app: oops, fix last commit 2015-03-05 10:28:50 +01:00
gimptransformtool.c app: add transform_valid member to GimpTransformTool 2018-01-27 07:30:28 -05:00
gimptransformtool.h app: add transform_valid member to GimpTransformTool 2018-01-27 07:30:28 -05:00
gimptransformtoolundo.c
gimptransformtoolundo.h app: move tool undo typedefs out of tools-types.h 2016-05-11 11:23:14 +02:00
gimpunifiedtransformtool.c app: port relevant transform tools to GimpGenericTransformTool 2018-01-27 07:30:30 -05:00
gimpunifiedtransformtool.h app: port relevant transform tools to GimpGenericTransformTool 2018-01-27 07:30:30 -05:00
gimpvectoroptions.c app: add a fill button to the vector tool options, just like stroke 2017-06-22 00:53:59 +02:00
gimpvectoroptions.h app: add a fill button to the vector tool options, just like stroke 2017-06-22 00:53:59 +02:00
gimpvectortool.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimpvectortool.h app: rename all tools' widget members to simply "widget" 2017-06-27 22:50:50 +02:00
gimpwarpoptions.c app: add interpolation, abyss policy, and high quality preview options ... 2017-05-19 18:29:16 -04:00
gimpwarpoptions.h app: add interpolation, abyss policy, and high quality preview options ... 2017-05-19 18:29:16 -04:00
gimpwarptool.c Move the new "default_new_layer_mode" APIs to the image... 2017-08-21 20:18:00 +02:00
gimpwarptool.h app: add option to stroke the warp tool during cursor motion ... 2017-05-19 04:55:29 -04:00
Makefile.am app: add GimpGenericTransformTool 2018-01-27 07:30:29 -05:00
tool_manager.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
tool_manager.h app: rename GimpTool::get_undo_desc() and ::get_redo_desc() 2017-07-04 20:43:28 +02:00
tools-enums.c app: let tools control how they recieve modifier keys during a stroke 2017-10-29 16:42:53 +01:00
tools-enums.h app: let tools control how they recieve modifier keys during a stroke 2017-10-29 16:42:53 +01:00
tools-types.h app: add GimpGenericTransformTool 2018-01-27 07:30:29 -05:00