#include <Display/MCU/VUDisplay.hpp>
Public Member Functions | |
VUDisplay (DisplayInterface &display, IVU &vu, PixelLocation loc, uint16_t width, uint8_t blockheight, uint8_t spacing, 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 Member Functions | |
virtual void | drawPeak (uint8_t peak) |
virtual void | drawBlocks (uint8_t value) |
Protected Attributes | |
DisplayInterface & | display |
DisplayElement * | next |
DisplayElement * | previous |
Static Protected Attributes | |
static DoublyLinkedList< DisplayElement > | elements |
Private Member Functions | |
void | updatePeak (uint8_t value) |
Private Attributes | |
IVU & | vu |
int16_t | x |
int16_t | y |
uint16_t | width |
uint8_t | blockheight |
uint8_t | spacing |
uint16_t | color |
int16_t | peak = 0 |
unsigned long | previousDecay = 0 |
bool | decaying = false |
unsigned long | decayTime |
Definition at line 10 of file VUDisplay.hpp.
|
inline |
Definition at line 12 of file VUDisplay.hpp.
|
inlineoverridevirtual |
Draw this DisplayElement to the display buffer.
Implements DisplayElement.
Definition at line 22 of file VUDisplay.hpp.
|
inlineprotectedvirtual |
Definition at line 32 of file VUDisplay.hpp.
|
inlineprotectedvirtual |
Definition at line 39 of file VUDisplay.hpp.
|
inlineprivate |
Definition at line 49 of file VUDisplay.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 67 of file VUDisplay.hpp.
|
private |
Definition at line 69 of file VUDisplay.hpp.
|
private |
Definition at line 70 of file VUDisplay.hpp.
|
private |
Definition at line 71 of file VUDisplay.hpp.
|
private |
Definition at line 72 of file VUDisplay.hpp.
|
private |
Definition at line 73 of file VUDisplay.hpp.
|
private |
Definition at line 74 of file VUDisplay.hpp.
|
private |
Definition at line 76 of file VUDisplay.hpp.
|
private |
Definition at line 77 of file VUDisplay.hpp.
|
private |
Definition at line 78 of file VUDisplay.hpp.
|
private |
Definition at line 80 of file VUDisplay.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.