Login
1 branch 0 tags
Ben (Desktop/Arch) Added a testsuite 7a0c574 28 days ago 84 Commits
moon / src / screens / now_playing_screen.h
#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);