diff options
author | Hans Breuer <hans@breuer.org> | 2002-01-05 19:07:13 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2002-01-05 19:07:13 +0000 |
commit | ec81d4a8af83b77eae96b908c809a81381527d1a (patch) | |
tree | eb4b072f375157b03764b5c00efebe5a0947e654 /gdk/win32/gdkprivate-win32.h | |
parent | 40cab0a2fbde365a3d436fa900b110954b648d67 (diff) | |
download | gtk+-ec81d4a8af83b77eae96b908c809a81381527d1a.tar.gz |
need to cast image->mem away from void* to avoid 'error C2036: 'void *' :
2002-01-04 Hans Breuer <hans@breuer.org>
* gdk/gdkdraw.c gdk/gdkpixbuf-drawable.c :
need to cast image->mem away from void* to avoid
'error C2036: 'void *' : unknown size'. Doing pointer
arithmetics on void pointers is a GCCism afaik.
* gdk/gdkpixbuf-render.c : #include "gdkinternals.h" for
_gdk_draw_pixbuf ()
* gdk/makefile.msc gdk/win32/makefile.msc
gdk/gtk/makefile.msc.in : use -FI msvc_recommended_pragmas.h
* gdk/win32/gdkdrawable-win32.c : use _gkd_win32_copy_to_image
and take care of image->visual possibly NULL.
* gdk/win32/gdkimage-win32.c : implement _gdk_image_new_for_depth(),
_gdk_win32_copy_to_image() and _gdk_windowing_bits_for_depth().
Again take care of image->visual possibly NULL.
* gdk/win32/gdkprivate-win32.h : declare _gdk_win32_copy_to_image()
* gdk/win32/gdkevents-win32.c : use gdk_drawable_get_colormap
instead of private field access
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) : adapt
colormap setting to the gdk-X behaviour
Diffstat (limited to 'gdk/win32/gdkprivate-win32.h')
-rw-r--r-- | gdk/win32/gdkprivate-win32.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdk/win32/gdkprivate-win32.h b/gdk/win32/gdkprivate-win32.h index dac35be8d3..a238475172 100644 --- a/gdk/win32/gdkprivate-win32.h +++ b/gdk/win32/gdkprivate-win32.h @@ -365,6 +365,15 @@ GdkImage* _gdk_win32_get_image (GdkDrawable *drawable, gint width, gint height); +GdkImage *_gdk_win32_copy_to_image (GdkDrawable *drawable, + GdkImage *image, + gint src_x, + gint src_y, + gint dest_x, + gint dest_y, + gint width, + gint height); + COLORREF _gdk_win32_colormap_color (GdkColormap *colormap, gulong pixel); |