#include <menus/CommandScreenDisplay.h>
|
| | CommandScreenDisplay (COMMAND_DISPLAY &display, PinManager &pinManager, bool(*init)(void)=nullptr) |
| |
| bool | begin () |
| |
| virtual void | wakeDevice () override |
| |
| virtual void | sleepDevice () override |
| |
| void | invertDisplay (bool invert) |
| |
| void | clearDisplay () |
| |
| void | setTextSize (int siz) |
| |
| void | getTextBounds (const char *string, int16_t x, int16_t y, int16_t *x1, int16_t *y1, uint16_t *w, uint16_t *h) |
| |
| void | setRotation (uint8_t r) |
| |
| void | setTextColor (uint16_t c) |
| |
| void | setCursor (uint8_t x, uint8_t y) |
| |
| void | print (String text) |
| |
| void | println (unsigned val) |
| |
| void | println (String text) |
| |
| void | display () |
| |
| void | drawTextCentered (String text) |
| |
| void | remoteDialEvent (long newValue, long oldValue) |
| |
| void | remoteButtonEvent (uint8_t id, bool pressed, bool repeat) |
| |
| void | remoteActive () |
| |
| virtual bool | handleEvent () override |
| |
| void | resetDisplay () |
| |
Public Member Functions inherited from CommandScreenHandler |
| | CommandScreenHandler (uint32_t screenBlankDelay=15000) |
| |
| CommandScreen * | current () |
| |
| ScreenID | currentID () |
| |
| CommandScreen * | findScreen (ScreenID id) |
| |
| unsigned | getNumScreens () |
| |
| CommandScreen * | getScreenAt (unsigned index) |
| |
| void | setScreenBlankDelay (uint32_t millis) |
| |
| uint32_t | getScreenSleepDuration () |
| |
| void | switchToScreen (ScreenID id, bool popStack=true) |
| |
| void | pushScreen (ScreenID id) |
| |
| void | popScreen () |
| |
| void | blankScreen () |
| |
| void | restoreScreen () |
| |
| bool | isSleeping () const |
| |
| void | process () |
| |
| uint32_t | elapsed () |
| |
| bool | isEnabled () const |
| |
| void | setEnabled (bool enabled) |
| |
◆ CommandScreenDisplay()
template<typename COMMAND_DISPLAY >
◆ begin()
template<typename COMMAND_DISPLAY >
◆ clearDisplay()
template<typename COMMAND_DISPLAY >
◆ display()
template<typename COMMAND_DISPLAY >
◆ drawTextCentered()
template<typename COMMAND_DISPLAY >
◆ getTextBounds()
template<typename COMMAND_DISPLAY >
| void CommandScreenDisplay< COMMAND_DISPLAY >::getTextBounds |
( |
const char * |
string, |
|
|
int16_t |
x, |
|
|
int16_t |
y, |
|
|
int16_t * |
x1, |
|
|
int16_t * |
y1, |
|
|
uint16_t * |
w, |
|
|
uint16_t * |
h |
|
) |
| |
|
inline |
◆ handleEvent()
template<typename COMMAND_DISPLAY >
◆ invertDisplay()
template<typename COMMAND_DISPLAY >
◆ print()
template<typename COMMAND_DISPLAY >
◆ println() [1/2]
template<typename COMMAND_DISPLAY >
◆ println() [2/2]
template<typename COMMAND_DISPLAY >
◆ remoteActive()
template<typename COMMAND_DISPLAY >
◆ remoteButtonEvent()
template<typename COMMAND_DISPLAY >
| void CommandScreenDisplay< COMMAND_DISPLAY >::remoteButtonEvent |
( |
uint8_t |
id, |
|
|
bool |
pressed, |
|
|
bool |
repeat |
|
) |
| |
|
inline |
◆ remoteDialEvent()
template<typename COMMAND_DISPLAY >
◆ resetDisplay()
template<typename COMMAND_DISPLAY >
◆ setCursor()
template<typename COMMAND_DISPLAY >
◆ setRotation()
template<typename COMMAND_DISPLAY >
◆ setTextColor()
template<typename COMMAND_DISPLAY >
◆ setTextSize()
template<typename COMMAND_DISPLAY >
◆ sleepDevice()
template<typename COMMAND_DISPLAY >
◆ wakeDevice()
template<typename COMMAND_DISPLAY >
◆ fDial
template<typename COMMAND_DISPLAY >
◆ fDialValue
template<typename COMMAND_DISPLAY >
◆ fDisplay
template<typename COMMAND_DISPLAY >
◆ fInitProc
template<typename COMMAND_DISPLAY >
◆ fLastKeyEvent
template<typename COMMAND_DISPLAY >
◆ fLastScreenID
template<typename COMMAND_DISPLAY >
◆ fSkipButtonReleased
template<typename COMMAND_DISPLAY >
The documentation for this class was generated from the following file: