|
⇤ ← Revision 1 as of 2009-12-12 21:20:20
Size: 536
Comment: create page, add content
|
Size: 701
Comment: content added
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 10: | Line 10: |
| ||Uint8||'''r'''|| ||Uint8||'''g'''|| ||Uint8||'''b'''|| ||Uint8||'''unused'''|| |
||Uint8||'''r'''||the red component in the range 0-255|| ||Uint8||'''g'''||the green component in the range 0-255|| ||Uint8||'''b'''||the blue component in the range 0-255|| ||<style="color: #808080;">Uint8||<style="color: #808080;">'''unused'''|| |
| Line 21: | Line 21: |
| [[SDL_Color]] and [[SDL_Colour]] are interchangeable. | [[SDL_Color]] and SDL_``Colour are interchangeable. |
SDL_Color
A structure that contains color information.
Data Fields
Uint8 |
r |
the red component in the range 0-255 |
Uint8 |
g |
the green component in the range 0-255 |
Uint8 |
b |
the blue component in the range 0-255 |
Uint8 |
unused |
Code Examples
You can add your code example here
Remarks
SDL_Color and SDL_Colour are interchangeable.
Related Structures
