comparison src/video/gem/SDL_gemvideo.h @ 1069:8b1c83edcde2

Restore and save menu bar when entering and exiting fullscreen mode
author Patrice Mandin <patmandin@gmail.com>
date Mon, 06 Jun 2005 10:27:22 +0000
parents 475166d13b44
children 936da0056ed3
comparison
equal deleted inserted replaced
1068:adb547913775 1069:8b1c83edcde2
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 SDL_bool lock_redraw; /* Prevent redraw till buffers are setup */ 82 SDL_bool lock_redraw; /* Prevent redraw till buffers are setup */
83 short message[8]; /* To self-send an AES message */ 83 short message[8]; /* To self-send an AES message */
84 void *menubar; /* Menu bar save buffer when going fullscreen */
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 };
124 #define GEM_lock_redraw (this->hidden->lock_redraw) 125 #define GEM_lock_redraw (this->hidden->lock_redraw)
125 #define GEM_message (this->hidden->message) 126 #define GEM_message (this->hidden->message)
126 #define SDL_modelist (this->hidden->SDL_modelist) 127 #define SDL_modelist (this->hidden->SDL_modelist)
127 #define GEM_icon (this->hidden->icon) 128 #define GEM_icon (this->hidden->icon)
128 #define GEM_fullscreen (this->hidden->fullscreen) 129 #define GEM_fullscreen (this->hidden->fullscreen)
130 #define GEM_menubar (this->hidden->menubar)
129 131
130 #define GEM_buffer1 (this->hidden->buffer1) 132 #define GEM_buffer1 (this->hidden->buffer1)
131 #define GEM_buffer2 (this->hidden->buffer2) 133 #define GEM_buffer2 (this->hidden->buffer2)
132 #define GEM_bufops (this->hidden->buf2scr_ops) 134 #define GEM_bufops (this->hidden->buf2scr_ops)
133 135