Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GAG::Color32 Union Reference
[Libgag graphic library]

#include <GraphicContext.h>

List of all members.

Detailed Description

Color is both 4 one byte components and a 4 bytes unsigned int.

Public Member Functions

 Color32 ()
 Constructor. Default color is opaque black.
 Color32 (Uint8 r, Uint8 g, Uint8 b, Uint8 a=DrawableSurface::ALPHA_OPAQUE)
 Constructor from components.
 Color32 (Uint32 v)
 Constructor from unsigned int.
bool operator< (const Color32 &o) const
 Return true if id <

Public Attributes

Uint32 id
 access as one 4 bytes unsigned int
struct {
   Uint8   r
   Uint8   g
   Uint8   b
   Uint8   a
 access as 4 one byte components

The documentation for this union was generated from the following file:
Generated on Mon Oct 24 17:38:26 2005 for Teem by  doxygen 1.4.2