#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 |
Definition at line 83 of file sdlmm_color.h.
|
Default constructor which creates an empty ColorRGBA (rgb variables set to zero).
Definition at line 87 of file sdlmm_color.h. |
|
This is the copy constructor. Simply initializes the value of an ColorRGBA to that of another ColorRGBA.
Definition at line 93 of file sdlmm_color.h. |
|
Constructor which initializes the class from integer values.
Definition at line 103 of file sdlmm_color.h. |
|
Set the value of an ColorRGBA to that of an existing ColorRGBA.
Definition at line 107 of file sdlmm_color.h. |
|
Compare two colors for equality.
Definition at line 120 of file sdlmm_color.h. |
|
Definition at line 124 of file sdlmm_color.h. |
Documentation automatically generated by written by Dimitri van Heesch. | Project hosted at |