gimp/app/display
Michael Natterer 25b81b1570 Fixed lots of QuickMask brokenness by letting the image adjust its
2004-02-14  Michael Natterer  <mitch@gimp.org>

	Fixed lots of QuickMask brokenness by letting the image adjust
	its qmask_state automatically:

	* app/core/gimpimage-qmask.h: #define GIMP_IMAGE_QMASK_NAME "Qmask".
	Use the define in all files below.

	* app/core/gimpimage.[ch]: split gimp_image_drawable_add,_remove()
	into separate handlers for layers and channels. Added a
	"name_changed" handler for all channels. In the channel "add",
	"remove" and "name_changed" handlers, check if it was a channel
	named "Qmask" that was added, removed or renamed and call
	gimp_image_set_qmask_state() accordingly.

	* app/core/core-enums.[ch]
	* app/core/gimpimage-undo-push.[ch]
	* app/core/gimpundo.c: removed all Qmask undo code because the image
	does the right thing without undo interaction now.

	* app/core/gimpimage-qmask.c (gimp_image_set_qmask_state): set
	gimage->qmask_state early so we can return early when called
	recursively. Removed calls to gimp_image_undo_push_image_qmask().
	Returned "removed" callback (it was utterly broken the way it was
	implemented).

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_qmask_toggled): check if the image's
	qmask state needs to be changed before changing it.

	* app/xcf/xcf-load.c (xcf_load_channel): removed code which
	recognized the qmask. GimpImage does this automatically now.

	* app/gui/qmask-commands.c: cleanup.

	* app/widgets/gimpimagedock.c (gimp_image_dock_constructor):
	destroy the "/Select/By Color" and "/Select/Toggle QuickMask" menu
	items.

	* app/widgets/image-menu.c (image_menu_update): changed accordingly.
