1. 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
  2. 03 Sep, 2006 1 commit
    • Michael Natterer's avatar
      app/tools/Makefile.am new class which is essentially a copy of · 449621f5
      Michael Natterer authored
      2006-09-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/gimpsourcetool.[ch]: new class which is essentially a
      	copy of GimpCloneTool with s/clone/source/ plus some minor
      	modifications.
      
      	* app/tools/gimpclonetool.[ch]: remove almost everything and
      	derive from GimpSourceTool.
      449621f5
  3. 02 Sep, 2006 1 commit
    • Michael Natterer's avatar
      renamed enum GimpCloneAlignMode to GimpSourceAlignMode. · 47b50d91
      Michael Natterer authored
      2006-09-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/paint-enums.[ch]: renamed enum GimpCloneAlignMode to
      	GimpSourceAlignMode.
      
      	* app/paint/Makefile.am
      	* app/paint/gimpsourcecore.[ch]
      	* app/paint/gimpsourceoptions.[ch]: new classes which contain the
      	source selection functionality factored out of the clone core and
      	options.
      
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpcloneoptions.[ch]: remove that functionality here
      	and derive from the new classes.
      
      	* app/tools/gimpclonetool.c: changed accordingly.
      47b50d91
  4. 27 Aug, 2006 1 commit
    • Michael Natterer's avatar
      app/tools/gimpairbrushtool.c app/tools/gimpalignoptions.c · 031e8e79
      Michael Natterer authored
      2006-08-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpalignoptions.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimphistogramoptions.c
      	* app/tools/gimpinkoptions-gui.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmeasureoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimprectangleoptions.c
      	* app/tools/gimprectangleselectoptions.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptextoptions.c
      	* app/tools/gimptransformoptions.c
      	* app/tools/gimpvectoroptions.c: code cleanup.
      031e8e79
  5. 21 Aug, 2006 2 commits
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · d47e125c
      William Skaggs authored
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpforegroundselecttool.c: rewrite modifer_key
      	functions more readably; no functional changes.
      d47e125c
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · d4f21713
      William Skaggs authored
      	* app/display/gimpdisplayshell-callbacks.c: allow modifier key events
      	for Shift and Control to be propagated even if button1 is down.
      
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpvectortool.c: change  modifier_key method
      	to prevent any bad consequences.
      
      	* app/tools/gimprectangletool.[ch]:  add modifier_key handler, and use it
      	to toggle "make-square" if Shift is pressed while button1 is down, and
      	"fixed-center" if Control is pressed while button1 is down.
      
      	* app/tools/gimprectangleselecttool.c (gimp_rectangle_tool_modifier_key):
      	call rectangle tool modifer_key method after chaining up.
      d4f21713
  6. 15 Aug, 2006 1 commit
    • Michael Natterer's avatar
      app/tools/Makefile.am app/tools/tools-types.h new GimpPaintTool subclass · 269ab384
      Michael Natterer authored
      2006-08-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/tools-types.h
      	* app/tools/gimpbrushtool.[ch]: new GimpPaintTool subclass which
      	completely handles brush outline drawing.
      
      	* app/tools/gimppainttool.[ch]: removed all brush stuff here.
      
      	* app/tools/gimpclonetool.[ch]
      	* app/tools/gimpconvolvetool.[ch]
      	* app/tools/gimpdodgeburntool.[ch]
      	* app/tools/gimperasertool.[ch]
      	* app/tools/gimppaintbrushtool.[ch]
      	* app/tools/gimpsmudgetool.[ch]: derive from GimpBrushTool.
      
      	* app/tools/gimpinktool.c: removed now obsolete cursor_update()
      	implementation.
      269ab384
  7. 03 Aug, 2006 1 commit
    • Raphael Quinet's avatar
      use gimp_suggest_modifiers(). · d2adebbc
      Raphael Quinet authored
      2006-08-03  Raphael Quinet  <raphael@gimp.org>
      
      	* app/tools/gimpselectiontool.c (gimp_selection_tool_oper_update):
      	use gimp_suggest_modifiers().
      
      	* app/tools/gimpclonetool.c (gimp_clone_tool_oper_update): suggest
      	ctrl only when cloning from the image, not from a pattern
      
      	* app/tools/gimpsmudgetool.c (gimp_smudge_tool_init): don't
      	suggest Ctrl for that tool, even if it can be used.
      d2adebbc
  8. 01 Aug, 2006 1 commit
    • Raphael Quinet's avatar
      app/widgets/gimpwidgets-utils.h New utility function to build status bar · a54a6b16
      Raphael Quinet authored
      2006-08-02  Raphael Quinet  <raphael@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.h
      	* app/widgets/gimpwidgets-utils.c (gimp_suggest_modifiers):
      	New utility function to build status bar messages while allowing
      	dynamic names for the modifiers.
      
      	* app/tools/gimppainttool.h
      	* app/tools/gimppainttool.c: Added new members to the class in
      	order to allow paint tools to set different status messages for
      	the normal case or when drawing a line.
      
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpsmudgetool.c: Use the new functions to set
      	appropriate messages in the status bar.  Still work in progress,
      	partial fix for bug #124040.
      
      	* app/tools/gimpvectortool.c: Use gimp_suggest_modifiers().
      a54a6b16
  9. 18 Jun, 2006 1 commit
    • Michael Natterer's avatar
      added virtual functions GimpTool::has_display(), which returns whether any · ff1d2973
      Michael Natterer authored
      2006-06-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]: added virtual functions
      	GimpTool::has_display(), which returns whether any tool subclass
      	keeps a pointer to the passed display; and GimpTool::has_image()
      	which returns a display based on a passed image, or NULL if no
      	display matches. Added default implementation of
      	GimpTool::control() which sets tool->display to NULL on HALT.
      
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpdrawtool.c: implement both functions.
      
      	* app/tools/gimpclonetool.c: removed weak pointer hacks that are
      	no longer needed now (and were incomplete anyway).
      
      	* app/tools/tool_manager.c (tool_manager_select_tool)
      	(tool_manager_control_active)
      	(tool_manager_image_clean_dirty): use the new functions instead of
      	peeking around in tool subclasses (and forgetting tools that may
      	have display pointers, like the clone tool)
      
      	* app/display/gimpdisplay.c (gimp_display_delete): removed
      	fiddling with tool internals here too, control(HALT) on the tool
      	is now sufficient to remove any reference to the closed display.
      ff1d2973
  10. 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
  11. 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
  12. 22 May, 2006 2 commits
  13. 21 May, 2006 1 commit
  14. 15 May, 2006 1 commit
  15. 28 Mar, 2006 2 commits
  16. 25 Mar, 2006 2 commits
    • Michael Natterer's avatar
      app/tools/gimptool.[ch] add "gboolean proximity" parameter to · 2ed407b5
      Michael Natterer authored
      2006-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]
      	* app/tools/tool_manager.[ch]: add "gboolean proximity" parameter
      	to GimpTool::oper_update() in order to emphasize its importance
      	and to avoid peeking around in the GimpDisplayShell struct.
      
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpnewrectselecttool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectangletool.[ch]
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c: changed accordingly. Got rid of
      	quite some "display/gimpdisplayshell.h" includes.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_tool_events): pass shell->proximity to
      	tool_manager_oper_update_active().
      2ed407b5
    • Michael Natterer's avatar
      app/tools/gimpclonetool.c app/tools/gimpcurvestool.c · 0e7a40fa
      Michael Natterer authored
      2006-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpvectortool.c (GimpTool::oper_update): don't push
      	status messages when shell->proximity is FALSE. Make sure the old
      	status message gets popped regardless of shell->proximity's
      	value. Fixes stuck status bar messages.
      0e7a40fa
  17. 14 Jan, 2006 1 commit
    • Michael Natterer's avatar
      variant of gimp_config_connect() which allows the connected objects to · 5d8b25a2
      Michael Natterer authored
      2006-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch] (gimp_config_connect_full):
      	variant of gimp_config_connect() which allows the connected
      	objects to have different propertynames.
      
      	* app/widgets/widgets-enums.[ch]: removed enum GimpViewType...
      
      	* app/core/core-enums.[ch]: ...and added it here.
      
      	* app/widgets/gimpviewablebutton.[ch] (gimp_viewable_button_new):
      	added "button_preview_size" parameter so the button and popup
      	preview sizes can be specified separately.
      
      	* app/widgets/gimptemplateeditor.c: changed accordingly.
      
      	* app/widgets/gimpviewablebox.[ch] (gimp_prop_*_box_new):
      	new functions which take additional "view_type_prop" and
      	"view_size_prop" parameters and sync the passed context's
      	properties with the resp. properties of the viewable button.
      
      	* app/paint/gimppaintoptions.[ch]
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimptextoptions.[ch]: added view-type and view-size
      	properties to the options objects and use the new viewable box
      	constructors so the selected view types and sizes are persistant
      	across sessions. Fixes bug #315443.
      5d8b25a2
  18. 16 Dec, 2005 1 commit
  19. 13 Dec, 2005 1 commit
  20. 10 Sep, 2005 2 commits
  21. 29 Aug, 2005 1 commit
    • Michael Natterer's avatar
      The previous commit added tons of code just to completely break clone · c32827a7
      Michael Natterer authored
      2005-08-29  Michael Natterer  <mitch@gimp.org>
      
      	The previous commit added tons of code just to completely break
      	clone align behavior. Reverted lots of the changes and do the
      	sample-merged stuff at the innermost place (gimp_clone_motion).
      	This change also enables changing sample-merged between paint
      	strokes.
      
      	* app/paint/gimpclone.[ch] (struct GimpClone): changed member
      	"src_pickable" back to "src_drawable".
      
      	(gimp_clone_paint): completely reverted.
      
      	(gimp_clone_motion): do the drawable/projection -> pickable
      	stuff and drawable offset handling here.
      
      	Fixed signal handling to connect to the drawable's "removed"
      	signal (not "disconnect", eek). Disconnect from the signal once
      	the drawable has been removed.
      
      	* app/tools/gimpclonetool.c: changed accordingly.
      c32827a7
  22. 28 Aug, 2005 1 commit
    • Michael Natterer's avatar
      Immplement "Sample Merged" for the clone tool. Fixes bug #123627. · 26374e81
      Michael Natterer authored
      2005-08-28  Michael Natterer  <mitch@gimp.org>
      
      	Immplement "Sample Merged" for the clone tool. Fixes bug #123627.
      
      	* app/paint/gimppaintcore.[ch] (struct GimpPaintCore): added
      	members "saved_proj_tiles" which stores the unmodified projection,
      	"orig_proj_buf" which stores the unmodified temp paint application
      	buf and "use_saved_proj" which controls if all the additional
      	stuff should be allocated and managed.
      
      	(gimp_paint_core_start): allocate the saved_proj_tiles if needed.
      
      	(gimp_paint_core_get_orig_proj): new function like
      	gimp_paint_core_get_orig_image() which returns unmodified
      	projection pixels for paint application.
      
      	(gimp_paint_core_validate_saved_proj_tiles): new function like
      	gimp_paint_core_validate_undo_tiles() which copies the tiles that
      	will be dirtied to saved_proj_tiles.
      
      	(gimp_paint_core_paste): call above save_proj_tiles() so
      	projection tiles are saved before dirtying them.
      
      	* app/paint/gimpclone.[ch]: replaced member src_drawable by
      	src_pickable and use the image's projection if sample_merged it
      	TRUE. Adjust src offsets accordingly and use GimpPaintCore's new
      	get_orig_proj() API to get the src pixels.
      
      	* app/paint/gimpcloneoptions.[ch]: added boolean "sample_merged"
      	property.
      
      	* app/tools/gimpclonetool.c: follow GimpClone's src_drawable ->
      	src_pickable change.
      
      	(gimp_clone_tool_button_press): set the paint_core's
      	"use_saved_proj" boolean before chaining up.
      
      	(gimp_clone_options_gui): add a "Sample Merged" toggle button.
      26374e81
  23. 11 Jul, 2005 2 commits
    • Michael Natterer's avatar
      added GimpPickable::get_opacity_at() · d64bf356
      Michael Natterer authored
      2005-07-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimppickable.[ch]: added GimpPickable::get_opacity_at()
      
      	* app/core/gimpchannel.[ch]: removed gimp_channel_value() and
      	implement ::get_opacity_at() instead.
      
      	* app/core/gimplayer.[ch]: removed gimp_layer_pick_correlate()
      	and implement ::get_opacity_at() instead.
      
      	* app/core/gimpselection.c: GimpChannel::value() doesn't exist
      	any more.
      
      	* app/core/gimpprojection.c: implement ::get_opacity_at(), always
      	returns OPAQUE.
      
      	* app/core/gimpimage.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpnewrectselecttool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptransformtool.c
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/selection_cmds.c: regenerated.
      d64bf356
    • Michael Natterer's avatar
      simplify check for "inside selected region". · d420a5bf
      Michael Natterer authored
      2005-07-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpclonetool.c (gimp_clone_tool_cursor_update):
      	simplify check for "inside selected region".
      d420a5bf
  24. 08 Jul, 2005 1 commit
  25. 07 May, 2005 1 commit
    • Sven Neumann's avatar
      app/tools/gimppainttool.[ch] unified tool and paint-tool statusbar APIs. · 27042a7b
      Sven Neumann authored
      2005-05-07  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimptool.[ch]: unified tool and paint-tool statusbar APIs.
      
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpnewrectselecttool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimpvectortool.c: changed accordingly.
      
      	* app/tools/gimpselectiontool.c: give more hints in the statusbar.
      	Some of the selection tools should probably override these.
      27042a7b
  26. 04 Apr, 2005 2 commits
  27. 04 Mar, 2005 1 commit
    • Michael Natterer's avatar
      in the spirit of the fix for bug #165618 below, allow tools to specify up · 1870b5d5
      Michael Natterer authored
      2005-03-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptoolcontrol.[ch]: in the spirit of the fix for bug
      	#165618 below, allow tools to specify up to two "object actions"
      	(actions which select brushes, patterns, ...).
      
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimptexttool.c: set actions where appropriate.
      
      	* app/actions/actions.c (action_select_object): allow objects to
      	be selected by index.
      
      	* app/actions/context-actions.c: added actions which select
      	objects by index. Not really used but the same actions can be used
      	to generically pass any GimpActionSelectType enum value to the
      	action callbacks.
      
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.[ch]: added actions and callbacks
      	for the new generic tool objects.
      
      	Also fixed and cleaned up the new generic tool value code.
      1870b5d5
  28. 16 Feb, 2005 1 commit
  29. 04 Feb, 2005 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · a395b02f
      William Skaggs authored
      	* libgimpwidgets/gimppropwidgets.[ch]: magic-copied from app/widgets
      	and un-movable things then removed.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgets.h: corresponding changes
      
      	* app/widgets/gimppropwidgets.[ch]: remove functions that were
      	moved.
      
      	* app/dialogs/stroke-dialog.c
      	* app/dialogs/tips-dialog.c
      	* app/dialogs/user-install-dialog.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcoloroptions.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimphistogramoptions.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpinkoptions-gui.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmeasureoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformoptions.c
      	* app/tools/gimpvectoroptions.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontrollereditor.c
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpgrideditor.c
      	* app/widgets/gimphistogrambox.c
      	* app/widgets/gimphistogrameditor.c
      	* app/widgets/gimpsizebox.c
      	* app/widgets/gimpstrokeeditor.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptooloptionseditor.c: fix includes.
      a395b02f
  30. 12 Oct, 2004 1 commit
    • Michael Natterer's avatar
      removed the recently added utility functions again. · eb8ef9fe
      Michael Natterer authored
      2004-10-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptooloptions-gui.[ch]: removed the recently added
      	utility functions again.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpviewablebox.[ch]
      	* app/widgets/gimpwidgets-utils.[ch]: and added cleaned up
      	versions here.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimptextoptions.c: changed accordingly.
      
      	* app/dialogs/convert-dialog.c: use gimp_palette_box_new() instead
      	of reinventing the wheel.
      eb8ef9fe
  31. 13 Jul, 2004 1 commit
  32. 28 Jun, 2004 1 commit
    • Michael Natterer's avatar
      removed again (tools must not draw outside GimpDrawTool::draw()). · c1861260
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpclonetool.c (gimp_clone_tool_button_release):
      	removed again (tools must not draw outside GimpDrawTool::draw()).
      
      	(gimp_clone_tool_draw): removed check for gimp_draw_tool_is_active()
      	because the draw function would not be called if the draw tool was
      	inactive. Simplified check for whether or not to draw the src
      	location.
      
      	* app/tools/gimppainttool.c (gimp_paint_tool_button_release):
      	pause/resume the draw tool across all button_release actions so
      	tools (clone) have a chance to draw different things depending on
      	gimp_tool_control_is_active(tool->control). Fixes bug #145022.
      c1861260
  33. 26 Jun, 2004 1 commit