#include <sdlmm_color.h>
Inheritance diagram for SDLmm::ColorRGBA:
Public Methods | |
ColorRGBA () | |
Default constructor which creates an empty ColorRGBA (rgb variables set to zero). More... | |
ColorRGBA (const ColorRGBA &color) | |
This is the copy constructor. Simply initializes the value of an ColorRGBA to that of another ColorRGBA. More... | |
ColorRGBA (Uint8 nr, Uint8 ng, Uint8 nb, Uint8 na) | |
Constructor which initializes the class from integer values. More... | |
ColorRGBA& | operator= (const ColorRGBA &color) |
Set the value of an ColorRGBA to that of an existing ColorRGBA. More... | |
bool | operator== (const ColorRGBA &color) const |
Compare two colors for equality. More... | |
Public Attributes | |
Uint8 | a |
|
Default constructor which creates an empty ColorRGBA (rgb variables set to zero).
|
|
This is the copy constructor. Simply initializes the value of an ColorRGBA to that of another ColorRGBA.
|
|
Constructor which initializes the class from integer values.
|
|
Set the value of an ColorRGBA to that of an existing ColorRGBA.
|
|
Compare two colors for equality.
|
|
|
Documentation automatically generated by ![]() |
Project hosted at |