diff 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
line wrap: on
line diff
--- a/src/video/gem/SDL_gemvideo.h	Mon Jun 06 10:26:40 2005 +0000
+++ b/src/video/gem/SDL_gemvideo.h	Mon Jun 06 10:27:22 2005 +0000
@@ -81,6 +81,7 @@
 	SDL_bool locked;			/* AES locked for fullscreen ? */
 	SDL_bool lock_redraw;		/* Prevent redraw till buffers are setup */
 	short message[8];			/* To self-send an AES message */
+	void *menubar;				/* Menu bar save buffer when going fullscreen */
 
 	SDL_bool fullscreen;		/* Fullscreen or windowed mode ? */
 	SDL_Rect *SDL_modelist[SDL_NUMMODES+1];	/* Mode list */
@@ -126,6 +127,7 @@
 #define SDL_modelist		(this->hidden->SDL_modelist)
 #define GEM_icon			(this->hidden->icon)
 #define GEM_fullscreen		(this->hidden->fullscreen)
+#define GEM_menubar			(this->hidden->menubar)
 
 #define GEM_buffer1			(this->hidden->buffer1)
 #define GEM_buffer2			(this->hidden->buffer2)