emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/macgui.h,v


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/macgui.h,v
Date: Sun, 04 May 2008 19:46:20 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Miles Bader <miles>     08/05/04 19:46:17

Index: src/macgui.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/macgui.h,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- src/macgui.h        23 Apr 2008 05:55:34 -0000      1.45
+++ src/macgui.h        4 May 2008 19:46:15 -0000       1.46
@@ -154,7 +154,18 @@
 #define mac_get_global_mouse   GetGlobalMouse
 #define mac_is_window_toolbar_visible  IsWindowToolbarVisible
 #define mac_rect_make(f, x, y, w, h)   CGRectMake (x, y, w, h)
+
+#if USE_MAC_IMAGE_IO
+typedef struct _XImage
+{
+  int width, height;           /* size of image */
+  char *data;                  /* pointer to image data */
+  int bytes_per_line;          /* accelarator to next line */
+  int bits_per_pixel;          /* bits per pixel (ZPixmap) */
+} *Pixmap;
+#else
 typedef GWorldPtr Pixmap;
+#endif
 
 #define Cursor ThemeCursor
 #define No_Cursor (-1)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]