Welcome to mirror list, hosted at ThFree Co, Russian Federation.

scene_manager_i.h « gui « applications - github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fca798d124d592fcc3803af36c0afe1fafb8c239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * @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;
};