comparison src/video/gem/SDL_gemvideo.h @ 1420:2405517b5eab

Added preliminary support for MiNT /dev/mouse driver (disabled atm)
author Patrice Mandin <patmandin@gmail.com>
date Thu, 23 Feb 2006 21:51:10 +0000
parents d910939febfa
children 782fd950bd46 417f2af2bd52
comparison
equal deleted inserted replaced
1419:36a5068bf7df 1420:2405517b5eab
79 SDL_bool mouse_relative; /* Report relative mouse movement */ 79 SDL_bool mouse_relative; /* Report relative mouse movement */
80 SDL_bool locked; /* AES locked for fullscreen ? */ 80 SDL_bool locked; /* AES locked for fullscreen ? */
81 SDL_bool lock_redraw; /* Prevent redraw till buffers are setup */ 81 SDL_bool lock_redraw; /* Prevent redraw till buffers are setup */
82 short message[8]; /* To self-send an AES message */ 82 short message[8]; /* To self-send an AES message */
83 void *menubar; /* Menu bar save buffer when going fullscreen */ 83 void *menubar; /* Menu bar save buffer when going fullscreen */
84 SDL_bool use_dev_mouse; /* Use /dev/mouse ? */
84 85
85 SDL_bool fullscreen; /* Fullscreen or windowed mode ? */ 86 SDL_bool fullscreen; /* Fullscreen or windowed mode ? */
86 SDL_Rect *SDL_modelist[SDL_NUMMODES+1]; /* Mode list */ 87 SDL_Rect *SDL_modelist[SDL_NUMMODES+1]; /* Mode list */
87 SDL_Surface *icon; /* The icon */ 88 SDL_Surface *icon; /* The icon */
88 }; 89 };
127 #define GEM_message (this->hidden->message) 128 #define GEM_message (this->hidden->message)
128 #define SDL_modelist (this->hidden->SDL_modelist) 129 #define SDL_modelist (this->hidden->SDL_modelist)
129 #define GEM_icon (this->hidden->icon) 130 #define GEM_icon (this->hidden->icon)
130 #define GEM_fullscreen (this->hidden->fullscreen) 131 #define GEM_fullscreen (this->hidden->fullscreen)
131 #define GEM_menubar (this->hidden->menubar) 132 #define GEM_menubar (this->hidden->menubar)
133 #define GEM_usedevmouse (this->hidden->use_dev_mouse)
132 134
133 #define GEM_buffer1 (this->hidden->buffer1) 135 #define GEM_buffer1 (this->hidden->buffer1)
134 #define GEM_buffer2 (this->hidden->buffer2) 136 #define GEM_buffer2 (this->hidden->buffer2)
135 #define GEM_bufops (this->hidden->buf2scr_ops) 137 #define GEM_bufops (this->hidden->buf2scr_ops)
136 138