gimp/app/display
Michael Natterer 7609645970 Implement dragging and dropping in any GdkPixbuf supported format. Fixes
2005-04-09  Michael Natterer  <mitch@gimp.org>

	Implement dragging and dropping in any GdkPixbuf supported
	format. Fixes bug #172794 and bug #172795.

	* app/core/gimplayer.[ch] (gimp_layer_new_from_region): new
	function which contains all stuff that was in
	gimp_layer_new_from_tiles().

	(gimp_layer_new_from_tiles): use above function.
	(gimp_layer_new_from_pixbuf): new function.

	* app/widgets/Makefile.am
	* app/widgets/gimppixbuf.[ch]: new files containing GdkPixbuf
	utility functions for clipboard and DnD.

	* app/widgets/gimpselectiondata.[ch]: removed
	gimp_selection_data_set,get_pixbuf(), GTK+ provides the same API.
	Also removed GdkAtom parameters all over the place because it's
	always the same as selection_data->target.

	* app/widgets/gimpclipboard.c: use the new pixbuf utility
	functions and gtk_selection_data_set,get_pixbuf().

	* app/widgets/widgets-enums.h
	* app/widgets/gimpdnd.[ch]: removed never-implemented
	GIMP_DND_TYPE_PNG and added a generic GIMP_DND_TYPE_PIXBUF
	instead. Added API to drag and drop GdkPixbufs which transparently
	converts from/to and GdkPixbuf-supported image format. Removed
	passing around of GdkAtoms, since they were always the same
	as selection_data->target.

	* app/widgets/gimpdnd-xds.[ch]: follow GdkAtom parameter removal.

	* app/widgets/gimpcontainertreeview.[ch]: added virtual function
	GimpContainerTreeView::drop_pixbuf().

	* app/widgets/gimpcontainertreeview-dnd.c: dispatch drop_pixbuf().

	* app/widgets/gimplayertreeview.c: implement drop_pixbuf().

	* app/widgets/gimpdrawabletreeview.c: allow to drag all drawables
	as pixbufs.

	* app/display/gimpdisplayshell-dnd.c: allow dropping of pixbufs.
