#pragma once #include "app_context.h" #ifdef __cplusplus extern "C" { #endif void build_ui(lv_obj_t* parent); void ui_timer(lv_timer_t* t); void btn_play_cb(lv_event_t* e); void btn_prev_cb(lv_event_t* e); void btn_next_cb(lv_event_t* e); void btn_seasons_cb(lv_event_t* e); void btn_dl_season_cb(lv_event_t* e); void close_overlay(void); void dropdown_cb(lv_event_t* e); // New library UI helpers void ui_rebuild_episode_list(void); void ui_update_header_locked(void); void ui_update_status_locked(const char* msg); void ui_deinit(void); #ifdef __cplusplus } #endif