20fe544b4f
* nfc: add scripts menu scene * canvas: add glyph width api * app_scene: add state to Scene template * gui: introduce TextBox view * nfc: add mifare ultralight read scenes * nfc: add mifare ultralight menu scene * nfc: fix scene functions declaration * Gui: use size_t for sizes. Co-authored-by: あく <alleteam@gmail.com>
13 lines
266 B
C
13 lines
266 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
typedef struct {
|
|
uint32_t id;
|
|
uint32_t state;
|
|
const void (*on_enter)(void* context);
|
|
const bool (*on_event)(void* context, uint32_t event);
|
|
const void (*on_exit)(void* context);
|
|
} AppScene;
|