MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
34 uint8_t textSize, uint16_t
color)
69 strncpy(buffer, text, 6);
96 for (uint8_t i = 0; i < 7; ++i) {
A class for changing the address of BankableMIDIOutputs.
An interface for elements that draw to a display.
An interface for displays.
LCDDisplay(DisplayInterface &display, const MCU::LCD<> &lcd, const OutputBank &bank, uint8_t track, PixelLocation loc, uint8_t textSize, uint16_t color)
Constructor.
Names and note and controller numbers for the Mackie Control Universal (MCU) protocol.
void draw() override
Draw this DisplayElement to the display buffer.
virtual void setCursor(int16_t x, int16_t y)=0
Set the cursor position.
#define BEGIN_CS_NAMESPACE
LCDDisplay(DisplayInterface &display, const MCU::LCD<> &lcd, const OutputBank &bank, uint8_t track, uint8_t line, PixelLocation loc, uint8_t textSize, uint16_t color)
Constructor.
A simple struct representing a pixel with integer coordinates.
Displays the text of the Mackie Control Universal LCD screen for a single track.
void setLine(uint8_t line)
bool separateTracks() const
Check if the display contains a message for each track separately.
DisplayInterface & display
virtual void setTextColor(uint16_t color)=0
Set the text color.
const char * getText() const
uint8_t getOffset() const
Get the offset (number of banks times the index of the selected bank)
virtual void setTextSize(uint8_t size)=0
Set the text size.