TB2026-YDS Firmware
Loading...
Searching...
No Matches
navigator.h File Reference

Screen-stack router: push/pop screens and dispatch input to the top one. More...

#include "screen.h"
#include <stdint.h>

Go to the source code of this file.

Functions

void navigator_push (screen_t *screen)
 Push a screen onto the stack and call its on_enter.
void navigator_pop (void)
 Pop the top screen and call its on_exit. No-op if the stack is empty.
void navigator_tick (ui_event_t event)
 Deliver one input event to the top screen, then render it.
void navigator_render (void)
 Re-render the top screen and the status bar, without an input event.
uint32_t navigator_refresh_ticks (void)
 How long the UI task should wait for input before a live re-render.

Detailed Description

Screen-stack router: push/pop screens and dispatch input to the top one.

Note
Développé avec l'assistance de Claude Opus 4.8 (Anthropic), sous la direction de Y. Dos Santos : spécification, revue et validation sur cible par l'auteur.