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

43 lines
792 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>
2024-09-05 16:53:44 -05:00
#include <gui/modules/dialog_ex.h>
#include <gui/modules/submenu.h>
#include <gui/modules/popup.h>
2024-09-06 07:36:38 -05:00
#include <gui/modules/variable_item_list.h>
2024-09-07 14:55:38 -05:00
#include <gui/modules/text_box.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;
2024-09-06 07:36:38 -05:00
VariableItemList* varitemlist;
2024-09-05 16:53:44 -05:00
DialogEx* dialog;
Submenu* submenu;
2024-09-07 14:55:38 -05:00
TextBox* textbox;
Popup* popup;
2024-09-05 16:02:33 -05:00
Manager* manager;
2024-09-07 14:55:38 -05:00
char* temp;
} FP_App;
2024-08-26 04:20:00 -05:00
// Constructors
FP_App* fp_app_init();
2024-08-26 04:20:00 -05:00
// Functions
void fp_app_run(FP_App* app);
void fp_app_free(FP_App* app);
2024-08-26 23:37:32 -05:00
2024-08-26 04:20:00 -05:00
#endif