gimp/cursors
Michael Natterer e13afaf260 Cleaned up all places which pick colors to work consistently: the concept
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
	whitespace.

	* app/tools/gimpcolorpickeroptions.[ch]: added a "pick-mode"
	property and a GUI for it. Renamed the "update-active" property to
	"update-toolbox".

	* 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
	implementation.

	* 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
	accordingly.

	* 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.
2003-09-26 13:33:54 +00:00
..
.cvsignore Added ".thumbnails" to .cvsignore 2001-12-12 12:37:28 +00:00
Makefile.am cursors/hand.xbm removed. 2003-09-17 10:42:26 +00:00
airbrush_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
airbrush_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
anchor.xbm Makefile.am cursors/gimp-tool-cursors.xcf cursors/anchor.xbm new cursor 2000-06-14 13:57:17 +00:00
anchor_mask.xbm Makefile.am cursors/gimp-tool-cursors.xcf cursors/anchor.xbm new cursor 2000-06-14 13:57:17 +00:00
background.xbm Cleaned up all places which pick colors to work consistently: the concept 2003-09-26 13:33:54 +00:00
background_mask.xbm Cleaned up all places which pick colors to work consistently: the concept 2003-09-26 13:33:54 +00:00
bad.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
bad_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
bezier_select_small.xbm oops. Added the cursor also to the .xcf file as Sven pointed it out.. /tigert 2000-06-25 18:55:21 +00:00
bezier_select_small_mask.xbm oops. Added the cursor also to the .xcf file as Sven pointed it out.. /tigert 2000-06-25 18:55:21 +00:00
blend_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
blend_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
blur_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
blur_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
bucket_fill_small.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
bucket_fill_small_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
burn_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
burn_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
clone_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
clone_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
control.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
control_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
crop_small.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
crop_small_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
crosshair.xbm Makefile.am cursors/crosshair.xbm new files. 2000-06-06 00:28:28 +00:00
crosshair_mask.xbm Makefile.am cursors/crosshair.xbm new files. 2000-06-06 00:28:28 +00:00
crosshair_small.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
crosshair_small_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
dodge_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
dodge_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
dropper.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
dropper_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
dropper_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
dropper_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
ellipse_select_small.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
ellipse_select_small_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
eraser_small.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
eraser_small_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
flip_horizontal_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
flip_horizontal_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
flip_vertical_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
flip_vertical_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
foreground.xbm Cleaned up all places which pick colors to work consistently: the concept 2003-09-26 13:33:54 +00:00
foreground_mask.xbm Cleaned up all places which pick colors to work consistently: the concept 2003-09-26 13:33:54 +00:00
free_select_small.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
free_select_small_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
fuzzy_select_small.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
fuzzy_select_small_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
gimp-tool-cursors.xcf Cleaned up all places which pick colors to work consistently: the concept 2003-09-26 13:33:54 +00:00
hand_small.xbm cursors/hand.xbm removed. 2003-09-17 10:42:26 +00:00
hand_small_mask.xbm cursors/hand.xbm removed. 2003-09-17 10:42:26 +00:00
ink_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
ink_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
intersect.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
intersect_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
measure_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
measure_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
minus.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
minus_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
mouse.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
mouse_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
move.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
move_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
move_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
move_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
paintbrush_small.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
paintbrush_small_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
pattern.xbm cursors/background.xbm cursors/background_mask.xbm cursors/foreground.xbm 2000-07-29 16:12:40 +00:00
pattern_mask.xbm cursors/background.xbm cursors/background_mask.xbm cursors/foreground.xbm 2000-07-29 16:12:40 +00:00
pencil_small.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
pencil_small_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
perspective_small.xbm Makefile.am cursors/gimp-tool-cursors.xcf cursors/perspective_small.xbm 2000-06-16 11:38:45 +00:00
perspective_small_mask.xbm Makefile.am cursors/gimp-tool-cursors.xcf cursors/perspective_small.xbm 2000-06-16 11:38:45 +00:00
plus.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
plus_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
rect_select_small.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
rect_select_small_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
resize.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
resize_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
resize_small.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
resize_small_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
rotate_small.xbm Makefile.am cursors/gimp-tool-cursors.xcf cursors/perspective_small.xbm 2000-06-16 11:38:45 +00:00
rotate_small_mask.xbm Makefile.am cursors/gimp-tool-cursors.xcf cursors/perspective_small.xbm 2000-06-16 11:38:45 +00:00
scissors_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
scissors_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
shear_small.xbm Makefile.am cursors/gimp-tool-cursors.xcf cursors/perspective_small.xbm 2000-06-16 11:38:45 +00:00
shear_small_mask.xbm Makefile.am cursors/gimp-tool-cursors.xcf cursors/perspective_small.xbm 2000-06-16 11:38:45 +00:00
smudge_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
smudge_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
text_small.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
text_small_mask.xbm Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +00:00
zoom.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
zoom_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
zoom_small.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00
zoom_small_mask.xbm Cursor patch II: This is only the logic inside the cursor system and not 2000-06-09 12:31:19 +00:00