http://www.jwz.org/xscreensaver/xscreensaver-5.08.tar.gz
[xscreensaver] / OSX / jwxyz.h
index 35e7f5572b56beefaf9006bfaf8f509aef895a3c..150c638db073b185c94b94f8e925957a1fd89044 100644 (file)
@@ -1,4 +1,4 @@
-/* xscreensaver, Copyright (c) 1991-2006 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1991-2008 Jamie Zawinski <jwz@jwz.org>
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
@@ -231,6 +231,7 @@ typedef void *                              XtPointer;
 #define RootWindowOfScreen(s) RootWindow(DisplayOfScreen(s),0)
 #define DisplayWidth XDisplayWidth
 #define DisplayHeight XDisplayHeight
+#define XMaxRequestSize(dpy) (65535)
 
 extern Display *jwxyz_make_display (void *nsview);
 extern void jwxyz_free_display (Display *);
@@ -357,7 +358,7 @@ extern Pixmap XCreatePixmapFromBitmapData (Display *, Drawable,
 extern XPixmapFormatValues *XListPixmapFormats (Display *, int *count_ret);
 
 extern void jwxyz_draw_NSImage (Display *, Drawable, void *NSImage_arg,
-                                XRectangle *geom_ret);
+                                XRectangle *geom_ret, int exif_rotation);
 
 extern int XSetGraphicsExposures (Display *, GC, Bool);
 extern Bool XTranslateCoordinates (Display *, Window src_w, Window dest_w,
@@ -376,7 +377,6 @@ extern int XTextExtents (XFontStruct *, const char *, int length,
                          XCharStruct *overall_ret);
 extern int XTextWidth (XFontStruct *, const char *, int length);
 extern int XSetFont (Display *, GC, Font);
-extern Font XGContextFromGC (GC);
 
 extern Pixmap XCreatePixmap (Display *, Drawable,
                              unsigned int width, unsigned int height,