tcMenu
Public Member Functions | Public Attributes | List of all members
RgbColor32 Struct Reference

#include <ScrollChoiceMenuItem.h>

Public Member Functions

 RgbColor32 (int r, int g, int b, int a=255)
 
 RgbColor32 (const RgbColor32 &other)
 
RgbColor32operator= (const RgbColor32 &other)=default
 
 RgbColor32 (const char *htmlColor)
 
void asHtmlString (char *buffer, size_t bufferSize, bool withAlpha) const
 

Public Attributes

uint8_t red
 
uint8_t green
 
uint8_t blue
 
uint8_t alpha
 

Detailed Description

This structure represents an RGBA value, using 8 bits per element. It uses the RGB color space and is capable of constructing from the raw integer values or a HTML color code. It can also output it's current state to a HTML color code.


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