Pyro higlevel API
Public Member Functions | Public Attributes | List of all members
os::Color32_s Struct Reference

Colour datatype. More...

Public Member Functions

 Color32_s ()
 
 Color32_s (int r, int g, int b, int a=255)
 
 Color32_s (uint32 c)
 
 operator uint32 () const
 

Public Attributes

uint8 red
 
uint8 green
 
uint8 blue
 
uint8 alpha
 

Detailed Description

Description:
Datatype for colour information, used by many parts of the OS.
See Also
Author
Kurt Skauen (kurt@.nosp@m.athe.nosp@m.os.cx), Henrik Isaksson (henri.nosp@m.k@bo.nosp@m.ing.n.nosp@m.u)

Constructor & Destructor Documentation

os::Color32_s::Color32_s ( )
inline
os::Color32_s::Color32_s ( int  r,
int  g,
int  b,
int  a = 255 
)
inline
os::Color32_s::Color32_s ( uint32  c)
inline

Member Function Documentation

os::Color32_s::operator uint32 ( ) const
inline

Member Data Documentation

uint8 os::Color32_s::alpha
uint8 os::Color32_s::blue
uint8 os::Color32_s::green
uint8 os::Color32_s::red