Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11gamma.h @ 2214:e7164a4dac62
Added gamma table support to X11. Also now supports DirectColor visuals.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Wed, 25 Jul 2007 21:22:55 +0000 |
parents | 59a667370c57 |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
2213:59a667370c57 | 2214:e7164a4dac62 |
---|---|
22 #include "SDL_config.h" | 22 #include "SDL_config.h" |
23 | 23 |
24 #ifndef _SDL_x11gamma_h | 24 #ifndef _SDL_x11gamma_h |
25 #define _SDL_x11gamma_h | 25 #define _SDL_x11gamma_h |
26 | 26 |
27 extern Colormap X11_LookupColormap(Display * display, int scrNum, | |
28 VisualID vid); | |
27 extern void X11_TrackColormap(Display * display, int scrNum, | 29 extern void X11_TrackColormap(Display * display, int scrNum, |
28 XStandardColormap * cmap, Visual * visual); | 30 Colormap colormap, XStandardColormap * cmap, |
31 Visual * visual); | |
29 | 32 |
30 extern int X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp); | 33 extern int X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp); |
31 extern int X11_GetDisplayGammaRamp(_THIS, Uint16 * ramp); | 34 extern int X11_GetDisplayGammaRamp(_THIS, Uint16 * ramp); |
32 | 35 |
33 #endif | 36 #endif |