d4a257a01c
- Cache loads synchronously on onShow for instant startup, no auto fetch - Added manual Refresh button, removed auto refresh that blocked UI - Made UI non-blocking during fetch (episode list usable while fetching) - Fixed season loss after player/downloader by preserving season in static s_preserved_season surviving G memset - Season selector now full-screen overlay parented to lv_scr_act() - Removed DL Missing batch button and bottom help/status label per UX request - load_state no longer overwrites browsing season with last_slug season
30 lines
609 B
C
30 lines
609 B
C
#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 btn_refresh_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
|