| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
An interface for elements that draw to a display.
 
An interface for displays.
 
virtual ~DisplayElement()
 
#define BEGIN_CS_NAMESPACE
 
static DoublyLinkedList< DisplayElement > elements
 
DisplayInterface & getDisplay()
Get a reference to the display that this element draws to.
 
virtual void draw()=0
Draw this DisplayElement to the display buffer.
 
void remove(Node *node)
Remove a node from the linked list.
 
DisplayElement(DisplayInterface &display)
Create a new DisplayElement.
 
DisplayInterface & display
 
A class that can be inherited from to allow inserting into a DoublyLinkedList.
 
static DoublyLinkedList< DisplayElement > & getAll()
Get the list of all DisplayElement instances.
 
void insertSorted(Node *node, Compare cmp)
Insert a new node at the correct location into a sorted list.
 
const DisplayInterface & getDisplay() const
Get a const reference to the display that this element draws to.