2005-04-09 17:56:04 +00:00
..
.cvsignore new function to set the sensitivity of an option_menu. 2002-03-17 16:35:05 +00:00
display-enums.c Don't store human readable and translatable enum/flag strings in 2004-10-25 17:55:25 +00:00
display-enums.h Bill Skaggs <weskaggs@primate.ucdavis.edu> 2004-06-30 15:47:32 +00:00
display-types.h app/display/gimpnavigationview.c renamed these files to... 2004-08-25 16:02:10 +00:00
gimpcanvas.c fixed gtk-doc comments; added G_GNUC_PRINTF attribute. 2005-03-23 13:53:31 +00:00
gimpcanvas.h fixed gtk-doc comments; added G_GNUC_PRINTF attribute. 2005-03-23 13:53:31 +00:00
gimpdisplay-foreach.c keep the container of dirty images up to date. 2004-10-13 01:39:57 +00:00
gimpdisplay-foreach.h *** empty log message *** 2004-07-13 16:36:29 +00:00
gimpdisplay-handlers.c Code review & cleanup: 2004-07-14 10:31:59 +00:00
gimpdisplay-handlers.h fscking broken pipe... 2001-10-31 21:20:09 +00:00
gimpdisplay.c added GimpProgress::pulse. 2005-02-12 14:18:12 +00:00
gimpdisplay.h *** empty log message *** 2004-07-13 16:36:29 +00:00
gimpdisplayoptions.c app/actions/view-actions.c app/actions/view-commands.[ch] 2005-03-05 00:10:40 +00:00
gimpdisplayoptions.h app/actions/view-actions.c app/actions/view-commands.[ch] 2005-03-05 00:10:40 +00:00
gimpdisplayshell-appearance.c app/actions/view-actions.c app/actions/view-commands.[ch] 2005-03-05 00:10:40 +00:00
gimpdisplayshell-appearance.h app/actions/view-actions.c app/actions/view-commands.[ch] 2005-03-05 00:10:40 +00:00
gimpdisplayshell-autoscroll.c need to snap the coordinates before passing them to the active tool. 2005-01-03 15:00:55 +00:00
gimpdisplayshell-autoscroll.h app/display/Makefile.am app/display/gimpdisplayshell-autoscroll.[ch] new 2005-01-02 20:42:31 +00:00
gimpdisplayshell-callbacks.c More sample point stuff. Addresses bug #137776. 2005-03-09 00:23:19 +00:00
gimpdisplayshell-callbacks.h don't connect to "event" and don't connect any canvas event to 2004-11-09 11:38:29 +00:00
gimpdisplayshell-close.c use GTK_STOCK_DELETE for the "Don't Save" button. 2005-03-31 00:50:13 +00:00
gimpdisplayshell-close.h app/display/Makefile.am new files for gimp_display_shell_close() and its 2004-07-14 00:15:57 +00:00
gimpdisplayshell-coords.c app/display/Makefile.am app/display/gimpdisplayshell-autoscroll.[ch] new 2005-01-02 20:42:31 +00:00
gimpdisplayshell-coords.h app/display/Makefile.am app/display/gimpdisplayshell-autoscroll.[ch] new 2005-01-02 20:42:31 +00:00
gimpdisplayshell-cursor.c app/dialogs/Makefile.am removed. 2005-04-04 23:48:19 +00:00
gimpdisplayshell-cursor.h remember the last used GimpCursorFormat so changing the format in prefs 2004-06-14 10:19:39 +00:00
gimpdisplayshell-dnd.c Implement dragging and dropping in any GdkPixbuf supported format. Fixes 2005-04-09 17:56:04 +00:00
gimpdisplayshell-dnd.h added new function gimp_display_shell_dnd_init() which connects all DND 2005-01-15 19:31:09 +00:00
gimpdisplayshell-draw.c app/core/gimpimage-sample-points.c app/display/gimpdisplayshell-draw.c 2005-03-19 22:04:31 +00:00
gimpdisplayshell-draw.h app/actions/view-actions.c app/actions/view-commands.[ch] 2005-03-05 00:10:40 +00:00
gimpdisplayshell-filter-dialog.c app/actions/data-commands.c app/actions/edit-commands.c 2005-02-10 11:00:46 +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 simplified the code 2005-02-21 01:08:44 +00:00
gimpdisplayshell-filter.h Another step towards color management: 2005-02-21 00:45:17 +00:00
gimpdisplayshell-handlers.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2005-03-04 16:34:59 +00:00
gimpdisplayshell-handlers.h app/Makefile.am removed. 2001-11-10 19:10:28 +00:00
gimpdisplayshell-layer-select.c app/widgets/gimppreview-popup.c renamed these files... 2004-08-25 22:31: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-preview.c Further optimization of perspective tool preview - never calculate the 2004-11-15 15:22:45 +00:00
gimpdisplayshell-preview.h Fixed incorrect logic that caused perfect-but-slow pointer tracking to be 2004-06-13 01:37:29 +00:00
gimpdisplayshell-render.c no need to include gimpdisplayshell-render.h here. 2004-10-01 09:50:04 +00:00
gimpdisplayshell-render.h no need to include gimpdisplayshell-render.h here. 2004-10-01 09:50:04 +00:00
gimpdisplayshell-scale.c app/actions/data-commands.c app/actions/edit-commands.c 2005-02-10 11:00:46 +00:00
gimpdisplayshell-scale.h Changed "Zoom to Fit Window" command to "Fit Image in Window" and added 2004-06-20 12:09:03 +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 app/dialogs/Makefile.am removed. 2005-04-04 23:48:19 +00:00
gimpdisplayshell-title.h massively changed: removed message_ids, the message mem chunk and all 2004-07-14 16:37:13 +00:00
gimpdisplayshell-transform.c made gtk-doc even happier; clarified meaning of the "use_offsets" 2004-07-16 12:41:05 +00:00
gimpdisplayshell-transform.h Fixed several off-by-one problems in display: 2004-03-20 21:59:41 +00:00
gimpdisplayshell.c changed GimpConfig utility functions to take GObject variables instead of 2005-04-07 10:05:54 +00:00
gimpdisplayshell.h app/dialogs/Makefile.am removed. 2005-04-04 23:48:19 +00:00
gimpnavigationeditor.c Ported GimpNavigationView to use actions for its buttons: 2004-09-26 15:21:44 +00:00
gimpnavigationeditor.h Ported GimpNavigationView to use actions for its buttons: 2004-09-26 15:21:44 +00:00
gimpscalecombobox.c app/display/gimpscalecombobox.[ch] pass an action label to 2005-02-09 02:33:48 +00:00
gimpscalecombobox.h app/display/gimpscalecombobox.[ch] pass an action label to 2005-02-09 02:33:48 +00:00
gimpstatusbar.c do nothing if this message is at the top of the stack already. 2005-04-01 12:26:32 +00:00
gimpstatusbar.h added new function gimp_statusbar_push_length(), which works exactly like 2004-11-10 01:17:40 +00:00
Makefile.am app/base/Makefile.am app/composite/*akefile.am app/config/*akefile.am 2005-02-27 13:22:01 +00:00
makefile.msc TILE_WIDTH is used unconditionally so always include "tile.h" WIN32 needs 2005-02-19 00:50:36 +00:00