TB2026-YDS Firmware
Loading...
Searching...
No Matches
navigator.c File Reference
#include "navigator.h"
#include "status_bar.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

Macros

#define NAV_STACK_MAX   8

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_render (void)
 Re-render the top screen and the status bar, without an input event.
void navigator_tick (ui_event_t event)
 Deliver one input event to the top screen, then render it.
uint32_t navigator_refresh_ticks (void)
 How long the UI task should wait for input before a live re-render.

Detailed Description

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.

Macro Definition Documentation

◆ NAV_STACK_MAX

#define NAV_STACK_MAX   8