Mercurial > sdl-ios-xcode
comparison include/SDL_video.h @ 3213:1f0f9172a1ff
Documentation fix.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Mon, 06 Jul 2009 21:48:52 +0000 |
parents | 8c7d86ae6509 |
children | b425c3e2b796 |
comparison
equal
deleted
inserted
replaced
3212:759032c318d8 | 3213:1f0f9172a1ff |
---|---|
913 void **pixels, int *pitch); | 913 void **pixels, int *pitch); |
914 | 914 |
915 /** | 915 /** |
916 * \fn int SDL_SetTexturePalette(SDL_TextureID textureID, const SDL_Color * colors, int firstcolor, int ncolors) | 916 * \fn int SDL_SetTexturePalette(SDL_TextureID textureID, const SDL_Color * colors, int firstcolor, int ncolors) |
917 * | 917 * |
918 * \brief Update an indexed texture with a color palette | 918 * \brief Set the collor palette of an indexed texture. |
919 * | 919 * |
920 * \param texture The texture to update | 920 * \param texture The texture to update |
921 * \param colors The array of RGB color data | 921 * \param colors The array of RGB color data |
922 * \param firstcolor The first index to update | 922 * \param firstcolor The first index to update |
923 * \param ncolors The number of palette entries to fill with the color data | 923 * \param ncolors The number of palette entries to fill with the color data |
930 int ncolors); | 930 int ncolors); |
931 | 931 |
932 /** | 932 /** |
933 * \fn int SDL_GetTexturePalette(SDL_TextureID textureID, SDL_Color * colors, int firstcolor, int ncolors) | 933 * \fn int SDL_GetTexturePalette(SDL_TextureID textureID, SDL_Color * colors, int firstcolor, int ncolors) |
934 * | 934 * |
935 * \brief Update an indexed texture with a color palette | 935 * \brief Get the color palette from an indexed texture if it has one. |
936 * | 936 * |
937 * \param texture The texture to update | 937 * \param texture The texture to update |
938 * \param colors The array to fill with RGB color data | 938 * \param colors The array to fill with RGB color data |
939 * \param firstcolor The first index to retrieve | 939 * \param firstcolor The first index to retrieve |
940 * \param ncolors The number of palette entries to retrieve | 940 * \param ncolors The number of palette entries to retrieve |