aboutsummaryrefslogtreecommitdiffstats
path: root/src/macgui.h
diff options
context:
space:
mode:
authorMiles Bader2008-05-04 19:46:16 +0000
committerMiles Bader2008-05-04 19:46:16 +0000
commitf67e15be8d94718b2e2ea7da68eb0b2dc94ce016 (patch)
treeb7cdaa984d777c3bd0425f2ca2612d9a1de0d832 /src/macgui.h
parentf8a295058a5682dbc70f48f376fe51a18d21281a (diff)
parent092a8af3e7cc0d72c417f9eb19c7ac61ef782a87 (diff)
downloademacs-f67e15be8d94718b2e2ea7da68eb0b2dc94ce016.tar.gz
emacs-f67e15be8d94718b2e2ea7da68eb0b2dc94ce016.zip
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1142
Diffstat (limited to 'src/macgui.h')
-rw-r--r--src/macgui.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/macgui.h b/src/macgui.h
index 41ac28f49ec..9d4eb0ed9f4 100644
--- a/src/macgui.h
+++ b/src/macgui.h
@@ -154,7 +154,18 @@ typedef int Selection;
154#define mac_get_global_mouse GetGlobalMouse 154#define mac_get_global_mouse GetGlobalMouse
155#define mac_is_window_toolbar_visible IsWindowToolbarVisible 155#define mac_is_window_toolbar_visible IsWindowToolbarVisible
156#define mac_rect_make(f, x, y, w, h) CGRectMake (x, y, w, h) 156#define mac_rect_make(f, x, y, w, h) CGRectMake (x, y, w, h)
157
158#if USE_MAC_IMAGE_IO
159typedef struct _XImage
160{
161 int width, height; /* size of image */
162 char *data; /* pointer to image data */
163 int bytes_per_line; /* accelarator to next line */
164 int bits_per_pixel; /* bits per pixel (ZPixmap) */
165} *Pixmap;
166#else
157typedef GWorldPtr Pixmap; 167typedef GWorldPtr Pixmap;
168#endif
158 169
159#define Cursor ThemeCursor 170#define Cursor ThemeCursor
160#define No_Cursor (-1) 171#define No_Cursor (-1)