mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-06 05:19:09 -07:00
33 lines
574 B
C
33 lines
574 B
C
#pragma once
|
|
|
|
#include <gui/gui.h>
|
|
#include <gui/view.h>
|
|
#include <gui/view_dispatcher.h>
|
|
#include <gui/modules/submenu.h>
|
|
#include <gui/modules/dialog_ex.h>
|
|
#include <toolbox/stream/file_stream.h>
|
|
|
|
typedef enum {
|
|
EventTypeTick,
|
|
EventTypeKey,
|
|
} EventType;
|
|
|
|
typedef struct {
|
|
EventType type;
|
|
InputEvent input;
|
|
} PluginEvent;
|
|
|
|
typedef struct {
|
|
int x;
|
|
int y;
|
|
} PluginState;
|
|
|
|
typedef struct {
|
|
Gui* gui;
|
|
FuriMessageQueue* event_queue;
|
|
PluginState* plugin_state;
|
|
ViewPort* view_port;
|
|
Storage* storage;
|
|
uint8_t* log_arr;
|
|
} Nrf24Scan;
|