TinyGPU
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
LCDBoardsSDL.h File Reference

LCDBoard for the SDL2 desktop backend - renders to a window via DisplayDriverSDL and maps the mouse to touch via TouchDriverSDL, so sketches written against the LCDBoard interface can run unmodified on a desktop for testing/debugging without any physical hardware. More...

#include "TinyGPU/Boards/LCDBoardsCommon.h"
#include "TinyGPU/Drivers/DisplayDriverSDL.h"
#include "TinyGPU/Input/TouchDriverSDL.h"
Include dependency graph for LCDBoardsSDL.h:

Go to the source code of this file.

Classes

class  LCDBoardDesktopSDL
 Desktop SDL2 window standing in for a physical LCD board. Window size is set at construction time (default 320x240) since - unlike the hardware boards in LCDBoardsESP32.h - there is no fixed panel to match. More...
 

Namespaces

namespace  tinygpu
 

Typedefs

using DesktopSDL = LCDBoardDesktopSDL
 

Detailed Description

LCDBoard for the SDL2 desktop backend - renders to a window via DisplayDriverSDL and maps the mouse to touch via TouchDriverSDL, so sketches written against the LCDBoard interface can run unmodified on a desktop for testing/debugging without any physical hardware.

See LCDBoardsCommon.h for the platform-independent LCDBoard interface this implements, and LCDBoardsESP32.h for the ESP32 hardware boards.