mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-29 00:09:19 +03:00
acc39a4bc0
* Api Symbols: replace asserts with checks * Api Symbols: replace asserts with checks part 2 * Update no args function signatures with void, to help compiler to track incorrect usage * More unavoidable void * Update PVS config and code to make it happy * Format sources * nfc: fix checks * dead code cleanup & include fixes Co-authored-by: gornekich <n.gorbadey@gmail.com> Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: hedger <hedger@nanode.su>
16 lines
487 B
C
16 lines
487 B
C
#pragma once
|
|
|
|
#include <gui/canvas.h>
|
|
|
|
typedef struct Slideshow Slideshow;
|
|
|
|
Slideshow* slideshow_alloc(void);
|
|
|
|
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);
|