mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 17:28:36 -07:00
feat: FlipBIP v1.13
This commit is contained in:
23
applications/external/flipbip/flipbip.h
vendored
23
applications/external/flipbip/flipbip.h
vendored
@@ -5,37 +5,35 @@
|
||||
#include <gui/gui.h>
|
||||
#include <input/input.h>
|
||||
#include <stdlib.h>
|
||||
#include <notification/notification_messages.h>
|
||||
//#include <notification/notification_messages.h>
|
||||
#include <gui/view_dispatcher.h>
|
||||
#include <gui/modules/submenu.h>
|
||||
#include <gui/scene_manager.h>
|
||||
#include <gui/modules/variable_item_list.h>
|
||||
#include <gui/modules/text_input.h>
|
||||
#include "scenes/flipbip_scene.h"
|
||||
#include "views/flipbip_startscreen.h"
|
||||
#include "views/flipbip_scene_1.h"
|
||||
|
||||
#define FLIPBIP_VERSION "v1.11.0"
|
||||
#define FLIPBIP_VERSION "v1.13"
|
||||
|
||||
#define COIN_BTC 0
|
||||
#define COIN_DOGE 3
|
||||
#define COIN_ETH 60
|
||||
#define COIN_ZEC 133
|
||||
|
||||
#define TEXT_BUFFER_SIZE 256
|
||||
|
||||
typedef struct {
|
||||
Gui* gui;
|
||||
NotificationApp* notification;
|
||||
// NotificationApp* notification;
|
||||
ViewDispatcher* view_dispatcher;
|
||||
Submenu* submenu;
|
||||
SceneManager* scene_manager;
|
||||
VariableItemList* variable_item_list;
|
||||
TextInput* text_input;
|
||||
FlipBipStartscreen* flipbip_startscreen;
|
||||
FlipBipScene1* flipbip_scene_1;
|
||||
char* mnemonic_menu_text;
|
||||
// Settings options
|
||||
int haptic;
|
||||
int led;
|
||||
int bip39_strength;
|
||||
int passphrase;
|
||||
// Main menu options
|
||||
@@ -57,16 +55,6 @@ typedef enum {
|
||||
FlipBipViewIdTextInput,
|
||||
} FlipBipViewId;
|
||||
|
||||
typedef enum {
|
||||
FlipBipHapticOff,
|
||||
FlipBipHapticOn,
|
||||
} FlipBipHapticState;
|
||||
|
||||
typedef enum {
|
||||
FlipBipLedOff,
|
||||
FlipBipLedOn,
|
||||
} FlipBipLedState;
|
||||
|
||||
typedef enum {
|
||||
FlipBipStrength128,
|
||||
FlipBipStrength192,
|
||||
@@ -82,6 +70,7 @@ typedef enum {
|
||||
FlipBipCoinBTC0,
|
||||
FlipBipCoinETH60,
|
||||
FlipBipCoinDOGE3,
|
||||
FlipBipCoinZEC133,
|
||||
} FlipBipCoin;
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user