Mercurial > geeqie
view src/dnd.h @ 27:9c24765c2d3a
Sat Apr 2 17:28:16 2005 John Ellis <johne@verizon.net>
* image.c (image_options_set): Update PixbufRenderer parent window so
that changing 'fit window to image' option works.
* pan-view.c (pan_window_image_zoom_cb): Use same zoom text display as
for main windows.
* pixbuf-renderer.c: Fix (re-implement) check for maximized window
state. Fix pr_source_tile_visible() calculation which was using the x
axis where it should be y. Add redrawn return value to pr_zoom_clamp()
and use that value in pr_zoom_sync() to pass pr_redraw correct args.
##### Note: GQview CVS on sourceforge is not always up to date, please use #####
##### an offical release when making enhancements and translation updates. #####
author | gqview |
---|---|
date | Sat, 02 Apr 2005 22:44:34 +0000 |
parents | d907d608745f |
children | f6e307c7bad6 |
line wrap: on
line source
/* * GQview * (C) 2004 John Ellis * * Author: John Ellis * * This software is released under the GNU General Public License (GNU GPL). * Please read the included file COPYING for more information. * This software comes with no warranty of any kind, use at your own risk! */ #ifndef DND_H #define DND_H enum { TARGET_APP_COLLECTION_MEMBER, TARGET_URI_LIST, TARGET_TEXT_PLAIN }; extern GtkTargetEntry dnd_file_drag_types[]; extern gint dnd_file_drag_types_count; extern GtkTargetEntry dnd_file_drop_types[]; extern gint dnd_file_drop_types_count; /* sets a drag icon to pixbuf, if items is > 1, text is drawn onto icon to indicate value */ void dnd_set_drag_icon(GtkWidget *widget, GdkDragContext *context, GdkPixbuf *pixbuf, gint items); #endif