FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
devices::display::DisplayDeviceTrait_impl< COLOR_, WIDTH_, HEIGHT_, HAS_RASTER_, VERTICAL_FONT_ > Struct Template Reference

Default base class for all DisplayDeviceTrait. More...

#include <fastarduino/devices/display.h>

Detailed Description

template<typename COLOR_, uint16_t WIDTH_, uint16_t HEIGHT_, bool HAS_RASTER_ = false, bool VERTICAL_FONT_ = false>
struct devices::display::DisplayDeviceTrait_impl< COLOR_, WIDTH_, HEIGHT_, HAS_RASTER_, VERTICAL_FONT_ >

Default base class for all DisplayDeviceTrait.

That class eases definition of traits for a new device. Indeed, it will compute most traits from a restricted set of template arguments.

Template Parameters
COLOR_Type of a pixel for the device
WIDTH_The width in pixels of the device
HEIGHT_The height in pixels of the device
HAS_RASTER_Tells if the device implements a bitmap raster in SRAM
VERTICAL_FONT_Tells if the device uses vertical fonts

Definition at line 393 of file display.h.


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