#pragma once
#include <Arduino.h>

// --- Text helpers ---
void drawTextCenter(int16_t cx, int16_t cy, const char *text, uint16_t fg, uint8_t size);

// --- Game board drawing ---
void drawCell(int c, int r);
void drawBoardFull();
void drawColNumbers();
void drawStatus(const char *text, uint16_t color);
void drawSubStatus(const char *text);
void drawGameStatus();
void drawGameScreen();
void drawMenu();
void animateDrop(int col, int player);

// --- Settings UI ---
void drawSettings();
int handleSettingsTouch(uint16_t x, uint16_t y); // returns: 0=handled, 1=back, 2=gamelog, 3=recalibrate

// --- Game log UI ---
void drawGameLogScreen();
int handleGameLogTouch(uint16_t x, uint16_t y); // returns: 0=handled, 1=back
