mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-28 07:20:29 +00:00
b95cd2df14
* Updater fixes related to /int handling updater: performing factory reset on update, checking for LFS free space before updating, fixed improper error handling on backup/restore operations, rebalanced update stage weights for better progress visuals scripts: added CLI output validation for selfupdate.py storage: added pointer validation in storage_int_common_fs_info desktop: fixed crash on rendering invalid slideshows * Typo fix * rpc: Updated protobuf to 0.9 * rpc: removed updater status conversion Co-authored-by: あく <alleteam@gmail.com>
14 lines
433 B
C
14 lines
433 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);
|
|
void slideshow_goback(Slideshow* slideshow);
|
|
bool slideshow_advance(Slideshow* slideshow);
|
|
void slideshow_draw(Slideshow* slideshow, Canvas* canvas, uint8_t x, uint8_t y);
|