mirror of
https://codeberg.org/armin/sm-26.git
synced 2026-10-12 01:11:53 +02:00
Fetch JUCE into build/, tidy gitignore, expand README
This commit is contained in:
parent
4a761729f8
commit
ab9ea542a7
12 changed files with 350 additions and 149 deletions
|
|
@ -19,24 +19,12 @@ public:
|
|||
private:
|
||||
void timerCallback() override;
|
||||
|
||||
static constexpr int kRasterW = 12;
|
||||
static constexpr int kRasterH = 18;
|
||||
|
||||
juce::String lines[kRows];
|
||||
int cursorCol = 0;
|
||||
int cursorRow = 0;
|
||||
bool cursorVisible = false;
|
||||
|
||||
struct GlyphCache {
|
||||
uint8_t rows[8] = {};
|
||||
bool cached = false;
|
||||
};
|
||||
|
||||
GlyphCache glyphCache[256];
|
||||
|
||||
void rasterize (juce::uint32 c);
|
||||
uint8_t* getGlyph (juce::uint32 c);
|
||||
juce::Font getMonoFont() const;
|
||||
const uint8_t* getGlyph (juce::uint32 c) const;
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LcdDisplay)
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue