mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-26 23:05:05 +03:00
18 lines
329 B
C
18 lines
329 B
C
|
#pragma once
|
||
|
|
||
|
#include "scene_manager.h"
|
||
|
#include <m-array.h>
|
||
|
|
||
|
ARRAY_DEF(SceneManagerIdStack, uint32_t, M_DEFAULT_OPLIST);
|
||
|
|
||
|
typedef struct {
|
||
|
uint32_t state;
|
||
|
} AppScene;
|
||
|
|
||
|
struct SceneManager {
|
||
|
SceneManagerIdStack_t scene_id_stack;
|
||
|
const SceneManagerHandlers* scene_handlers;
|
||
|
AppScene* scene;
|
||
|
void* context;
|
||
|
};
|