src/video/SDL_sysvideo.h
changeset 5166 4d39eeaad00b
parent 5165 2b1989f59674
child 5174 b9cf75615028
     1.1 --- a/src/video/SDL_sysvideo.h	Thu Feb 03 11:16:57 2011 -0800
     1.2 +++ b/src/video/SDL_sysvideo.h	Thu Feb 03 15:49:37 2011 -0800
     1.3 @@ -80,6 +80,8 @@
     1.4  
     1.5      SDL_DisplayMode fullscreen_mode;
     1.6      
     1.7 +    SDL_Surface *surface;
     1.8 +
     1.9      SDL_WindowShaper *shaper;
    1.10  
    1.11      SDL_WindowUserData *data;
    1.12 @@ -190,7 +192,10 @@
    1.13      void (*RestoreWindow) (_THIS, SDL_Window * window);
    1.14      void (*SetWindowGrab) (_THIS, SDL_Window * window);
    1.15      void (*DestroyWindow) (_THIS, SDL_Window * window);
    1.16 -    
    1.17 +    int (*CreateWindowFramebuffer) (_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch);
    1.18 +    int (*UpdateWindowFramebuffer) (_THIS, SDL_Window * window, int numrects, SDL_Rect * rects);
    1.19 +    void (*DestroyWindowFramebuffer) (_THIS, SDL_Window * window);
    1.20 +
    1.21      /* * * */
    1.22      /*
    1.23       * Shaped-window functions
    1.24 @@ -344,6 +349,7 @@
    1.25  
    1.26  extern void SDL_OnWindowShown(SDL_Window * window);
    1.27  extern void SDL_OnWindowHidden(SDL_Window * window);
    1.28 +extern void SDL_OnWindowResized(SDL_Window * window);
    1.29  extern void SDL_OnWindowMinimized(SDL_Window * window);
    1.30  extern void SDL_OnWindowRestored(SDL_Window * window);
    1.31  extern void SDL_OnWindowFocusGained(SDL_Window * window);