text/plain
•
517 B
•
20 lines
#pragma once
#include "../ui.h"
#include "lvgl.h"
struct now_playing_screen_state {
lv_obj_t* container;
lv_obj_t* title_label;
lv_obj_t* playlist_label;
lv_obj_t* chapter_label;
lv_obj_t* progress_bar;
lv_obj_t* position_label;
lv_obj_t* duration_label;
lv_obj_t* prev_btn;
lv_obj_t* play_btn;
lv_obj_t* next_btn;
};
ui_state_t setup_now_playing_screen(lv_obj_t* parent);
void free_now_playing_screen(now_playing_screen_state_t* state);
void update_now_playing_screen(now_playing_screen_state_t* state);