mirror of
https://codeberg.org/armin/sm-26.git
synced 2026-10-12 01:11:53 +02:00
Expand preset bank to 128 categorized presets, shorten sync delays, add menu UI polish and hold-to-repeat nav
This commit is contained in:
parent
1a36b5baf0
commit
78e8ee80ad
10 changed files with 761 additions and 413 deletions
|
|
@ -7,11 +7,12 @@ class LcdDisplay : public juce::Component,
|
|||
{
|
||||
public:
|
||||
static constexpr int kCols = 80;
|
||||
static constexpr int kRows = 4;
|
||||
static constexpr int kRows = 8;
|
||||
|
||||
LcdDisplay();
|
||||
|
||||
void setLine (int row, const juce::String& s);
|
||||
void setInverted (int row, bool inverted);
|
||||
void showCursor (bool show);
|
||||
void clear();
|
||||
void paint (juce::Graphics&) override;
|
||||
|
|
@ -20,6 +21,7 @@ private:
|
|||
void timerCallback() override;
|
||||
|
||||
juce::String lines[kRows];
|
||||
bool rowInverted[kRows];
|
||||
int cursorCol = 0;
|
||||
int cursorRow = 0;
|
||||
bool cursorVisible = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue