| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
Go to the documentation of this file.
   24         char barStr[6], beatStr[3], frameStr[4];
 
   35     int16_t 
getX()
 const { 
return x; }
 
   36     int16_t 
getY()
 const { 
return y; }
 
   40     void setX(int16_t 
x) { this->x = 
x; }
 
   41     void setY(int16_t 
y) { this->y = 
y; }
 
  
void getBars(char *buff) const
 
void getBeats(char *buff) const
 
An interface for elements that draw to a display.
 
An interface for displays.
 
Names and note and controller numbers for the Mackie Control Universal (MCU) protocol.
 
virtual void setCursor(int16_t x, int16_t y)=0
Set the cursor position.
 
#define BEGIN_CS_NAMESPACE
 
TimeDisplayDisplay(DisplayInterface &display, const TimeDisplay &timedisplay, PixelLocation loc, uint8_t size, uint16_t color)
 
A simple struct representing a pixel with integer coordinates.
 
void getFrames(char *buff) const
 
void draw() override
Draw this DisplayElement to the display buffer.
 
uint16_t getColor() const
 
const TimeDisplay & timedisplay
 
void setSize(uint8_t size)
 
DisplayInterface & display
 
virtual void setTextColor(uint16_t color)=0
Set the text color.
 
void setColor(uint16_t color)
 
virtual void setTextSize(uint8_t size)=0
Set the text size.