src/video/SDL_sysvideo.h
changeset 5249 7a963be087ef
parent 5246 58265e606e4e
child 5261 595814f561f7
     1.1 --- a/src/video/SDL_sysvideo.h	Thu Feb 10 22:49:14 2011 -0800
     1.2 +++ b/src/video/SDL_sysvideo.h	Fri Feb 11 00:25:44 2011 -0800
     1.3 @@ -72,6 +72,20 @@
     1.4      const void *magic;
     1.5      Uint32 id;
     1.6      char *title;
     1.7 +
     1.8 +    /* The fullscreen values */
     1.9 +    struct {
    1.10 +        int x, y;
    1.11 +        int w, h;
    1.12 +    } fullscreen;
    1.13 +
    1.14 +    /* The windowed values */
    1.15 +    struct {
    1.16 +        int x, y;
    1.17 +        int w, h;
    1.18 +    } windowed;
    1.19 +
    1.20 +    /* The public values */
    1.21      int x, y;
    1.22      int w, h;
    1.23      Uint32 flags;
    1.24 @@ -106,7 +120,6 @@
    1.25      SDL_DisplayMode *display_modes;
    1.26      SDL_DisplayMode desktop_mode;
    1.27      SDL_DisplayMode current_mode;
    1.28 -    SDL_bool updating_fullscreen;
    1.29  
    1.30      SDL_Window *fullscreen_window;
    1.31  
    1.32 @@ -178,6 +191,8 @@
    1.33      void (*MaximizeWindow) (_THIS, SDL_Window * window);
    1.34      void (*MinimizeWindow) (_THIS, SDL_Window * window);
    1.35      void (*RestoreWindow) (_THIS, SDL_Window * window);
    1.36 +    void (*PrepWindowFullscreen) (_THIS, SDL_Window * window);
    1.37 +    void (*SetWindowFullscreen) (_THIS, SDL_Window * window);
    1.38      void (*SetWindowGrab) (_THIS, SDL_Window * window);
    1.39      void (*DestroyWindow) (_THIS, SDL_Window * window);
    1.40      int (*CreateWindowFramebuffer) (_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch);