list view

This commit is contained in:
2026-08-15 20:58:16 +02:00
parent 811d4f0ac9
commit a5e9dc7df1
3 changed files with 174 additions and 10 deletions

View File

@@ -3,11 +3,16 @@
#include <TFT_eSPI.h>
namespace RadarScreen {
void render(TFT_eSPI& tft, int16_t top);
void render(TFT_eSPI& tft, int16_t top);
void tick(TFT_eSPI& tft, int16_t top, uint32_t deltaMs);
bool handleTap(int16_t x, int16_t y, int16_t top);
bool handleTap(TFT_eSPI& tft, int16_t x, int16_t y, int16_t top);
void updateProximityAlert(uint32_t nowMs);
// Switchable table view: shows a sortable list of aircraft directly
// on the radar screen (toggled via a "L" button in the info bar).
// Returns true if user selected an aircraft (opens detail panel).
bool runTable(TFT_eSPI& tft, int16_t top);
// Waehlt ein Flugzeug programmgesteuert aus (z.B. von der Flugzeugliste
// aus, nicht per Antippen auf dem Radar) - damit beim naechsten render()
// sofort das Detail-Panel fuer dieses Flugzeug erscheint, so als haette