#include <sdlmm_color.h>
Inheritance diagram for SDLmm::ColorRGB:

| Public Methods | |
| ColorRGB () | |
| Default constructor which creates an empty ColorRGB (rgb variables set to zero). More... | |
| ColorRGB (const ColorRGB &color) | |
| This is the copy constructor. Simply initializes the value of an ColorRGB to that of another ColorRGB. More... | |
| ColorRGB (Uint8 nr, Uint8 ng, Uint8 nb) | |
| Constructor which initializes the class from integer values. More... | |
| ColorRGB& | operator= (const ColorRGB &color) | 
| Set the value of an ColorRGB to that of an existing ColorRGB. More... | |
| bool | operator== (const ColorRGB &color) const | 
| Compare two colors for equality. More... | |
| Public Attributes | |
| Uint8 | r | 
| Uint8 | g | 
| Uint8 | b | 
| 
 | 
| Default constructor which creates an empty ColorRGB (rgb variables set to zero). 
 | 
| 
 | 
| This is the copy constructor. Simply initializes the value of an ColorRGB to that of another ColorRGB. 
 
 | 
| 
 | 
| Constructor which initializes the class from integer values. 
 
 | 
| 
 | 
| Set the value of an ColorRGB to that of an existing ColorRGB. 
 | 
| 
 | 
| Compare two colors for equality. 
 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| Documentation automatically generated by  written by Dimitri van Heesch. | Project hosted at |