Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

PG_Color Class Reference

List of all members.

Detailed Description

Examples:

paratest.cpp.


Public Member Functions

 PG_Color ()
 PG_Color (const SDL_Color &c)
 PG_Color (Uint32 c)
 PG_Color (Uint8 r, Uint8 g, Uint8 b)
PG_Color & operator= (const SDL_Color &c)
PG_Color & operator= (Uint32 c)
 operator Uint32 () const
Uint32 MapRGB (SDL_PixelFormat *format) const
Uint32 MapRGBA (SDL_PixelFormat *format, Uint8 a) const
bool operator!= (const PG_Color &c) const


Constructor & Destructor Documentation

PG_Color::PG_Color (   ) 
 

PG_Color::PG_Color (  const SDL_Color &  c  ) 
 

PG_Color::PG_Color (  Uint32  c  ) 
 

PG_Color::PG_Color (  Uint8  r,
Uint8  g,
Uint8  b
) 
 


Member Function Documentation

Uint32 PG_Color::MapRGB (  SDL_PixelFormat *  format  )  const [inline]
 

Uint32 PG_Color::MapRGBA (  SDL_PixelFormat *  format,
Uint8  a
)  const [inline]
 

PG_Color::operator Uint32 (   )  const
 

bool PG_Color::operator!= (  const PG_Color &  c  )  const [inline]
 

PG_Color& PG_Color::operator= (  Uint32  c  ) 
 

PG_Color& PG_Color::operator= (  const SDL_Color &  c  ) 
 



The ParaGUI Project - Alexander Pipelka