#include <Display/MCU/VUDisplay.hpp>
Public Member Functions | |
AnalogVUDisplay (DisplayInterface &display, IVU &vu, PixelLocation loc, uint16_t radius, float theta_min, float theta_diff, uint16_t color) | |
void | draw () override |
Draw this DisplayElement to the display buffer. More... | |
void | drawNeedle (float angle) |
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 | |
IVU & | vu |
int16_t | x |
int16_t | y |
uint16_t | r_sq |
float | theta_min |
float | theta_diff |
uint16_t | color |
Definition at line 93 of file VUDisplay.hpp.
|
inline |
Definition at line 95 of file VUDisplay.hpp.
|
inlineoverridevirtual |
Draw this DisplayElement to the display buffer.
Implements DisplayElement.
Definition at line 102 of file VUDisplay.hpp.
|
inline |
Definition at line 107 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 117 of file VUDisplay.hpp.
|
private |
Definition at line 119 of file VUDisplay.hpp.
|
private |
Definition at line 120 of file VUDisplay.hpp.
|
private |
Definition at line 121 of file VUDisplay.hpp.
|
private |
Definition at line 122 of file VUDisplay.hpp.
|
private |
Definition at line 123 of file VUDisplay.hpp.
|
private |
Definition at line 124 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 323 of file LinkedList.hpp.
|
protectedinherited |
Definition at line 324 of file LinkedList.hpp.