• 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
app Loading commit data...
cursors Loading commit data...
data Loading commit data...
debian Loading commit data...
devel-docs Loading commit data...
docs Loading commit data...
etc Loading commit data...
libgimp Loading commit data...
libgimpbase Loading commit data...
libgimpcolor Loading commit data...
libgimpconfig Loading commit data...
libgimpmath Loading commit data...
libgimpmodule Loading commit data...
libgimpwidgets Loading commit data...
m4macros Loading commit data...
modules Loading commit data...
plug-ins Loading commit data...
po Loading commit data...
po-libgimp Loading commit data...
po-plug-ins Loading commit data...
po-script-fu Loading commit data...
regexrepl Loading commit data...
themes Loading commit data...
tips Loading commit data...
tools Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-0 Loading commit data...
ChangeLog.pre-1-2 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
PLUGIN_MAINTAINERS Loading commit data...
README Loading commit data...
README.i18n Loading commit data...
README.win32 Loading commit data...
TODO.xml Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.in Loading commit data...
config.h.win32 Loading commit data...
configure.in Loading commit data...
gimp-1.3.pc.in Loading commit data...
gimp-2.0.pc.in Loading commit data...
gimp.pc.in Loading commit data...
gimp.spec.in Loading commit data...
gimptool-1.3.in Loading commit data...
gimptool-2.0.in Loading commit data...
gimptool-win32.c.in Loading commit data...
gimpui-1.3.pc.in Loading commit data...
gimpui-2.0.pc.in Loading commit data...
gimpui.pc.in Loading commit data...
makefile.msc Loading commit data...