Public Member Functions
GUI::Colour Class Reference

Class representing colour values within the system. More...

List of all members.

Public Member Functions

float getAlpha ()
float getRed ()
float getGreen ()
float getBlue ()
float getHue ()
float getSaturation ()
float getLumination ()
void setAlpha (float alpha)
void setRed (float red)
void setGreen (float green)
void setBlue (float blue)
void set (float red, float green, float blue, float alpha=1.0f)
void setRGB (float red, float green, float blue)
void setRGB (Colour val)
void setHSL (float hue, float saturation, float luminance, float alpha=1.0f)
void invertColour (void)
void invertColourWithAlpha (void)
bool operator= (Colour rhs)
 equality operator

Writable Variables

float a
float r
float g
float b
 Colour components.

Read-Only Variables

float h
float s
float l

Detailed Description

Class representing colour values within the system.