| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
A class that displays a bitmap depending on the state of a MIDINote.
 
An interface for elements that draw to a display.
 
Interface for NoteCCValue objects: provides getters for the velocity or controller values.
 
An interface for displays.
 
#define BEGIN_CS_NAMESPACE
 
A struct containing X Bitmap width, height and data.
 
void draw() override
Draw this DisplayElement to the display buffer.
 
virtual uint8_t getValue(uint8_t index) const =0
Get the velocity or controller value for the given index in the range.
 
A simple struct representing a pixel with integer coordinates.
 
DisplayInterface & display
 
virtual void drawXBitmap(int16_t x, int16_t y, const uint8_t bitmap[], int16_t w, int16_t h, uint16_t color)=0
Draw a bitmap to the display.
 
NoteBitmapDisplay(DisplayInterface &display, INoteCCValue ¬e, const XBitmap &xbm, PixelLocation loc, uint16_t color)