Go to the documentation of this file.
11#ifndef TCMENU_DRAWABLETOUCHCALIBRATOR_H
12#define TCMENU_DRAWABLETOUCHCALIBRATOR_H
14#include <PlatformDetermination.h>
26 virtual bool loadCalibration() = 0;
27 virtual void saveCalibration() = 0;
28 virtual void reCalibrateNow() = 0;
46 const uint16_t calibrationMagicIoa = 0xd00d;
52 int oldX = 0, oldY = 0;
53 iotouch::CalibrationHandler calibrationHandler {};
55 bool needsRedrawing =
false;
59 : drawable(
nullptr), touchScreen(touchScreen), renderer(renderer), romPos(romPos) {
70 this->screenPrep = screenPrepFn;
RenderPressMode
Definition BaseRenderers.h:50
void(* IoaCalibrationScreenPrep)(bool starting)
Definition DrawableTouchCalibrator.h:35
the interface that all graphics devices should implement to do the actual graphics rendering.
Definition BaseRenderers.h:76
Definition DeviceDrawable.h:34
Definition GraphicsDeviceRenderer.h:59