Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11gamma.h @ 3010:a6694a812119
Modified and totally untested code to load the color tables for DirectColor and PseudoColor windows.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Fri, 09 Jan 2009 20:41:31 +0000 |
parents | 99210400e8b9 |
children | 4b594623401b |
comparison
equal
deleted
inserted
replaced
3009:546c022a9ae5 | 3010:a6694a812119 |
---|---|
25 #define _SDL_x11gamma_h | 25 #define _SDL_x11gamma_h |
26 | 26 |
27 extern Colormap X11_LookupColormap(Display * display, int scrNum, | 27 extern Colormap X11_LookupColormap(Display * display, int scrNum, |
28 VisualID vid); | 28 VisualID vid); |
29 extern void X11_TrackColormap(Display * display, int scrNum, | 29 extern void X11_TrackColormap(Display * display, int scrNum, |
30 Colormap colormap, XStandardColormap * cmap, | 30 Colormap colormap, |
31 Visual * visual); | 31 Visual * visual, XColor * ramp); |
32 | 32 |
33 extern int X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp); | 33 extern int X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp); |
34 extern int X11_GetDisplayGammaRamp(_THIS, Uint16 * ramp); | 34 extern int X11_GetDisplayGammaRamp(_THIS, Uint16 * ramp); |
35 | 35 |
36 #endif | 36 #endif |