DCC-EX Simple Throttle
Simple throttle for a DCC-EX CommandStation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
StartupScreen Class Reference

Class to display startup information on screen and respond to user interactions Displays the DCC-EX Simple Throttle header and the current software version No user actions are implemented on this screen as it is static content. More...

#include <StartupScreen.h>

Inheritance diagram for StartupScreen:
Inheritance graph
[legend]
Collaboration diagram for StartupScreen:
Collaboration graph
[legend]

Public Member Functions

 StartupScreen ()
 Constructor for the object.
 
void handleUserConfirmationAction (UserConfirmationAction action) override
 Respond to user confirmation actions.
 
void handleUserSelectionAction (UserSelectionAction action, bool throttleInverted) override
 Respond to user selection actions.
 
void drawScreen (DisplayInterface *display) override
 Draw this screen on the specified display.
 
- Public Member Functions inherited from ScreenInterface
virtual ~ScreenInterface ()=default
 Destructor for the object.
 
ScreenInterfacegetNext ()
 Get the next screen object in the linked list.
 
void setNext (ScreenInterface *screen)
 Set the next screen object in the linked list.
 

Detailed Description

Class to display startup information on screen and respond to user interactions Displays the DCC-EX Simple Throttle header and the current software version No user actions are implemented on this screen as it is static content.

Constructor & Destructor Documentation

◆ StartupScreen()

StartupScreen::StartupScreen ( )

Constructor for the object.

Member Function Documentation

◆ drawScreen()

void StartupScreen::drawScreen ( DisplayInterface display)
overridevirtual

Draw this screen on the specified display.

Parameters
displayPointer to a display object

Implements ScreenInterface.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleUserConfirmationAction()

void StartupScreen::handleUserConfirmationAction ( UserConfirmationAction  action)
overridevirtual

Respond to user confirmation actions.

Parameters
actionUserConfirmationAction::[None|SingleClick|DoubleClick|LongPress]

Implements ScreenInterface.

◆ handleUserSelectionAction()

void StartupScreen::handleUserSelectionAction ( UserSelectionAction  action,
bool  throttleInverted 
)
overridevirtual

Respond to user selection actions.

Parameters
actionUserSelectionAction::[None|Up|UpFaster|UpFastest|Down|DownFaster|DownFastest]

Implements ScreenInterface.


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