|
TinyGPU
|
Abstract base class for display drivers. More...
#include <DisplayDriver.h>

Public Member Functions | |
| virtual | ~DisplayDriver ()=default |
| virtual bool | begin ()=0 |
| virtual void | end () |
| virtual bool | writeData (ISurface< RGB_T > &surface)=0 |
Protected Member Functions | |
| virtual bool | setAddressWindow (size_t x, size_t y, size_t w, size_t h)=0 |
Abstract base class for display drivers.
Defines the interface for initializing the display, setting the address window, and writing pixel data from a Surface. Specific display drivers (e.g. SPI, SDL) should inherit from this and implement the virtual methods.
|
virtualdefault |
|
pure virtual |
Implemented in DisplayDriverSDL< RGB_T >, ST7735Driver, ST7789Driver, ILI9341Driver, and HX8357Driver.
|
inlinevirtual |
Reimplemented in DisplayDriverSDL< RGB_T >.
|
protectedpure virtual |
Implemented in DisplayDriverSDL< RGB_T >, and DisplayDriverSPI.
|
pure virtual |
Implemented in DisplayDriverSDL< RGB_T >.