1. 20 Feb, 2011 1 commit
  2. 02 Oct, 2010 1 commit
  3. 26 Aug, 2010 1 commit
  4. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  5. 20 Aug, 2008 1 commit
    • Michael Natterer's avatar
      Bug 496772 – Position shown in the statusbar needs more precision (for · d51c5082
      Michael Natterer authored
      2008-08-20  Michael Natterer  <mitch@gimp.org>
      
      	Bug 496772 – Position shown in the statusbar needs more
      	precision (for some tools)
      
      	* app/display/display-enums.[ch]: add enum GimpCursorPrecision
      	which can be one of { PIXEL_CENTER, PIXEL_BORDER, SUBPIXEL }.
      
      	* app/display/gimpdisplayshell-cursor.[ch]: add "precision"
      	parameter to gimp_display_shell_update_cursor() and pass it
      	on to the statusbar.
      
      	* app/display/gimpstatusbar.[ch]: add "precision" parameters to
      	the cursor coordinates APIs, offset the passed coords accordingly
      	and display them with one decimal point if SUBPIXEL is requested
      	and the display's unit is PIXEL. Keep a second floating-point
      	format string around at any time.
      
      	* app/tools/gimptoolcontrol.[ch]: add a "precision" member and API
      	so tools can configure the precision they need. Defalt to
      	PIXEL_CENTER since that's right for almost all tools.
      
      	* app/display/gimpdisplayshell-callbacks.c: pass the tool's
      	precision to gimp_display_shell_update_cursor().
      
      	* app/tools/gimptool.[ch]: add "precision" parameter to
      	gimp_tool_push_status_coords() and pass it on to the statusbar.
      
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpperspectiveclonetool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c: set precision in init() where
      	needed. Adjust the precision in the fly when needed, e.g. while
      	moving guides or when toggling hard-edge on paint tools. Also pass
      	an appropriate precision to gimp_tool_push_status_coords(), which
      	is not always the tool's precision as used for cursor display.
      
      
      svn path=/trunk/; revision=26681
      d51c5082
  6. 30 Mar, 2008 1 commit
    • Sven Neumann's avatar
      added new function gimp_display_shell_unset_cursor(). · 9acc157a
      Sven Neumann authored
      2008-03-30  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-cursor.[ch]: added new function
      	gimp_display_shell_unset_cursor().
      	(gimp_display_shell_real_set_cursor): deal with cursor_type -1 
      and
      	change the cursor to the default desktop cursor. Fixes warnings 
      on
      	image load.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_empty):
      	use gimp_display_shell_unset_cursor().
      
      
      svn path=/trunk/; revision=25312
      9acc157a
  7. 09 Dec, 2006 1 commit
  8. 14 Jun, 2004 1 commit
    • Michael Natterer's avatar
      remember the last used GimpCursorFormat so changing the format in prefs · 1082ee6b
      Michael Natterer authored
      2004-06-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.[ch]: remember the last used
      	GimpCursorFormat so changing the format in prefs applies
      	instantly, and not after the next tool change.
      
      	* app/display/gimpdisplayshell-cursor.[ch]
      	* app/tools/gimptool.[ch]
      	* app/tools/gimptoolcontrol.[ch]
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimptransformtool.c: s/GdkCursorType/GimpCursorType/g
      1082ee6b
  9. 10 May, 2004 1 commit
    • Sven Neumann's avatar
      added a stock icon for "view-zoom-1-1". · a08d648a
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/view-actions.c: added a stock icon for "view-zoom-1-1".
      
      	* app/widgets/gimpunitcombobox.[ch]: added functions to get and
      	set the active unit.
      
      	* app/widgets/gimpunitstore.c (gimp_unit_store_tree_model_get_value):
      	need to special case GIMP_UNIT_PIXEL.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpscalecombobox.[ch]: new widget to be used in the
      	display's statusbar.
      
      	* app/display/gimpdisplayshell-cursor.[ch]: always display the
      	cursor position, not only if the cursor is inside the image. Added
      	new function gimp_display_shell_clear_cursor() to clear the cursor
      	label.
      
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/display/gimpstatusbar.[ch]
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c: do not explicitely resize
      	the statusbar cursor label, connect to GimpDisplayShell::scaled
      	instead. Added a GimpScaleComboBox to the status bar.
      a08d648a
  10. 23 Feb, 2004 1 commit
    • Michael Natterer's avatar
      return the snapped coordinates as gdouble, not gint because we must not · 02065884
      Michael Natterer authored
      2004-02-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-snap.[ch]: return the snapped coordinates as
      	gdouble, not gint because we must not round the unsnapped axis
      	if only one axis snapped.
      
      	* app/display/gimpdisplayshell.[ch] (gimp_display_shell_snap_coords):
      	changed accordingly. Added boolean return value indicating "snapped".
      
      	* app/display/gimpdisplayshell-cursor.[ch]
      	(gimp_display_shell_update_cursor): take both display_x and _x and
      	(possibly snapped) image_x and _y. Use the snapped values for the
      	statusbar and the unsnapped ones for updating the info_window.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_tool_events): applied modified patch
      	from Simon Budig which moves guide/grid snapping out of the
      	button_press/motion/button_release handlers and *always* snaps
      	the image_coords if the active_tool wants them to be snapped.
      	Makes sure that e.g. the brush preview is drawn at the right
      	place and fixes bug #134284.
      
      	Also pass both display_coords and image_coords to
      	gimp_display_shell_update_cursor().
      02065884
  11. 03 Jan, 2003 1 commit
    • Sven Neumann's avatar
      bumped the version number to 1.3.12. · ec6c9865
      Sven Neumann authored
      2003-01-03  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped the version number to 1.3.12.
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-cursor.[ch]
      	* app/display/gimpdisplayshell-title.[ch]
      	* app/display/gimpdisplayshell-transform.[ch]: new files with code
      	that used to live in gimpdisplayshell.c.
      
      	* app/display/gimpdisplay-foreach.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimptool.c: changed accordingly.
      ec6c9865