mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 23:08:11 +00:00
Merge branch 'main' into fix/eink-button-irq-edge-capture
# Conflicts: # examples/companion_radio/ui-new/UITask.cpp
This commit is contained in:
@@ -57,5 +57,10 @@ public:
|
||||
virtual int render(DisplayDriver& display) =0; // return value is number of millis until next render
|
||||
virtual bool handleInput(char c) { return false; }
|
||||
virtual void poll() { }
|
||||
// Called by UITask::setCurrScreen() each time this screen becomes current —
|
||||
// the place to reset per-visit state (selection, dirty flag, sub-views).
|
||||
// Default no-op for screens that keep state across visits. Because it's
|
||||
// invoked centrally, a new screen can't "forget" to be reset on show.
|
||||
virtual void onShow() { }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user