1. 04 Nov, 2003 1 commit
  2. 26 Sep, 2003 1 commit
    • Michael Natterer's avatar
      Cleaned up all places which pick colors to work consistently: the concept · e13afaf2
      Michael Natterer authored
      2003-09-26  Michael Natterer  <mitch@gimp.org>
      	Cleaned up all places which pick colors to work consistently: the
      	concept of an "active color" has disappeared, instead <ctrl> picks
      	the BG color all over the place (fixes bug #122931).
      	* app/tools/tools-enums.[ch]: added enum GimpColorPickMode which
      	can be one of { FOREGROUND, BACKGROUND }. Reordered enums so
      	non-registered ones are at the end of the file. Removed trailing
      	* app/tools/gimpcolorpickeroptions.[ch]: added a "pick-mode"
      	property and a GUI for it. Renamed the "update-active" property to
      	* app/tools/gimpcolorpickertool.c: honor the new option. Toggle
      	pick-mode on <ctrl>.
      	* app/tools/gimpcolortool.[ch]: added pick_mode member and change
      	the cursor accordingly.
      	* app/widgets/gimpcolormapeditor.[ch]: added "GdkModifierType
      	state" to the "selected" signal. Removed the signal's default
      	* app/gui/dialogs-constructors.c: fixed the signal handler which
      	lives here and set BG if <ctrl> was pressed.
      	* app/widgets/gimppaletteeditor.c: removed weird <ctrl> <->
      	active_color interaction and pick BG on <ctrl>. Don't change the
      	toolbox color when editing a color in the palette.
      	* app/widgets/gimptoolbox-color-area.[ch]: made the whole
      	active_color stuff private. Will remove these artefacts soon...
      	* app/gui/colormap-editor-menu.c
      	* app/gui/palette-editor-menu.c: added separate menu entries
      	for adding a color from the current FG and BG.
      	* app/gui/colormap-editor-commands.c
      	* app/gui/palette-editor-commands.[ch]: changed callbacks
      	* cursors/background.xbm
      	* cursors/background_mask.xbm
      	* cursors/foreground.xbm
      	* cursors/foreground_mask.xbm
      	* cursors/gimp-tool-cursors.xcf: moved the FG/BG cursor modifiers
      	closer to the upper right corner.
      	* app/widgets/gimpcursor.c: ignore the cursor modifiers' hotspots
      	since they are not relevant and I didn't save the hotspot in the
      	updated cursor files for that reason.
  3. 17 Sep, 2003 1 commit
    • Michael Natterer's avatar
      cursors/hand.xbm removed. · f4942b72
      Michael Natterer authored
      2003-09-17  Michael Natterer  <mitch@gimp.org>
      	* cursors/hand.xbm
      	* cursors/hand_mask.xbm: removed.
      	* cursors/hand_small.xbm
      	* cursors/hand_small_mask.xbm: ...and added under new names.
      	* cursors/Makefile.am
      	* cursors/gimp-tool-cursors.xcf: changed accordingly.
      	* app/widgets/widgets-enums.h
      	* app/widgets/gimpcursor.c: removed HAND from the GimpCursorModifier
      	enum and added it to the GimpToolCursorType enum. We don't have a
      	hand tool but this way the hand cursor (which is in the lower
      	right corner) can be used together with other cursor modifiers
      	(which are in the upper right corner).
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpvectortool.c: show cursor modifers with the hand
      	cursor where appropriate.
  4. 12 Dec, 2001 1 commit
  5. 13 Nov, 2001 1 commit
    • Michael Natterer's avatar
      small fix. · 3413a9ef
      Michael Natterer authored
      2001-11-12  Michael Natterer  <mitch@gimp.org>
      	* HACKING: small fix.
      	* configure.in: changed --disable-perl to --enable-perl because
      	it doesn't build properly at the moment.
      	* pixmaps/Makefile.am: removed stuff which is no longer there
      	from EXTRA_DIST.
      	* plug-ins/Makefile.am: put back the $(GIMP_PERL) line in SUBDIRS.
      	* app/widgets/gimpmenuitem.c. include "libgimpwidgets/gimpwidgets.h".
      	* data/Makefile.am
      	* data/brushes/Makefile.am
      	* data/gradients/Makefile.am
      	* data/palettes/Makefile.am
      	* data/patterns/Makefile.am: removed the old "files" hack and put
      	the stuff to EXTRA_DIST.
      	* app/Makefile.am
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/file/Makefile.am
      	* app/gui/Makefile.am
      	* app/paint-funcs/Makefile.am
      	* app/pdb/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* app/widgets/gimpmenuitem.c
      	* app/xcf/Makefile.am
      	* cursors/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* m4macros/Makefile.am
      	* themes/Makefile.am
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/Makefile.am: removed "files" target.
  6. 13 Feb, 2001 1 commit
  7. 29 Jul, 2000 1 commit
    • Michael Natterer's avatar
      cursors/background.xbm cursors/background_mask.xbm cursors/foreground.xbm · a17cf3bd
      Michael Natterer authored
      2000-07-29  Michael Natterer  <mitch@gimp.org>
      	* cursors/background.xbm
      	* cursors/background_mask.xbm
      	* cursors/foreground.xbm
      	* cursors/foreground_mask.xbm
      	* cursors/pattern.xbm
      	* cursors/pattern_mask.xbm: new files.
      	* cursors/gimp-tool-cursors.xcf
      	* app/cursorutil.[ch]: new cursor modifiers for bucket_fill.
      	* app/bucket_fill.c: use the new modifiers. Closes #17871.
      	* app/convolve.c
      	* app/dodgeburn.c: added cursor_update functions which update the
      	tools' "toggled" state before they call the cursor_update "method"
      	of the paint_core "class" -- eek -- I-want-real-objects!
      	Closes #17872 and #17873.
      	* app/tools.h: added SELECTION_ANCHOR to the SelectOps enum.
      	* app/free_select.c
      	* app/rect_select.c: use the new enum value in the "oper_update"
      	and "cursor_update" functions. In the "motion" function, set the
      	tool's operation type back to SELECTION_REPLACE if the tool is
      	active and call the "cursor_update" function explicitly.
      	Closes #17870.
      	* app/by_color_select.c: fixed warning caused by the new enum value.
  8. 25 Jun, 2000 2 commits
  9. 16 Jun, 2000 1 commit
    • Michael Natterer's avatar
      Makefile.am cursors/gimp-tool-cursors.xcf cursors/perspective_small.xbm · 7890b7ac
      Michael Natterer authored
      2000-06-16  Michael Natterer  <mitch@gimp.org>
      	* Makefile.am
      	* cursors/gimp-tool-cursors.xcf
      	* cursors/perspective_small.xbm
      	* cursors/perspective_small_mask.xbm
      	* cursors/rotate_small.xbm
      	* cursors/rotate_small_mask.xbm
      	* cursors/shear_small.xbm
      	* cursors/shear_small_mask.xbm: new cursors.
      	* app/tools.c
      	* app/transform_core.c: use them.
  10. 14 Jun, 2000 3 commits
    • Michael Natterer's avatar
      Makefile.am cursors/gimp-tool-cursors.xcf cursors/anchor.xbm new cursor · 1a2cfc0f
      Michael Natterer authored
      2000-06-14  Michael Natterer  <mitch@gimp.org>
      	* Makefile.am
      	* cursors/gimp-tool-cursors.xcf
      	* cursors/anchor.xbm
      	* cursors/anchor_mask.xbm: new cursor modifier for the move tool.
      	* app/cursorutil.[ch]
      	* app/move.c: use the new modifier for anchoring floating selections.
    • Michael Natterer's avatar
      typo. · 4f6af253
      Michael Natterer authored
      2000-06-14  Michael Natterer  <mitch@gimp.org>
      	* Makefile.am: typo.
      	* cursors/mouse_intersect[_mask].xbm: forgot to remove this one.
      	* cursors/gimp-tool-cursors.xcf: new file containing all cursors.
    • Michael Natterer's avatar
      Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and · b8ee0c8c
      Michael Natterer authored
      2000-06-14  Michael Natterer  <mitch@gimp.org>
      	* Makefile.am
      	* app/cursorutil.[ch]
      	* app/tools.c
      	* cursors/*: added lots of new cursors and removed old ones.
      	* app/gdisplay.[ch]: enabled the cursor setting parameters in
      	* app/bezier_select.c
      	* app/blend.c
      	* app/bucket_fill.c
      	* app/by_color_select.c
      	* app/clone.c
      	* app/color_picker.c
      	* app/crop.c
      	* app/disp_callbacks.c
      	* app/edit_selection.c
      	* app/eraser.c
      	* app/flip_tool.c
      	* app/ink.c
      	* app/iscissors.c
      	* app/magnify.c
      	* app/measure.c
      	* app/move.c
      	* app/paint_core.c
      	* app/rect_select.c
      	* app/text_tool.c
      	* app/transform_core.c: use the new cursors. Only the transform
      	tools are still using old cursors.
      	* app/layers_dialog.c: a tooltip for "Keep Trans."
      	* app/user_install.c: set the ctree's selection mode to BROWSE.
  11. 09 Jun, 2000 1 commit
    • Michael Natterer's avatar
      Cursor patch II: This is only the logic inside the cursor system and not · d0a551bb
      Michael Natterer authored
      2000-06-09  Michael Natterer  <mitch@gimp.org>
      	Cursor patch II:
      	This is only the logic inside the cursor system and not yet used.
      	* app/cursorutil.[ch]: [gimp]_change_win_cursor() take lots of
      	parameters now and compose cursors from up to three cursor
      	* app/gdisplay.[ch]: As a test, create a hardcoded example cursor
      	if "Cursor Mode" is set to "Tool Icon with Crosshair" in prefs.
      	* app/curves.c
      	* app/dialog_handler.c
      	* app/scroll.c: changed the calls to the win_cursor function.
      	* app/tools.[ch]: added a cursor and a toggle cursor to the ToolInfo
      	structure of all tools.
      	* app/toolsF.h: new ToolType TOOL_TYPE_NONE.
      	* app/gimpdnd.c
      	* app/interface.c: check for silly filenames in the file dnd
      	callback. Closes #13733.
      	* Makefile.am
      	* cursors/bucket_fill_small.xbm
      	* cursors/bucket_fill_small_mask.xbm
      	* cursors/crop_small.xbm
      	* cursors/crop_small_mask.xbm
      	* cursors/crosshair_small.xbm
      	* cursors/crosshair_small_mask.xbm
      	* cursors/ellipse_select_small.xbm
      	* cursors/ellipse_select_small_mask.xbm
      	* cursors/eraser_small.xbm
      	* cursors/eraser_small_mask.xbm
      	* cursors/free_select_small.xbm
      	* cursors/free_select_small_mask.xbm
      	* cursors/fuzzy_select_small.xbm
      	* cursors/fuzzy_select_small_mask.xbm
      	* cursors/intersect.xbm
      	* cursors/intersect_mask.xbm
      	* cursors/minus.xbm
      	* cursors/minus_mask.xbm
      	* cursors/move.xbm
      	* cursors/move_mask.xbm
      	* cursors/paintbrush_small.xbm
      	* cursors/paintbrush_small_mask.xbm
      	* cursors/pencil_small.xbm
      	* cursors/pencil_small_mask.xbm
      	* cursors/plus.xbm
      	* cursors/plus_mask.xbm
      	* cursors/rect_select_small.xbm
      	* cursors/rect_select_small_mask.xbm
      	* cursors/resize_small.xbm
      	* cursors/resize_small_mask.xbm
      	* cursors/zoom.xbm
      	* cursors/zoom_mask.xbm
      	* cursors/zoom_small.xbm
      	* cursors/zoom_small_mask.xbm: new files extracted from Tigert's
      	gimp-tool-cursors.xcf created at GimpCon.
      	Tigert, I'll commit the xcf as soon as I've added empty layers
      	with the names of the cursors that are missing.
      	* cursors/mouse.xbm
      	* cursors/mouse_mask.xbm: made it 32x32 to allow for cursor
  12. 06 Jun, 2000 1 commit
    • Michael Natterer's avatar
      Makefile.am cursors/crosshair.xbm new files. · 5d43ca6c
      Michael Natterer authored
      2000-06-06  Michael Natterer  <mitch@gimp.org>
      	* Makefile.am
      	* cursors/crosshair.xbm
      	* cursors/crosshair_mask.xbm: new files.
      	* app/cursorutil.[ch]
      	* app/gdisplay.[ch]
      	* app/gimprc.[ch]
      	* app/preferences_dialog.c: Started to add the new set of
      	consistent tool cursors. The crosshair one is the easy part
      	but I wanted to see a result :) The other two options in
      	the pref's cursor menu are still dummys.
  13. 05 Mar, 2000 1 commit
    • Michael Natterer's avatar
      Makefile.am cursors/selection_move.xbm cursors/selection_move_mask.xbm new · 21e95fdf
      Michael Natterer authored
      2000-03-04  Michael Natterer  <mitch@gimp.org>
      	* Makefile.am
      	* cursors/selection_move.xbm
      	* cursors/selection_move_mask.xbm
      	* app/cursorutil.[ch]: new cursor for moving the selection
      	mask. Looks imho nicer than the ugly GDK_DIAMOND_CROSS.
      	* app/move.c
      	* app/rect_select.c: use the new cursor.
      	* app/paint_core.c: check for the statusbar's context_id in the
      	cursor_update function. Fixes gdk_criticals with the line preview
      	(which doesn't need a mouse click). Minor cleanups.
      	* app/tool_options.c: put the paint_pressure options in a
      	GtkHWrapBox instead of a GtkHBox. Makes the size of the dialog a
      	bit less locale-dependent.
      	* plug-ins/common/xbm.c: use accessor functions instead of using
      	the parasite's fields directly.
  14. 04 Mar, 2000 1 commit
    • Michael Natterer's avatar
      s/"Only"/"only"/ · 83bb5a38
      Michael Natterer authored
      2000-03-03  Michael Natterer  <mitch@gimp.org>
      	* app/crop.c: s/"Only"/"only"/
      	* app/iscissors.c: one more cursor_update fix. This time I don't
      	claim that it's _really_ correct.
      	* app/tool_options.c: don't add a separator after
      	opacity/paint_mode if a paint pressure options box follows.
      	* cursors/bad.xbm
      	* cursors/bad_mask.xbm: made it FAT (no need to use thin lines
      	which show as much as possible of the image below because the
      	cursor indicates that no operation is possible).
      	* libgimp/gimpprotocol.[ch]: s/int/gboolean/ where appopriate,
      	indentation paranoia.
      	_gp_*_read(): free the already allocated parts of the message if
      	reading a subsequent part fails. These cleanups will probably occur
      	shortly before the process crashes, but at least they make the
      	search for real leaks easier.
      	* plug-ins/common/uniteditor.c: some more tooltips.
      	* plug-ins/common/xbm.c: store the image comment in the
      	"gimp-comment" parasite and the hot spot in the new "hot-spot"
      	parasite. Added ui for entering the hot spot.
      	* docs/parasites.txt: documented the new "hot-spot" parasite.
  15. 01 Mar, 2000 2 commits
    • Michael Natterer's avatar
      cursors/selection.xbm made the selection rectangles look the same (avoids · 155f876d
      Michael Natterer authored
      2000-03-01  Michael Natterer  <mitch@gimp.org>
      	* cursors/selection.xbm
      	* cursors/selection_subtract.xbm: made the selection rectangles
      	look the same (avoids flickering on Ctrl/Shift).
      	* cursors/selection_intersect.xbm
      	* cursors/selection_intersect_mask.xbm: the symbol for
      	intersection is "n", not "u".
    • Michael Natterer's avatar
      Makefile.am a proper naming scheme for all cursor files. Added zoom_in and · 723662a4
      Michael Natterer authored
      2000-03-01  Michael Natterer  <mitch@gimp.org>
      	* Makefile.am
      	* cursors/*: a proper naming scheme for all cursor files. Added
      	zoom_in and zoom_out cursors.
      	* app/bezier_select.c
      	* app/by_color_select.c
      	* app/cursorutil.[ch]
      	* app/rect_select.c
      	* app/scale.[ch]: changed according to the new cursor names. Some
      	minor fixes.
      	* app/magnify.[ch]: made the zoom_in/zoom_out toggle a proper
      	tool_toggle and show cursors for the two modes.
      	* plug-ins/print/print-util.c: patch from Robert Kravitz which
      	fixes printing layers with alpha.
  16. 19 Jan, 2000 1 commit
  17. 27 Jul, 1999 1 commit
    • jaycox's avatar
      more cursor support. new cursor fix that rounding error the right way this · bc0451b4
      jaycox authored
      	* app/clone.c: more cursor support.
      	* app/cursorutil.[ch], cursors/{bad,badmsk}: new cursor
      	* app/paint_core.c: fix that rounding error the right way this time.
      	* app/pixel_processor.c, app/pixel_region.c:  Lock the tiles while
      	they are being processed.  Only create new threads if the region
      	being processed is large enough to warrant it.
  18. 27 May, 1999 1 commit
    • jaycox's avatar
      new mouse cursor for intersection operations. · 4faeeaeb
      jaycox authored
      	* cursors/{mouse1_u,mouse1_umsk}: new mouse cursor for intersection
      	* app/cursorutil.[ch], app/rect_select.c: use the new cursor.
      	* app/gimpimage.c:  Applied layer removal bug fix from
      	David Le Corfec, <lecorfec@etudiant.univ-mlv.fr>
      	* plug-ins/gdyntext/{font_selection.c, gdyntext.c, gdyntext_ui.c}:
      	replaced snprintf with g_snprintf.
      	* plug-ins/jpeg/jpeg.c: updated to work with the double precision
  19. 16 May, 1999 1 commit
    • BST 1999  Austin Donnelly's avatar
      We weren't initialising refs variable before using it. Hence some stuff · 04efab71
      BST 1999 Austin Donnelly authored
      Sun May 16 18:23:12 BST 1999  Austin Donnelly  <austin@gimp.org>
      	* app/module_db.c: We weren't initialising refs variable before using
      	    it.  Hence some stuff was being prematurely unloaded.  D'oh!
      	* app/menus.c: move Module DB browser to the Xtns menu, since it
      	    seems to make more sense being there.
      	* cursors/droppermsk: slight improvement over current one, but
      	    really needs proper artist to look at it.
  20. 13 May, 1999 2 commits
    • BST 1999 Andy Thomas's avatar
      Changed:- app/bezier_select.c app/bezier_selectP.h app/cursorutil.c · df68aba3
      BST 1999 Andy Thomas authored
      Thu May 13 22:41:26 BST 1999 Andy Thomas <alt@gimp.org>
      	* app/bezier_select.c
      	* app/bezier_selectP.h
      	* app/cursorutil.c
      	* app/cursorutil.h
      	* app/curves.c
      	* app/paths_dialog.c
      	* cursor/mouse1_ap
      	* cursor/mouse1_apmsk
      	* cursor/mouse1_cp
      	* cursor/mouse1_cpmsk
      	* cursor/mouse1_mm
      	* cursor/mouse1_mmmsk
      	* cursor/mouse1_sel
      	* cursor/mouse1_selm
      	* cursor/mouse1_selmmsk
      	* cursor/mouse1_selmsk
      	* cursor/mouse1_selp
      	* cursor/mouse1_selpmsk
      	Paths changes:-
      	Implemented multi-part paths.
      	(Import the path (RMB in paths dialog brings menu up)
      	into a 600x256 (WxH) for an example).
      	Can copy/paste paths.
      	Fully custom cursors when using the Bezier tool. A number of bug
      	fixes re boundary problems also fixed.
      	Note that heavy use is made of the modifier keys in the bezier tool.
      	MB1 inside a closed curve converts it to a selection. The modifiers
      	change how the selection interacts with any current selection (in
      	much the same way as the selection tool does).
      	MB1 + ALT on control point will move a curve, if shift modifier active
      	then single curve is moved.
      	In curves dialog you can now press MB1 + shift will add point to
      	curves dialog corresponding to the current position in
      	the currently selected channel. MB1 + CNTRL will add the point
      	to all channels. (Thanks to Carey Bunks for the initial idea).
    • jaycox's avatar
      set the fg or bg color if ctrl or alt is held. use the new dropper cursor. · 628e07eb
      jaycox authored
      	* app/paint_core.[ch]: set the fg or bg color if ctrl or alt is
       	held.  use the new dropper cursor.
      	* app/cursorutil.[ch], app/gdisplay.[ch], app/rect_select.c: Use
       	GimpCursorType enum values > GDK_CURSOR_LAST instead of seperate
       	functions to choose between cursor types.
      	* app/color_picker.c: use the new dropper cursor.
      	* app/paintbrush.c, app/airbrush.c, app/paintbrush.c: use the new
       	color picking feature of paint_core.
      	* cursors/dropper, cursors/droppermsk: new cursor for the color
       	picker tool. (this cursor is REALLY ugly, someone should fix it)
  21. 05 May, 1999 1 commit