Mercurial > sdl-ios-xcode
diff src/video/gem/SDL_gemvideo.h @ 926:83db694556eb
Give mouse position relative to window position, and do not generate mouse button event if outside of the window
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Tue, 10 Aug 2004 18:53:38 +0000 |
parents | b8d311d90021 |
children | d9209754ebee |
line wrap: on
line diff
--- a/src/video/gem/SDL_gemvideo.h Mon Aug 09 11:53:14 2004 +0000 +++ b/src/video/gem/SDL_gemvideo.h Tue Aug 10 18:53:38 2004 +0000 @@ -80,6 +80,8 @@ SDL_bool mouse_relative; /* Report relative mouse movement */ SDL_bool locked; /* AES locked for fullscreen ? */ short message[8]; /* To self-send an AES message */ + + SDL_bool fullscreen; /* Fullscreen or windowed mode ? */ SDL_Rect *SDL_modelist[SDL_NUMMODES+1]; /* Mode list */ SDL_Surface *icon; /* The icon */ }; @@ -121,6 +123,7 @@ #define GEM_message (this->hidden->message) #define SDL_modelist (this->hidden->SDL_modelist) #define GEM_icon (this->hidden->icon) +#define GEM_fullscreen (this->hidden->fullscreen) #define GEM_buffer1 (this->hidden->buffer1) #define GEM_buffer2 (this->hidden->buffer2)