[FL-2556] Update complete screen (#1332)
* Desktop: slideshow implementation * Updater: handling splashscreen installation; added format version field to slideshow binary * Desktop: added bidirectional slideshow navigation + instant cancel by "back" button; Updater: rebalanced update stages weights * Updater: fixed missing field init; fixed potential loop when baking slideshows * Assets: fixed "update complete" image to match original * Desktop: added check for slideshow file version * Scripts: slideshow.py cleanup * Desktop: removed first start intro sequence * Desktop: removed first start remnants
This commit is contained in:
20
applications/desktop/views/desktop_view_slideshow.h
Normal file
20
applications/desktop/views/desktop_view_slideshow.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <gui/view.h>
|
||||
|
||||
#include "desktop_events.h"
|
||||
|
||||
typedef struct DesktopSlideshowView DesktopSlideshowView;
|
||||
|
||||
typedef void (*DesktopSlideshowViewCallback)(DesktopEvent event, void* context);
|
||||
|
||||
DesktopSlideshowView* desktop_view_slideshow_alloc();
|
||||
|
||||
void desktop_view_slideshow_free(DesktopSlideshowView* main_view);
|
||||
|
||||
View* desktop_view_slideshow_get_view(DesktopSlideshowView* main_view);
|
||||
|
||||
void desktop_view_slideshow_set_callback(
|
||||
DesktopSlideshowView* main_view,
|
||||
DesktopSlideshowViewCallback callback,
|
||||
void* context);
|
Reference in New Issue
Block a user