Refactor: UIManager trimming
This commit is contained in:
+4
-5
@@ -3,9 +3,9 @@
|
||||
|
||||
#include <Adafruit_GFX.h>
|
||||
#include <Adafruit_SSD1306.h>
|
||||
#include <Adafruit_NeoPixel.h>
|
||||
#include "TrackerTypes.h"
|
||||
#include "MelodyStrategy.h"
|
||||
#include "LedMatrix.h"
|
||||
|
||||
class UIManager {
|
||||
public:
|
||||
@@ -29,7 +29,7 @@ public:
|
||||
|
||||
private:
|
||||
Adafruit_SSD1306 display;
|
||||
Adafruit_NeoPixel pixels;
|
||||
LedMatrix ledMatrix;
|
||||
|
||||
void drawMenu(int selection, UIState currentState, int midiChannel, int tempo, const char* flavourName,
|
||||
int queuedTheme, int currentThemeIndex,
|
||||
@@ -37,9 +37,8 @@ private:
|
||||
bool mutationEnabled, bool songModeEnabled, bool isPlaying, int randomizeTrack, const bool* trackMute, const int* trackIntensities);
|
||||
|
||||
void drawNumberEditor(const char* title, int value, int minVal, int maxVal);
|
||||
|
||||
uint32_t getNoteColor(int note, bool dim);
|
||||
int getPixelIndex(int x, int y);
|
||||
void drawEditScreen(const char* title, const char* label, const char* valueStr);
|
||||
void drawEditScreen(const char* title, const char* label, int value);
|
||||
};
|
||||
|
||||
extern UIManager ui;
|
||||
|
||||
Reference in New Issue
Block a user