src/video/SDL_sysvideo.h
changeset 5466 006883d5fa51
parent 5398 83816c8a2b58
child 5535 96594ac5fd1a
     1.1 --- a/src/video/SDL_sysvideo.h	Thu Mar 10 01:03:43 2011 -0800
     1.2 +++ b/src/video/SDL_sysvideo.h	Fri Mar 11 08:49:20 2011 -0800
     1.3 @@ -81,6 +81,10 @@
     1.4  
     1.5      SDL_DisplayMode fullscreen_mode;
     1.6      
     1.7 +    float brightness;
     1.8 +    Uint16 *gamma;
     1.9 +    Uint16 *saved_gamma;        /* (just offset into gamma) */
    1.10 +
    1.11      SDL_Surface *surface;
    1.12      SDL_bool surface_valid;
    1.13  
    1.14 @@ -184,6 +188,8 @@
    1.15      void (*MinimizeWindow) (_THIS, SDL_Window * window);
    1.16      void (*RestoreWindow) (_THIS, SDL_Window * window);
    1.17      void (*SetWindowFullscreen) (_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool fullscreen);
    1.18 +    int (*SetWindowGammaRamp) (_THIS, SDL_Window * window, const Uint16 * ramp);
    1.19 +    int (*GetWindowGammaRamp) (_THIS, SDL_Window * window, Uint16 * ramp);
    1.20      void (*SetWindowGrab) (_THIS, SDL_Window * window);
    1.21      void (*DestroyWindow) (_THIS, SDL_Window * window);
    1.22      int (*CreateWindowFramebuffer) (_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch);