refactor(display): extract dashboard tile grid logic to DisplayManager
This commit is contained in:
@@ -12,13 +12,15 @@ public:
|
||||
void render(const ScreenState& state) override;
|
||||
|
||||
TouchEvent readTouch() override;
|
||||
int dashboardTouch(int x, int y) override;
|
||||
HoldState updateHold(unsigned long holdMs) override;
|
||||
void updateHint(int x, int y, bool active) override;
|
||||
|
||||
int width() override;
|
||||
int height() override;
|
||||
|
||||
// Dashboard tiles - library handles grid math, we just draw
|
||||
void drawTileAt(int x, int y, int w, int h, const char* label, uint16_t bgColor) override;
|
||||
|
||||
// ── Internal ──
|
||||
static DisplayDriverGFX& instance();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user