tbx
0.7.5
|
Class to represent a standard desktop WIMP colour. More...
#include <colour.h>
Public Member Functions | |
WimpColour () | |
Constructor creates black WIMP colour. | |
WimpColour (int c) | |
Construct from an integer colour number. More... | |
operator int () const | |
Return colour number. More... | |
WimpColour & | operator= (int c) |
Set colour number. More... | |
Class to represent a standard desktop WIMP colour.
This is an integer from 0 to 15 or -1 for no colour.
|
inline |
Construct from an integer colour number.
c | colour number -1 to 15. |
|
inline |
Return colour number.
|
inline |
Set colour number.
c | colour number from -1 to 15 |