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

#include <MenuScreen.h>

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

Public Member Functions

 MenuScreen (BaseMenu *menu)
 
void handleUserConfirmationAction (UserConfirmationAction action) override
 Implement this method to define what to do when user confirmation actions are performed.
 
void handleUserSelectionAction (UserSelectionAction action, bool throttleInverted) override
 Implement this method to define what to do when user selection actions are performed.
 
void drawScreen (DisplayInterface *display) override
 Implement this method to draw the associated screen object 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.
 

Private Attributes

BaseMenu_menu
 

Constructor & Destructor Documentation

◆ MenuScreen()

MenuScreen::MenuScreen ( BaseMenu menu)
Parameters
menu

Member Function Documentation

◆ drawScreen()

void MenuScreen::drawScreen ( DisplayInterface display)
overridevirtual

Implement this method to draw the associated screen object on the specified display.

Parameters
displayPointer to the display object

Implements ScreenInterface.

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

◆ handleUserConfirmationAction()

void MenuScreen::handleUserConfirmationAction ( UserConfirmationAction  action)
overridevirtual

Implement this method to define what to do when user confirmation actions are performed.

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

Implements ScreenInterface.

Here is the call graph for this function:

◆ handleUserSelectionAction()

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

Implement this method to define what to do when user selection actions are performed.

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

Implements ScreenInterface.

Here is the call graph for this function:

Member Data Documentation

◆ _menu

BaseMenu* MenuScreen::_menu
private

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