1 #ifndef AETHER_COLOUR_HPP 2 #define AETHER_COLOUR_HPP 30 Colour(
const unsigned char r,
const unsigned char g,
const unsigned char b,
const unsigned char a);
37 unsigned char r()
const;
44 unsigned char g()
const;
51 unsigned char b()
const;
58 unsigned char a()
const;
65 void setR(
const unsigned char r);
73 void setG(
const unsigned char g);
81 void setB(
const unsigned char b);
89 void setA(
const unsigned char a);
99 void setColour(
const unsigned char r,
const unsigned char g,
const unsigned char b,
const unsigned char a);
void setG(const unsigned char g)
Set the green component of the colour.
void setB(const unsigned char b)
Set the blue component of the colour.
void setR(const unsigned char r)
Set the red component of the colour.
Stores RGBA values representing a colour. Each component can be within the range 0 to 255 (inclusive)...
Definition: Colour.hpp:9
unsigned char b() const
Return the blue component.
void setA(const unsigned char a)
Set the alpha component of the colour.
Base namespace for all Aether related classes and functions.
unsigned char a() const
Return the alpha component.
unsigned char g() const
Return the green component.
unsigned char r() const
Return the red component.
void setColour(const unsigned char r, const unsigned char g, const unsigned char b, const unsigned char a)
Set all components.