Public Member Functions | Public Attributes | List of all members
rgb Struct Reference

#include <color.h>

Public Member Functions

FMT_CONSTEXPR rgb ()
 
FMT_CONSTEXPR rgb (color hex)
 
FMT_CONSTEXPR rgb (uint32_t hex)
 
FMT_CONSTEXPR rgb (uint8_t r_, uint8_t g_, uint8_t b_)
 

Public Attributes

uint8_t b
 
uint8_t g
 
uint8_t r
 

Detailed Description

Definition at line 192 of file color.h.

Constructor & Destructor Documentation

◆ rgb() [1/4]

FMT_CONSTEXPR rgb::rgb ( )
inline

Definition at line 193 of file color.h.

◆ rgb() [2/4]

FMT_CONSTEXPR rgb::rgb ( uint8_t  r_,
uint8_t  g_,
uint8_t  b_ 
)
inline

Definition at line 194 of file color.h.

◆ rgb() [3/4]

FMT_CONSTEXPR rgb::rgb ( uint32_t  hex)
inline

Definition at line 195 of file color.h.

◆ rgb() [4/4]

FMT_CONSTEXPR rgb::rgb ( color  hex)
inline

Definition at line 197 of file color.h.

Member Data Documentation

◆ b

uint8_t rgb::b

Definition at line 203 of file color.h.

◆ g

uint8_t rgb::g

Definition at line 202 of file color.h.

◆ r

uint8_t rgb::r

Definition at line 201 of file color.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51