• 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
    	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.
    e13afaf2
Name
Last commit
Last update
..
.cvsignore Loading commit data...
Makefile.am Loading commit data...
about-dialog.c Loading commit data...
about-dialog.h Loading commit data...
authors.h Loading commit data...
brush-select.c Loading commit data...
brush-select.h Loading commit data...
brushes-menu.c Loading commit data...
brushes-menu.h Loading commit data...
buffers-commands.c Loading commit data...
buffers-commands.h Loading commit data...
buffers-menu.c Loading commit data...
buffers-menu.h Loading commit data...
channels-commands.c Loading commit data...
channels-commands.h Loading commit data...
channels-menu.c Loading commit data...
channels-menu.h Loading commit data...
color-history.c Loading commit data...
color-history.h Loading commit data...
color-notebook.c Loading commit data...
color-notebook.h Loading commit data...
colormap-editor-commands.c Loading commit data...
colormap-editor-commands.h Loading commit data...
colormap-editor-menu.c Loading commit data...
colormap-editor-menu.h Loading commit data...
convert-dialog.c Loading commit data...
convert-dialog.h Loading commit data...
data-commands.c Loading commit data...
data-commands.h Loading commit data...
debug-commands.c Loading commit data...
debug-commands.h Loading commit data...
dialogs-commands.c Loading commit data...
dialogs-commands.h Loading commit data...
dialogs-constructors.c Loading commit data...
dialogs-constructors.h Loading commit data...
dialogs-menu.c Loading commit data...
dialogs-menu.h Loading commit data...
dialogs.c Loading commit data...
dialogs.h Loading commit data...
documents-commands.c Loading commit data...
documents-commands.h Loading commit data...
documents-menu.c Loading commit data...
documents-menu.h Loading commit data...
drawable-commands.c Loading commit data...
drawable-commands.h Loading commit data...
edit-commands.c Loading commit data...
edit-commands.h Loading commit data...
error-console-commands.c Loading commit data...
error-console-commands.h Loading commit data...
error-console-menu.c Loading commit data...
error-console-menu.h Loading commit data...
file-commands.c Loading commit data...
file-commands.h Loading commit data...
file-dialog-utils.c Loading commit data...
file-dialog-utils.h Loading commit data...
file-new-dialog.c Loading commit data...
file-new-dialog.h Loading commit data...
file-open-dialog.c Loading commit data...
file-open-dialog.h Loading commit data...
file-open-menu.c Loading commit data...
file-open-menu.h Loading commit data...
file-save-dialog.c Loading commit data...
file-save-dialog.h Loading commit data...
file-save-menu.c Loading commit data...
file-save-menu.h Loading commit data...
font-select.c Loading commit data...
font-select.h Loading commit data...
gradient-editor-commands.c Loading commit data...
gradient-editor-commands.h Loading commit data...
gradient-editor-menu.c Loading commit data...
gradient-editor-menu.h Loading commit data...
gradient-select.c Loading commit data...
gradient-select.h Loading commit data...
gradients-commands.c Loading commit data...
gradients-commands.h Loading commit data...
gradients-menu.c Loading commit data...
gradients-menu.h Loading commit data...
grid-dialog.c Loading commit data...
grid-dialog.h Loading commit data...
gui-types.h Loading commit data...
gui.c Loading commit data...
gui.h Loading commit data...
help-commands.c Loading commit data...
help-commands.h Loading commit data...
image-commands.c Loading commit data...
image-commands.h Loading commit data...
image-menu.c Loading commit data...
image-menu.h Loading commit data...
images-commands.c Loading commit data...
images-commands.h Loading commit data...
images-menu.c Loading commit data...
images-menu.h Loading commit data...
info-dialog.c Loading commit data...
info-dialog.h Loading commit data...
info-window.c Loading commit data...
info-window.h Loading commit data...
layers-commands.c Loading commit data...
layers-commands.h Loading commit data...
layers-menu.c Loading commit data...
layers-menu.h Loading commit data...
makefile.msc Loading commit data...
menus.c Loading commit data...
menus.h Loading commit data...
module-browser.c Loading commit data...
module-browser.h Loading commit data...
offset-dialog.c Loading commit data...
offset-dialog.h Loading commit data...
palette-editor-commands.c Loading commit data...
palette-editor-commands.h Loading commit data...
palette-editor-menu.c Loading commit data...
palette-editor-menu.h Loading commit data...
palette-import-dialog.c Loading commit data...
palette-import-dialog.h Loading commit data...
palette-select.c Loading commit data...
palette-select.h Loading commit data...
palettes-commands.c Loading commit data...
palettes-commands.h Loading commit data...
palettes-menu.c Loading commit data...
palettes-menu.h Loading commit data...
pattern-select.c Loading commit data...
pattern-select.h Loading commit data...
patterns-menu.c Loading commit data...
patterns-menu.h Loading commit data...
plug-in-commands.c Loading commit data...
plug-in-commands.h Loading commit data...
plug-in-menus.c Loading commit data...
plug-in-menus.h Loading commit data...
preferences-dialog.c Loading commit data...
preferences-dialog.h Loading commit data...
qmask-commands.c Loading commit data...
qmask-commands.h Loading commit data...
qmask-menu.c Loading commit data...
qmask-menu.h Loading commit data...
resize-dialog.c Loading commit data...
resize-dialog.h Loading commit data...
resolution-calibrate-dialog.c Loading commit data...
resolution-calibrate-dialog.h Loading commit data...
select-commands.c Loading commit data...
select-commands.h Loading commit data...
session.c Loading commit data...
session.h Loading commit data...
splash.c Loading commit data...
splash.h Loading commit data...
templates-commands.c Loading commit data...
templates-commands.h Loading commit data...
templates-menu.c Loading commit data...
templates-menu.h Loading commit data...
themes.c Loading commit data...
themes.h Loading commit data...
tips-dialog.c Loading commit data...
tips-dialog.h Loading commit data...
tips-parser.c Loading commit data...
tips-parser.h Loading commit data...
tool-options-dialog.c Loading commit data...
tool-options-dialog.h Loading commit data...
toolbox-menu.c Loading commit data...
toolbox-menu.h Loading commit data...
tools-commands.c Loading commit data...
tools-commands.h Loading commit data...
user-install-dialog.c Loading commit data...
user-install-dialog.h Loading commit data...
vectors-commands.c Loading commit data...
vectors-commands.h Loading commit data...
vectors-menu.c Loading commit data...
vectors-menu.h Loading commit data...
view-commands.c Loading commit data...
view-commands.h Loading commit data...