roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
roo_display::Rgb565 Class Reference

16-bit RGB565 color mode (opaque). More...

#include <color_modes.h>

Public Member Functions

constexpr Color toArgbColor (uint16_t in) const __attribute__((always_inline))
 
constexpr uint16_t fromArgbColor (Color color) const __attribute__((always_inline))
 
constexpr TransparencyMode transparency () const
 

Static Public Attributes

static const int8_t bits_per_pixel = 16
 

Detailed Description

16-bit RGB565 color mode (opaque).

Definition at line 170 of file color_modes.h.

Member Function Documentation

◆ fromArgbColor()

constexpr uint16_t roo_display::Rgb565::fromArgbColor ( Color  color) const
inlineconstexpr

◆ toArgbColor()

constexpr Color roo_display::Rgb565::toArgbColor ( uint16_t  in) const
inlineconstexpr

Definition at line 174 of file color_modes.h.

◆ transparency()

constexpr TransparencyMode roo_display::Rgb565::transparency ( ) const
inlineconstexpr

Definition at line 195 of file color_modes.h.

References roo_display::kNone.

Field Documentation

◆ bits_per_pixel

const int8_t roo_display::Rgb565::bits_per_pixel = 16
static

Definition at line 172 of file color_modes.h.


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