Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2009-12-13 07:23:25
Size: 707
Editor: SheenaSmith
Comment:
Revision 4 as of 2009-12-13 07:29:00
Size: 992
Editor: SheenaSmith
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

SDL_Color*

colors

an array of colors in the palette

int

refcount

reference count (internal use)

SDL_PaletteWatch*

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


CategoryStruct

None: SDL_Palette (last edited 2014-09-22 17:28:04 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit