Mercurial > sdl-ios-xcode
comparison src/video/SDL_pixels_c.h @ 5281:15a71bec4a55
merged
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Sat, 12 Feb 2011 19:16:09 -0800 |
parents | b530ef003506 |
children |
comparison
equal
deleted
inserted
replaced
5219:adfcdd311ae0 | 5281:15a71bec4a55 |
---|---|
1 /* | 1 /* |
2 SDL - Simple DirectMedia Layer | 2 SDL - Simple DirectMedia Layer |
3 Copyright (C) 1997-2010 Sam Lantinga | 3 Copyright (C) 1997-2011 Sam Lantinga |
4 | 4 |
5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
6 modify it under the terms of the GNU Lesser General Public | 6 modify it under the terms of the GNU Lesser General Public |
7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
8 version 2.1 of the License, or (at your option) any later version. | 8 version 2.1 of the License, or (at your option) any later version. |
43 | 43 |
44 /* Miscellaneous functions */ | 44 /* Miscellaneous functions */ |
45 extern int SDL_CalculatePitch(SDL_Surface * surface); | 45 extern int SDL_CalculatePitch(SDL_Surface * surface); |
46 extern void SDL_DitherColors(SDL_Color * colors, int bpp); | 46 extern void SDL_DitherColors(SDL_Color * colors, int bpp); |
47 extern Uint8 SDL_FindColor(SDL_Palette * pal, Uint8 r, Uint8 g, Uint8 b); | 47 extern Uint8 SDL_FindColor(SDL_Palette * pal, Uint8 r, Uint8 g, Uint8 b); |
48 extern void SDL_ApplyGamma(Uint16 * gamma, SDL_Color * colors, | |
49 SDL_Color * output, int ncolors); | |
50 | 48 |
51 /* vi: set ts=4 sw=4 expandtab: */ | 49 /* vi: set ts=4 sw=4 expandtab: */ |