mf
Media Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mf::rgb_color Struct Reference

RGB color, 8 bit. More...

#include <color.h>

Public Member Functions

 rgb_color ()=default
 
 rgb_color (std::uint8_t nr, std::uint8_t ng, std::uint8_t nb)
 
 rgb_color (const rgb_color &)=default
 
rgb_coloroperator= (const rgb_color &)=default
 

Public Attributes

std::uint8_t r
 
std::uint8_t g
 
std::uint8_t b
 

Static Public Attributes

static const rgb_color black
 
static const rgb_color white
 

Detailed Description

RGB color, 8 bit.

Constructor & Destructor Documentation

mf::rgb_color::rgb_color ( )
default
mf::rgb_color::rgb_color ( std::uint8_t  nr,
std::uint8_t  ng,
std::uint8_t  nb 
)
inline
mf::rgb_color::rgb_color ( const rgb_color )
default

Member Function Documentation

rgb_color& mf::rgb_color::operator= ( const rgb_color )
default

Member Data Documentation

std::uint8_t mf::rgb_color::b
const rgb_color mf::rgb_color::black
static
std::uint8_t mf::rgb_color::g
std::uint8_t mf::rgb_color::r
const rgb_color mf::rgb_color::white
static

The documentation for this struct was generated from the following files: