| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
Go to the documentation of this file.
   41                uint8_t textSize, uint16_t 
color)
 
   84         strncpy(buffer, text, 6);
 
  111         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.
 
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.
 
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.
 
A simple struct representing a pixel with integer coordinates.
 
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.