#include <Display/MCU/VPotDisplay.hpp>
Public Member Functions | |
VPotDisplay (DisplayInterface &display, IVPotRing &vpot, PixelLocation loc, uint16_t radius, uint16_t innerRadius, 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 | |
void | drawVPotSegment (uint8_t segment) |
Protected Attributes | |
DisplayInterface & | display |
DisplayElement * | next |
DisplayElement * | previous |
Static Protected Attributes | |
static DoublyLinkedList< DisplayElement > | elements |
Private Attributes | |
IVPotRing & | vpot |
int16_t | x |
int16_t | y |
uint16_t | radius |
uint16_t | innerRadius |
uint16_t | color |
Static Private Attributes | |
const static float | angleSpacing |
Definition at line 12 of file VPotDisplay.hpp.
|
inline |
Definition at line 15 of file VPotDisplay.hpp.
|
inlineoverridevirtual |
Draw this DisplayElement to the display buffer.
Implements DisplayElement.
Definition at line 20 of file VPotDisplay.hpp.
|
inlineprotected |
Definition at line 41 of file VPotDisplay.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 33 of file VPotDisplay.hpp.
|
private |
Definition at line 35 of file VPotDisplay.hpp.
|
private |
Definition at line 35 of file VPotDisplay.hpp.
|
private |
Definition at line 36 of file VPotDisplay.hpp.
|
private |
Definition at line 36 of file VPotDisplay.hpp.
|
private |
Definition at line 36 of file VPotDisplay.hpp.
|
staticprivate |
Definition at line 38 of file VPotDisplay.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.