2004-02-14 15:37:23 +00:00
..
.cvsignore new function to set the sensitivity of an option_menu. 2002-03-17 16:35:05 +00:00
Makefile.am removed all drawing functions. The file was still too large. 2004-02-07 00:16:52 +00:00
display-enums.c app/display/Makefile.am new files that implement a GimpConfig object with 2003-10-22 14:46:05 +00:00
display-enums.h app/display/Makefile.am new files that implement a GimpConfig object with 2003-10-22 14:46:05 +00:00
display-types.h app/display/Makefile.am app/display/display-types.h added GimpCanvas, 2003-11-09 23:24:40 +00:00
gimpcanvas.c use GDK_CAP_NOT_LAST as the cap_style for all canvas drawing. 2004-02-12 16:01:18 +00:00
gimpcanvas.h added gimp_canvas_set_clip_region(). 2003-11-11 17:07:41 +00:00
gimpdisplay-area.c Wishlist item #57669: 2001-11-16 15:08:59 +00:00
gimpdisplay-area.h Wishlist item #57669: 2001-11-16 15:08:59 +00:00
gimpdisplay-foreach.c call tool_manager_oper_active_update() also on GDK_ENTER_NOTIFY, 2003-10-29 15:03:56 +00:00
gimpdisplay-foreach.h call tool_manager_oper_active_update() also on GDK_ENTER_NOTIFY, 2003-10-29 15:03:56 +00:00
gimpdisplay-handlers.c removed all drawing functions. The file was still too large. 2004-02-07 00:16:52 +00:00
gimpdisplay-handlers.h fscking broken pipe... 2001-10-31 21:20:09 +00:00
gimpdisplay.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpdisplay.h Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpdisplayoptions.c gimp/app/display/gimpdisplayoptions.c added blurbs to the remaining 2003-10-23 17:02:37 +00:00
gimpdisplayoptions.h changed PROP_SHOW_ACTIVE_LAYER to PROP_SHOW_LAYER_BOUNDARY to be 2003-10-23 07:33:16 +00:00
gimpdisplayshell-appearance.c update shell->popup_factory only if this is the active display or we will 2003-11-11 13:09:50 +00:00
gimpdisplayshell-appearance.h app/display/Makefile.am new files that implement a GimpConfig object with 2003-10-22 14:46:05 +00:00
gimpdisplayshell-callbacks.c Fixed lots of QuickMask brokenness by letting the image adjust its 2004-02-14 15:37:23 +00:00
gimpdisplayshell-callbacks.h app/display/gimpdisplayshell-callbacks.[ch] override 2003-02-25 19:12:11 +00:00
gimpdisplayshell-cursor.c added a GdkDisplay parameter and added the convenience function 2003-11-01 20:53:18 +00:00
gimpdisplayshell-cursor.h bumped the version number to 1.3.12. 2003-01-03 18:01:30 +00:00
gimpdisplayshell-dnd.c when dropping a color on a text layer, change the text color. This is a 2004-02-11 21:42:22 +00:00
gimpdisplayshell-dnd.h added gimp_display_shell_drop_svg() (untested because there is no place to 2003-12-21 22:09:03 +00:00
gimpdisplayshell-draw.c intersect the passed in area with the real area of the image in display 2004-02-07 01:41:30 +00:00
gimpdisplayshell-draw.h removed all drawing functions. The file was still too large. 2004-02-07 00:16:52 +00:00
gimpdisplayshell-filter-dialog.c libgimpwidgets/gimpwidgetsmarshal.list added signals ::added(), 2003-11-22 15:54:12 +00:00
gimpdisplayshell-filter-dialog.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-filter.c forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-filter.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-handlers.c removed all drawing functions. The file was still too large. 2004-02-07 00:16:52 +00:00
gimpdisplayshell-handlers.h app/Makefile.am removed. 2001-11-10 19:10:28 +00:00
gimpdisplayshell-layer-select.c don't allow to select anything but the floating selection. Fixes bug 2004-01-18 12:16:44 +00:00
gimpdisplayshell-layer-select.h To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:29:47 +00:00
gimpdisplayshell-render.c use gdouble instead of gfloat for x and y scale factors so gfloat's 2004-02-04 02:00:04 +00:00
gimpdisplayshell-render.h added "gchar *stock_id" to the GimpViewable struct. It is used by the GUI 2003-02-26 16:17:10 +00:00
gimpdisplayshell-scale.c improved dialog layout. 2004-02-03 15:51:25 +00:00
gimpdisplayshell-scale.h Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpdisplayshell-scroll.c Added support for permanently showing the visible vectors, not only when 2003-09-11 22:24:30 +00:00
gimpdisplayshell-scroll.h fscking broken pipe... 2001-10-31 21:20:09 +00:00
gimpdisplayshell-selection.c don't draw the outbounds selection when the selection is hidden (bug 2004-01-26 19:55:34 +00:00
gimpdisplayshell-selection.h some more cleanup. 2003-11-11 15:29:47 +00:00
gimpdisplayshell-title.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpdisplayshell-title.h bumped the version number to 1.3.12. 2003-01-03 18:01:30 +00:00
gimpdisplayshell-transform.c Fixed bug #78732 (don't paste off screen): 2004-01-15 14:36:43 +00:00
gimpdisplayshell-transform.h Fixed bug #78732 (don't paste off screen): 2004-01-15 14:36:43 +00:00
gimpdisplayshell.c make the snapping width a parameter of the snapping functions. 2004-02-13 13:31:16 +00:00
gimpdisplayshell.h removed all drawing functions. The file was still too large. 2004-02-07 00:16:52 +00:00
gimpnavigationeditor.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpnavigationeditor.h themes/Default/images/Makefile.am 2003-04-03 16:13:12 +00:00
gimpnavigationview.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpnavigationview.h themes/Default/images/Makefile.am 2003-04-03 16:13:12 +00:00
gimpprogress.c removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 15:27:05 +00:00
gimpprogress.h app/config/gimpconfig-deserialize.c app/config/gimpconfig-serialize.c 2003-08-08 19:30:23 +00:00
gimpstatusbar.c app/core/Makefile.am added small wrappers to ease handling of image units 2003-10-01 17:32:14 +00:00
gimpstatusbar.h removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
makefile.msc new file to keep common definitions for the msc build use common 2004-02-07 23:01:33 +00:00