#include <sc_store.h>

Public Member Functions

bool operator!= (RGB24 const &that) const
 
bool operator== (RGB24 const &that) const
 
 RGB24 ()=default
 
 RGB24 (uint8_t r, uint8_t g, uint8_t b)
 

Public Attributes

uint8_t b
 
uint8_t g
 
uint8_t r
 

Detailed Description

An RGB color, where each channel is in discrete [0, 255] space.

Constructor & Destructor Documentation

◆ RGB24() [1/2]

SC::Store::RGB24::RGB24 ( )
default

◆ RGB24() [2/2]

SC::Store::RGB24::RGB24 ( uint8_t  r,
uint8_t  g,
uint8_t  b 
)

Member Function Documentation

◆ operator!=()

bool SC::Store::RGB24::operator!= ( RGB24 const &  that) const

◆ operator==()

bool SC::Store::RGB24::operator== ( RGB24 const &  that) const

Member Data Documentation

◆ b

uint8_t SC::Store::RGB24::b

◆ g

uint8_t SC::Store::RGB24::g

◆ r

uint8_t SC::Store::RGB24::r