|
libepaper 2.0.0
A C++23 library for controlling Waveshare e-paper displays on Raspberry Pi, featuring transparent sleep/wake management and a fluent builder API.
|
Device-specific color representation (generic template). More...
#include <device_color.hpp>
Public Member Functions | |
| constexpr | DeviceColor (std::uint8_t val=0) |
| constexpr auto | operator== (const DeviceColor &other) const noexcept -> bool=default |
Public Attributes | |
| std::uint8_t | value |
| Raw color value. | |
Device-specific color representation (generic template).
Stores color in the format required by the target device. The actual representation depends on the device's display mode - this generic template provides a fallback, but mode-specific specializations are used in practice.
Specializations:
| Mode | Display mode of the device |
|
inlineexplicitconstexpr |
|
constexprdefaultnoexcept |
| std::uint8_t epaper::DeviceColor< Mode >::value |
Raw color value.