diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/macgui.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/macgui.h b/src/macgui.h index c1558e98bfe..3bfea33cffc 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -152,7 +152,18 @@ typedef int Selection; | |||
| 152 | #define mac_get_global_mouse GetGlobalMouse | 152 | #define mac_get_global_mouse GetGlobalMouse |
| 153 | #define mac_is_window_toolbar_visible IsWindowToolbarVisible | 153 | #define mac_is_window_toolbar_visible IsWindowToolbarVisible |
| 154 | #define mac_rect_make(f, x, y, w, h) CGRectMake (x, y, w, h) | 154 | #define mac_rect_make(f, x, y, w, h) CGRectMake (x, y, w, h) |
| 155 | |||
| 156 | #if USE_MAC_IMAGE_IO | ||
| 157 | typedef struct _XImage | ||
| 158 | { | ||
| 159 | int width, height; /* size of image */ | ||
| 160 | char *data; /* pointer to image data */ | ||
| 161 | int bytes_per_line; /* accelarator to next line */ | ||
| 162 | int bits_per_pixel; /* bits per pixel (ZPixmap) */ | ||
| 163 | } *Pixmap; | ||
| 164 | #else | ||
| 155 | typedef GWorldPtr Pixmap; | 165 | typedef GWorldPtr Pixmap; |
| 166 | #endif | ||
| 156 | 167 | ||
| 157 | #define Cursor ThemeCursor | 168 | #define Cursor ThemeCursor |
| 158 | #define No_Cursor (-1) | 169 | #define No_Cursor (-1) |