aboutsummaryrefslogtreecommitdiffstats
path: root/src/macgui.h
diff options
context:
space:
mode:
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)