-
Notifications
You must be signed in to change notification settings - Fork 0
/
FSJI.h
41 lines (31 loc) · 979 Bytes
/
FSJI.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/**
* The Free-style Just Intonation app for MatrixOS.
*/
#pragma once
#include "FSJINotePad.h"
#include "MatrixOS.h"
#include "applications/Application.h"
#include "ui/UI.h"
#define MYSTRIX_FSJI_VERSION 1
#define FSJI_CONFIGS_HASH StaticHash("NoahB-FreeStyleJI-NotePadConfig")
class FSJI : public Application {
public:
static Application_Info info;
CreateSavedVar("FSJI", nvsVersion, uint32_t, MYSTRIX_FSJI_VERSION); // In case FSJINoteConfig gets changed
FSJINotePadConfig* notePadConfig = new FSJINotePadConfig();
void Setup() override;
void NoteView();
void ActionMenu();
void ChannelSelector();
~FSJI();
};
// Metadata about this application
inline Application_Info FSJI::info = {
.name = "FSJI",
.author = "Noah B.",
.color = Color(0xAAAAAA),
.version = MYSTRIX_FSJI_VERSION,
.visibility = true,
};
// Register this Application to the OS (Use the class name of your application as the variable)
REGISTER_APPLICATION(FSJI);