This is an old version of the documentation. View the latest version
here.
Control Surface
1.0.0
MIDI Control Surface library for Arduino
|
A class for changing the address of BankableMIDIOutputs.
A class for displaying the setting of a Selector object.
setting_t get() const
Get the current selection/setting.
An interface for elements that draw to a display.
An interface for displays.
Base class for all Selectors exposing the get method, so it can be used by display elements etc,...
uint8_t getOffset() const
Get the offset (number of banks times the index of the selected bank)
A class for displaying the setting of a Bank object.
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 draw() override
Draw this DisplayElement to the display buffer.
DisplayInterface & display
void draw() override
Draw this DisplayElement to the display buffer.
SelectorDisplay(DisplayInterface &display, SelectorBase &selector, int16_t offset, int16_t multiplier, PixelLocation loc, uint8_t size, uint16_t color)
BankDisplay(DisplayInterface &display, OutputBank &bank, int16_t offset, PixelLocation loc, uint8_t size, uint16_t color)
virtual void setTextColor(uint16_t color)=0
Set the text color.