#include <Display/MCU/TimeDisplayDisplay.hpp>
Public Member Functions | |
TimeDisplayDisplay (DisplayInterface &display, const TimeDisplay &timedisplay, PixelLocation loc, uint8_t size, uint16_t color) | |
void | draw () override |
Draw this DisplayElement to the display buffer. More... | |
int16_t | getX () const |
int16_t | getY () const |
uint8_t | getSize () const |
uint16_t | getColor () const |
void | setX (int16_t x) |
void | setY (int16_t y) |
void | setSize (uint8_t size) |
void | setColor (uint16_t color) |
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 | |
const TimeDisplay & | timedisplay |
int16_t | x |
int16_t | y |
uint8_t | size |
uint16_t | color |
Definition at line 11 of file TimeDisplayDisplay.hpp.
|
inline |
Definition at line 13 of file TimeDisplayDisplay.hpp.
|
inlineoverridevirtual |
Draw this DisplayElement to the display buffer.
Implements DisplayElement.
Definition at line 19 of file TimeDisplayDisplay.hpp.
|
inline |
Definition at line 35 of file TimeDisplayDisplay.hpp.
|
inline |
Definition at line 36 of file TimeDisplayDisplay.hpp.
|
inline |
Definition at line 37 of file TimeDisplayDisplay.hpp.
|
inline |
Definition at line 38 of file TimeDisplayDisplay.hpp.
|
inline |
Definition at line 40 of file TimeDisplayDisplay.hpp.
|
inline |
Definition at line 41 of file TimeDisplayDisplay.hpp.
|
inline |
Definition at line 42 of file TimeDisplayDisplay.hpp.
|
inline |
Definition at line 43 of file TimeDisplayDisplay.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 46 of file TimeDisplayDisplay.hpp.
|
private |
Definition at line 47 of file TimeDisplayDisplay.hpp.
|
private |
Definition at line 47 of file TimeDisplayDisplay.hpp.
|
private |
Definition at line 48 of file TimeDisplayDisplay.hpp.
|
private |
Definition at line 49 of file TimeDisplayDisplay.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.