mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-21 12:21:49 +03:00
18 lines
493 B
C
18 lines
493 B
C
#pragma once
|
|
|
|
#include <furi.h>
|
|
#include <gui/view.h>
|
|
#include <stdint.h>
|
|
|
|
typedef void (*OneShotInteractCallback)(void*);
|
|
typedef struct OneShotView OneShotView;
|
|
|
|
OneShotView* one_shot_view_alloc(void);
|
|
void one_shot_view_free(OneShotView* view);
|
|
void one_shot_view_set_interact_callback(
|
|
OneShotView* view,
|
|
OneShotInteractCallback callback,
|
|
void* context);
|
|
void one_shot_view_start_animation(OneShotView* view, const Icon* icon);
|
|
View* one_shot_view_get_view(OneShotView* view);
|