|
Size: 707
Comment:
|
Size: 992
Comment: content added
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 10: | Line 10: |
| ||int||'''ncolors'''|| ||[[SDL_Color]]*||'''colors'''|| ||int||'''refcount'''|| ||[[SDL_PaletteWatch]]*||'''watch'''|| |
||int||'''ncolors'''||the number of colors in the palette|| ||[[SDL_Color]]*||'''colors'''||an array of colors in the palette|| ||<style="color: #808080;">int||<style="color: #808080;">'''refcount'''||<style="color: #808080;">reference count (internal use)|| ||<style="color: #808080;">[[SDL_PaletteWatch]]*||<style="color: #808080;">'''watch'''||<style="color: #808080;">a list of callbacks called when this palette has changed(internal use)|| |
| Line 24: | Line 24: |
| .[[SDL_Color]] .[[SDL_PaletteWatch]] |
SDL_Palette
A structure that contains palette information.
Data Fields
int |
ncolors |
the number of colors in the palette |
colors |
an array of colors in the palette |
|
int |
refcount |
reference count (internal use) |
watch |
a list of callbacks called when this palette has changed(internal use) |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Related Structures
