3
4
5
6
7
8
9
10
11
12#include "TinyGPU/Boards/LCDBoardsCommon.h"
13#include "TinyGPU/Drivers/DisplayDriverSDL.h"
14#include "TinyGPU/Input/TouchDriverSDL.h"
19
20
21
22
23
24
25
26
34 if (!display_.begin())
return false;
Display class for rendering a Surface<RGB565> using the SDL2 library. This class can be used to displ...
Definition: DisplayDriverSDL.h:26
Desktop SDL2 window standing in for a physical LCD board. Window size is set at construction time (de...
Definition: LCDBoardsSDL.h:27
DisplayDriverSDL< RGB565 > & display() override
The board's display driver.
Definition: LCDBoardsSDL.h:44
size_t height() const override
Window height in pixels.
Definition: LCDBoardsSDL.h:41
const I2SPins & i2s() const override
No I2S bus on this backend - every field is -1.
Definition: LCDBoardsSDL.h:48
TouchDriver * touch() override
The board's touch controller (mouse-mapped).
Definition: LCDBoardsSDL.h:46
size_t width() const override
Window width in pixels.
Definition: LCDBoardsSDL.h:39
bool begin() override
Opens the SDL window and starts mouse-as-touch tracking.
Definition: LCDBoardsSDL.h:33
const LEDPins & led() const override
No LED on this backend - every field is -1.
Definition: LCDBoardsSDL.h:50
LCDBoardDesktopSDL(size_t width=320, size_t height=240)
Definition: LCDBoardsSDL.h:29
Definition: LCDBoardsCommon.h:62
RGB color stored in 16-bit RGB565 format, byte-swapped from the conventional bit layout.
Definition: RGB565.h:24
Maps the desktop mouse to a TouchDriver, for exercising touch-driven UI (buttons, sliders,...
Definition: TouchDriverSDL.h:25
bool begin() override
Initialize the controller.
Definition: TouchDriverSDL.h:29
Base class for touch controllers.
Definition: TouchDriverCommon.h:72
Definition: DSIBusESP32.h:19
Definition: LCDBoardsCommon.h:28
Definition: LCDBoardsCommon.h:49