Files
lisael-box/main/modes/balloons.h
T
Clément Saillant e35058f53d chore(box): commit firmware base + feature docs
Backfills the working firmware that had stayed uncommitted across the
build sessions, so the branch is self-contained.

- audio: audio_player, radio_pipeline, sd_player, calm_tone, aac_player
- net: podcast (RSS), udp_log
- modes: balloons, plus calm/games/radio tweaks
- ui: fonts header, icons; build files (CMakeLists, idf_component.yml,
  sdkconfig.defaults)
- docs/superpowers: Histoires design + plan

Note: sdkconfig stays gitignored (Wi-Fi creds + tuned LFN/FS/mbedtls
settings); a fresh checkout must reconfigure those.
2026-06-15 00:20:47 +02:00

22 lines
657 B
C

// "Calme ta colère" balloon-popping game for Lisael Box.
//
// Colourful balloons drift up from the bottom of the screen; tapping one makes
// it pop (grow + fade) with a short "pop" sound. A soothing way for a child to
// let off steam. LVGL-only graphics (no images); the pop sound is synthesised
// on a detached FreeRTOS task so the LVGL task is never blocked.
#pragma once
#include "lvgl.h"
#ifdef __cplusplus
extern "C" {
#endif
// Build (lazily, cached) the balloon game screen and return its root object.
// Call while holding the display lock, like the other mode builders.
lv_obj_t *lisael_screen_balloons(void);
#ifdef __cplusplus
}
#endif