SPAOP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
wonder::Colour Struct Reference

A struct representing a (RGB) colour. More...

#include <Colours.h>

Public Member Functions

 Colour (uint8_t red, uint8_t green, uint8_t blue)
 Constructor. More...
 

Public Attributes

uint8_t r
 The red value. More...
 
uint8_t g
 The green value. More...
 
uint8_t b
 The blue value. More...
 

Detailed Description

A struct representing a (RGB) colour.

Constructor & Destructor Documentation

wonder::Colour::Colour ( uint8_t  red,
uint8_t  green,
uint8_t  blue 
)
inline

Constructor.

Member Data Documentation

uint8_t wonder::Colour::b

The blue value.

uint8_t wonder::Colour::g

The green value.

uint8_t wonder::Colour::r

The red value.