move some things around

This commit is contained in:
2026-02-18 10:38:19 +01:00
parent 9cf4593517
commit 21fd8d00ec
13 changed files with 1391 additions and 1411 deletions

9
include/graphics.h Normal file
View File

@@ -0,0 +1,9 @@
#pragma once
#include "globals.h"
void tftPrint(int8_t offset, const String & text, int16_t x, int16_t y, int color, int smoothcolor, uint8_t fontsize);
void tftPrint16(int8_t offset, const String & text, int16_t x, int16_t y, int color, int smoothcolor, bool force_font = true, bool font = false);
void tftReplace(int8_t offset, const String & textold, const String & text, int16_t x, int16_t y, int color, int smoothcolor, int background, uint8_t fontsize);
void tftReplace16(int8_t offset, const String & textold, const String & text, int16_t x, int16_t y, int color, int smoothcolor, int background, bool force_font = true, bool font = false);
void UpdateFonts();