Mercurial > sdl-ios-xcode
comparison src/video/gem/SDL_gemvideo.h @ 1857:417f2af2bd52
Fix mouse cursor change
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Wed, 14 Jun 2006 18:57:58 +0000 |
parents | 2405517b5eab |
children | c121d94672cb 0fbbaa1f9ed6 |
comparison
equal
deleted
inserted
replaced
1856:21f13c787b46 | 1857:417f2af2bd52 |
---|---|
24 #ifndef _SDL_gemvideo_h | 24 #ifndef _SDL_gemvideo_h |
25 #define _SDL_gemvideo_h | 25 #define _SDL_gemvideo_h |
26 | 26 |
27 #include "SDL_mutex.h" | 27 #include "SDL_mutex.h" |
28 #include "../SDL_sysvideo.h" | 28 #include "../SDL_sysvideo.h" |
29 | |
30 /* The implementation dependent data for the window manager cursor */ | |
31 struct WMcursor { | |
32 MFORM *mform_p; | |
33 }; | |
29 | 34 |
30 /* Hidden "this" pointer for the video functions */ | 35 /* Hidden "this" pointer for the video functions */ |
31 #define _THIS SDL_VideoDevice *this | 36 #define _THIS SDL_VideoDevice *this |
32 | 37 |
33 /* Functions prototypes */ | 38 /* Functions prototypes */ |
80 SDL_bool locked; /* AES locked for fullscreen ? */ | 85 SDL_bool locked; /* AES locked for fullscreen ? */ |
81 SDL_bool lock_redraw; /* Prevent redraw till buffers are setup */ | 86 SDL_bool lock_redraw; /* Prevent redraw till buffers are setup */ |
82 short message[8]; /* To self-send an AES message */ | 87 short message[8]; /* To self-send an AES message */ |
83 void *menubar; /* Menu bar save buffer when going fullscreen */ | 88 void *menubar; /* Menu bar save buffer when going fullscreen */ |
84 SDL_bool use_dev_mouse; /* Use /dev/mouse ? */ | 89 SDL_bool use_dev_mouse; /* Use /dev/mouse ? */ |
90 WMcursor *cursor; /* To restore cursor when leaving/entering window */ | |
85 | 91 |
86 SDL_bool fullscreen; /* Fullscreen or windowed mode ? */ | 92 SDL_bool fullscreen; /* Fullscreen or windowed mode ? */ |
87 SDL_Rect *SDL_modelist[SDL_NUMMODES+1]; /* Mode list */ | 93 SDL_Rect *SDL_modelist[SDL_NUMMODES+1]; /* Mode list */ |
88 SDL_Surface *icon; /* The icon */ | 94 SDL_Surface *icon; /* The icon */ |
89 }; | 95 }; |
129 #define SDL_modelist (this->hidden->SDL_modelist) | 135 #define SDL_modelist (this->hidden->SDL_modelist) |
130 #define GEM_icon (this->hidden->icon) | 136 #define GEM_icon (this->hidden->icon) |
131 #define GEM_fullscreen (this->hidden->fullscreen) | 137 #define GEM_fullscreen (this->hidden->fullscreen) |
132 #define GEM_menubar (this->hidden->menubar) | 138 #define GEM_menubar (this->hidden->menubar) |
133 #define GEM_usedevmouse (this->hidden->use_dev_mouse) | 139 #define GEM_usedevmouse (this->hidden->use_dev_mouse) |
140 #define GEM_cursor (this->hidden->cursor) | |
134 | 141 |
135 #define GEM_buffer1 (this->hidden->buffer1) | 142 #define GEM_buffer1 (this->hidden->buffer1) |
136 #define GEM_buffer2 (this->hidden->buffer2) | 143 #define GEM_buffer2 (this->hidden->buffer2) |
137 #define GEM_bufops (this->hidden->buf2scr_ops) | 144 #define GEM_bufops (this->hidden->buf2scr_ops) |
138 | 145 |