1 #pragma once
2 
3 #include <stdint.h>
4 #include "pt2_palette.h"
5 #include "pt2_mouse.h"
6 
7 // TABLES
8 extern const char *ftuneStrTab[16];
9 extern const int8_t vuMeterHeights[65];
10 extern const char hexTable[16];
11 extern const uint32_t cursorColors[6][3];
12 extern const char *noteNames1[2+36];
13 extern const char *noteNames2[2+36];
14 extern const char *noteNames3[2+36];
15 extern const char *noteNames4[2+36];
16 extern const uint8_t vibratoTable[32];
17 extern const int16_t periodTable[(37*16)+15];
18 extern int8_t pNoteTable[32];
19 extern const uint64_t musicTimeTab64[256-32];
20 
21 // changable by config file
22 extern uint16_t analyzerColors[36];
23 extern uint16_t vuMeterColors[48];
24 
25 // button tables taken from the ptplay project + modified
26 
27 // MODIFY THESE EVERY TIME YOU REMOVE/ADD A BUTTON!
28 #define ASK_BUTTONS 2
29 #define PAT2SMP_ASK_BUTTONS 3
30 #define CLEAR_BUTTONS 4
31 #define TOPSCREEN_BUTTONS 47
32 #define MIDSCREEN_BUTTONS 3
33 #define BOTSCREEN_BUTTONS 4
34 #define DISKOP_BUTTONS 17
35 #define POSED_BUTTONS 12
36 #define EDITOP1_BUTTONS 13
37 #define EDITOP2_BUTTONS 22
38 #define EDITOP3_BUTTONS 29
39 #define EDITOP4_BUTTONS 29
40 #define SAMPLER_BUTTONS 25
41 // -----------------------------------------------
42 
43 extern const guiButton_t bAsk[];
44 extern const guiButton_t bPat2SmpAsk[];
45 extern const guiButton_t bClear[];
46 extern const guiButton_t bTopScreen[];
47 extern const guiButton_t bMidScreen[];
48 extern const guiButton_t bBotScreen[];
49 extern const guiButton_t bDiskOp[];
50 extern const guiButton_t bPosEd[];
51 extern const guiButton_t bEditOp1[];
52 extern const guiButton_t bEditOp2[];
53 extern const guiButton_t bEditOp3[];
54 extern const guiButton_t bEditOp4[];
55 extern const guiButton_t bSampler[];
56