A class that displays a bitmap depending on the state of a MIDINote. More...
#include <Display/NoteBitmapDisplay.hpp>
Public Member Functions | |
NoteBitmapDisplay (DisplayInterface &display, INoteCCValue ¬e, const XBitmap &xbm, PixelLocation loc, uint16_t color) | |
void | draw () override |
Draw this DisplayElement to the display buffer. More... | |
DisplayInterface & | getDisplay () |
Get a reference to the display that this element draws to. More... | |
const DisplayInterface & | getDisplay () const |
Get a const reference to the display that this element draws to. More... | |
Static Public Member Functions | |
static DoublyLinkedList< DisplayElement > & | getAll () |
Get the list of all DisplayElement instances. More... | |
Protected Attributes | |
DisplayInterface & | display |
DisplayElement * | next |
DisplayElement * | previous |
Static Protected Attributes | |
static DoublyLinkedList< DisplayElement > | elements |
Private Attributes | |
INoteCCValue & | note |
const XBitmap & | xbm |
int16_t | x |
int16_t | y |
uint16_t | color |
A class that displays a bitmap depending on the state of a MIDINote.
Definition at line 10 of file NoteBitmapDisplay.hpp.
|
inline |
Definition at line 12 of file NoteBitmapDisplay.hpp.
|
inlineoverridevirtual |
Draw this DisplayElement to the display buffer.
Implements DisplayElement.
Definition at line 17 of file NoteBitmapDisplay.hpp.
|
inlineinherited |
Get a reference to the display that this element draws to.
Definition at line 36 of file DisplayElement.hpp.
|
inlineinherited |
Get a const reference to the display that this element draws to.
Definition at line 38 of file DisplayElement.hpp.
|
inlinestaticinherited |
Get the list of all DisplayElement instances.
Definition at line 41 of file DisplayElement.hpp.
|
private |
Definition at line 23 of file NoteBitmapDisplay.hpp.
|
private |
Definition at line 24 of file NoteBitmapDisplay.hpp.
|
private |
Definition at line 25 of file NoteBitmapDisplay.hpp.
|
private |
Definition at line 25 of file NoteBitmapDisplay.hpp.
|
private |
Definition at line 26 of file NoteBitmapDisplay.hpp.
|
protectedinherited |
Definition at line 44 of file DisplayElement.hpp.
|
staticprotectedinherited |
Definition at line 46 of file DisplayElement.hpp.
|
protectedinherited |
Definition at line 305 of file LinkedList.hpp.
|
protectedinherited |
Definition at line 306 of file LinkedList.hpp.