This repository has been archived on 2026-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
FlippyPass/project/backend/ui.h

34 lines
556 B
C
Raw Normal View History

2024-08-26 04:20:00 -05:00
// Define once
#ifndef H_UI
#define H_UI
// Libraries
#include <furi.h>
2024-08-26 04:20:00 -05:00
#include <gui/gui.h>
#include <gui/icon_i.h>
#include <gui/scene_manager.h>
#include <gui/view_dispatcher.h>
#include <gui/modules/menu.h>
#include <gui/modules/popup.h>
2024-08-27 00:11:56 -05:00
2024-08-26 23:37:32 -05:00
#include "app.h"
#include "manager.h"
2024-08-26 04:20:00 -05:00
// Structures
typedef struct {
SceneManager* scene_manager;
ViewDispatcher* view_dispatcher;
Menu* menu;
Popup* popup;
} FP_App;
2024-08-26 04:20:00 -05:00
// Constructors
FP_App* fp_app_create();
2024-08-26 04:20:00 -05:00
// Functions
void fp_app_run(FP_App* app);
void fp_app_delete(FP_App* app);
2024-08-26 23:37:32 -05:00
2024-08-26 04:20:00 -05:00
#endif