/** * @file loading_anim.h * @brief Minimalist loading animation * * Displays a simple 3-dots animation using LVGL primitive objects. * Used primarily for the first-boot experience. */ #ifndef LOADING_ANIM_H #define LOADING_ANIM_H #include #ifdef __cplusplus extern "C" { #endif // ---------------------------------------------------------------------------- // Public API // ---------------------------------------------------------------------------- /** * @brief Start the loading animation * * Creates a modal screen with a 3-dot animation. * This function blocks the caller for the specified duration? * No, it typically runs async, but for splash/boot it might be blocking. * * @param duration_ms Time to show the animation (0 for indefinite) */ void loadingAnimStart(void); /** * @brief Stop the loading animation and clean up */ void loadingAnimStop(void); #ifdef __cplusplus } #endif #endif // LOADING_ANIM_H