This is an old version of the documentation. View the latest version
here.
Control Surface
1.0.0
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; }
An interface for elements that draw to a display.
TimeDisplayDisplay(DisplayInterface &display, const TimeDisplay &timedisplay, PixelLocation loc, uint8_t size, uint16_t color)
An interface for displays.
Names and note and controller numbers for the Mackie Control Universal (MCU) protocol.
void getFrames(char *buff) const
A simple struct representing a pixel with integer coordinates.
#define BEGIN_CS_NAMESPACE
virtual void setCursor(int16_t x, int16_t y)=0
Set the cursor position.
virtual void setTextSize(uint8_t size)=0
Set the text size.
void setColor(uint16_t color)
void getBars(char *buff) const
DisplayInterface & display
void draw() override
Draw this DisplayElement to the display buffer.
void getBeats(char *buff) const
const TimeDisplay & timedisplay
uint16_t getColor() const
void setSize(uint8_t size)
virtual void setTextColor(uint16_t color)=0
Set the text color.