Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
925:15ff92ae7e1b | 926:83db694556eb |
---|---|
78 SDL_bool refresh_name; /* Change window title ? */ | 78 SDL_bool refresh_name; /* Change window title ? */ |
79 SDL_bool window_fulled; /* Window maximized ? */ | 79 SDL_bool window_fulled; /* Window maximized ? */ |
80 SDL_bool mouse_relative; /* Report relative mouse movement */ | 80 SDL_bool mouse_relative; /* Report relative mouse movement */ |
81 SDL_bool locked; /* AES locked for fullscreen ? */ | 81 SDL_bool locked; /* AES locked for fullscreen ? */ |
82 short message[8]; /* To self-send an AES message */ | 82 short message[8]; /* To self-send an AES message */ |
83 | |
84 SDL_bool fullscreen; /* Fullscreen or windowed mode ? */ | |
83 SDL_Rect *SDL_modelist[SDL_NUMMODES+1]; /* Mode list */ | 85 SDL_Rect *SDL_modelist[SDL_NUMMODES+1]; /* Mode list */ |
84 SDL_Surface *icon; /* The icon */ | 86 SDL_Surface *icon; /* The icon */ |
85 }; | 87 }; |
86 | 88 |
87 /* Hidden structure -> variables names */ | 89 /* Hidden structure -> variables names */ |
119 #define GEM_mouse_relative (this->hidden->mouse_relative) | 121 #define GEM_mouse_relative (this->hidden->mouse_relative) |
120 #define GEM_locked (this->hidden->locked) | 122 #define GEM_locked (this->hidden->locked) |
121 #define GEM_message (this->hidden->message) | 123 #define GEM_message (this->hidden->message) |
122 #define SDL_modelist (this->hidden->SDL_modelist) | 124 #define SDL_modelist (this->hidden->SDL_modelist) |
123 #define GEM_icon (this->hidden->icon) | 125 #define GEM_icon (this->hidden->icon) |
126 #define GEM_fullscreen (this->hidden->fullscreen) | |
124 | 127 |
125 #define GEM_buffer1 (this->hidden->buffer1) | 128 #define GEM_buffer1 (this->hidden->buffer1) |
126 #define GEM_buffer2 (this->hidden->buffer2) | 129 #define GEM_buffer2 (this->hidden->buffer2) |
127 #define GEM_bufops (this->hidden->buf2scr_ops) | 130 #define GEM_bufops (this->hidden->buf2scr_ops) |
128 | 131 |