|
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.
|
#include <styles.hpp>

Public Member Functions | |
| constexpr | TextStyleSpec (const Font *f, Color fg, Color bg) noexcept |
| Construct a text style with specified parameters. | |
Public Attributes | |
| const Font * | font |
| Font to use for rendering. | |
| Color | foreground |
| Foreground (text) color. | |
| Color | background |
| Background color. | |
|
inlineconstexprnoexcept |
Construct a text style with specified parameters.
| f | Font to use |
| fg | Foreground color |
| bg | Background color |
| Color epaper::TextStyleSpec::background |
Background color.
| Color epaper::TextStyleSpec::foreground |
Foreground (text) color.