comparison src/video/SDL_sysvideo.h @ 5266:595814f561f7

There is only one width and height for the window. If those are changed during the course of a fullscreen mode change, then they'll stay that size when returning to windowed mode.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 11 Feb 2011 20:49:13 -0800
parents 7a963be087ef
children b530ef003506
comparison
equal deleted inserted replaced
5265:62d2bc792002 5266:595814f561f7
70 struct SDL_Window 70 struct SDL_Window
71 { 71 {
72 const void *magic; 72 const void *magic;
73 Uint32 id; 73 Uint32 id;
74 char *title; 74 char *title;
75
76 /* The fullscreen values */
77 struct {
78 int x, y;
79 int w, h;
80 } fullscreen;
81
82 /* The windowed values */
83 struct {
84 int x, y;
85 int w, h;
86 } windowed;
87
88 /* The public values */
89 int x, y; 75 int x, y;
90 int w, h; 76 int w, h;
91 Uint32 flags; 77 Uint32 flags;
92 78
93 SDL_DisplayMode fullscreen_mode; 79 SDL_DisplayMode fullscreen_mode;