Colobot
Public Member Functions | Public Attributes | List of all members
Gfx::IntColor Struct Reference

Color with integer values. More...

#include <color.h>

Public Member Functions

 IntColor (unsigned char aR=0, unsigned char aG=0, unsigned char aB=0, unsigned char aA=0)
 Constructor; default values are (0,0,0,0) = black. More...
 

Public Attributes

unsigned char r
 Red, green, blue and alpha components. More...
 
unsigned char g
 
unsigned char b
 
unsigned char a
 

Detailed Description

Color with integer values.

May be used for precise pixel manipulations.

Constructor & Destructor Documentation

Gfx::IntColor::IntColor ( unsigned char  aR = 0,
unsigned char  aG = 0,
unsigned char  aB = 0,
unsigned char  aA = 0 
)
inlineexplicit

Constructor; default values are (0,0,0,0) = black.

Member Data Documentation

unsigned char Gfx::IntColor::r

Red, green, blue and alpha components.


The documentation for this struct was generated from the following file: