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 [EMACS_22_BASE]


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] Changes to emacs/src/macgui.h,v [EMACS_22_BASE]
Date: Fri, 02 May 2008 09:39:12 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     YAMAMOTO Mitsuharu <mituharu>   08/05/02 09:39:12

Index: macgui.h
===================================================================
RCS file: /sources/emacs/emacs/src/macgui.h,v
retrieving revision 1.37.2.5
retrieving revision 1.37.2.6
diff -u -b -r1.37.2.5 -r1.37.2.6
--- macgui.h    19 Apr 2008 01:24:57 -0000      1.37.2.5
+++ macgui.h    2 May 2008 09:39:12 -0000       1.37.2.6
@@ -152,7 +152,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]