RSeries astromech firmware
CommandScreenHandlerSMQ Class Reference

#include <menus/CommandScreenHandlerSMQ.h>

+ Inheritance diagram for CommandScreenHandlerSMQ:
+ Collaboration diagram for CommandScreenHandlerSMQ:

Public Member Functions

 CommandScreenHandlerSMQ ()
 
void invertDisplay (bool invert)
 
void clearDisplay ()
 
void setTextSize (int siz)
 
void drawTextCentered (String text)
 
void setCursor (uint8_t x, uint8_t y)
 
void print (String text)
 
void println (unsigned val)
 
void println (String text)
 
void display ()
 
void remoteDialEvent (long newValue, long oldValue)
 
void remoteButtonEvent (uint8_t id, bool pressed, bool repeat)
 
void remoteActive ()
 
virtual void sleepDevice () override
 
virtual bool handleEvent ()
 
- Public Member Functions inherited from CommandScreenHandler
 CommandScreenHandler (uint32_t screenBlankDelay=15000)
 
CommandScreencurrent ()
 
ScreenID currentID ()
 
CommandScreenfindScreen (ScreenID id)
 
unsigned getNumScreens ()
 
CommandScreengetScreenAt (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)
 

Additional Inherited Members

- Protected Member Functions inherited from CommandScreenHandler
virtual void clearContext ()
 
virtual void wakeDevice ()
 
virtual void saveContext ()
 
virtual void restoreContext ()
 
virtual bool isTouching ()
 
virtual void swapDevice ()
 
virtual uint8_t currentSelection ()
 
void resetBlankingTimer ()
 
void append (CommandScreen *screen)
 
- Protected Attributes inherited from CommandScreenHandler
CommandScreenfHead = nullptr
 
CommandScreenfTail = nullptr
 
CommandScreenfCurrentScreen = nullptr
 
uint8_t fScreenState = 0
 
uint32_t fScreenStartMillis = 0
 
uint32_t fLastMillis = 0
 
CommandScreenfLastScreen = nullptr
 
uint32_t fScreenBlankDelay
 
bool fScreenTouched = false
 
bool fEnabled = false
 
uint8_t fScreenIDSP = 0
 
ScreenID fScreenIDStack [5]
 

Constructor & Destructor Documentation

◆ CommandScreenHandlerSMQ()

CommandScreenHandlerSMQ::CommandScreenHandlerSMQ ( )
inline

Member Function Documentation

◆ clearDisplay()

void CommandScreenHandlerSMQ::clearDisplay ( )
inline

◆ display()

void CommandScreenHandlerSMQ::display ( )
inline

◆ drawTextCentered()

void CommandScreenHandlerSMQ::drawTextCentered ( String  text)
inline

◆ handleEvent()

virtual bool CommandScreenHandlerSMQ::handleEvent ( )
inlinevirtual

Reimplemented from CommandScreenHandler.

◆ invertDisplay()

void CommandScreenHandlerSMQ::invertDisplay ( bool  invert)
inline

◆ print()

void CommandScreenHandlerSMQ::print ( String  text)
inline

◆ println() [1/2]

void CommandScreenHandlerSMQ::println ( String  text)
inline

◆ println() [2/2]

void CommandScreenHandlerSMQ::println ( unsigned  val)
inline

◆ remoteActive()

void CommandScreenHandlerSMQ::remoteActive ( )
inline

◆ remoteButtonEvent()

void CommandScreenHandlerSMQ::remoteButtonEvent ( uint8_t  id,
bool  pressed,
bool  repeat 
)
inline

◆ remoteDialEvent()

void CommandScreenHandlerSMQ::remoteDialEvent ( long  newValue,
long  oldValue 
)
inline

◆ setCursor()

void CommandScreenHandlerSMQ::setCursor ( uint8_t  x,
uint8_t  y 
)
inline

◆ setTextSize()

void CommandScreenHandlerSMQ::setTextSize ( int  siz)
inline

◆ sleepDevice()

virtual void CommandScreenHandlerSMQ::sleepDevice ( )
inlineoverridevirtual

Reimplemented from CommandScreenHandler.


The documentation for this class was generated from the following file: