mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-18 08:43:10 +00:00
15 lines
483 B
C
15 lines
483 B
C
#pragma once
|
|
|
|
#include <gui/canvas.h>
|
|
|
|
typedef struct Slideshow Slideshow;
|
|
|
|
Slideshow* slideshow_alloc();
|
|
|
|
void slideshow_free(Slideshow* slideshow);
|
|
bool slideshow_load(Slideshow* slideshow, const char* fspath);
|
|
bool slideshow_is_loaded(Slideshow* slideshow);
|
|
bool slideshow_is_one_page(Slideshow* slideshow);
|
|
void slideshow_goback(Slideshow* slideshow);
|
|
bool slideshow_advance(Slideshow* slideshow);
|
|
void slideshow_draw(Slideshow* slideshow, Canvas* canvas, uint8_t x, uint8_t y);
|