mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-15 17:18:01 +00:00
89a6c09a7a
* Documentation: add Doxyfile, prepare sources for doxygen. * Update ReadMe and remove obsolete CLA * Add contribution guide * Contributing: update text * Correct spelling
22 lines
399 B
C
Executable file
22 lines
399 B
C
Executable file
/**
|
|
* @file scene_manager_i.h
|
|
* GUI: internal SceneManager API
|
|
*/
|
|
|
|
#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;
|
|
};
|