19#ifndef SCREENINTERFACE_H
20#define SCREENINTERFACE_H
UserConfirmationAction
User confirmation action data types available.
Definition UserConfirmationInterface.h:23
UserSelectionAction
User selection action data types available.
Definition UserSelectionInterface.h:23
Interface class to abstract construction of what is displayed on screen from the physical implementat...
Definition DisplayInterface.h:29
Definition ScreenInterface.h:27
ScreenInterface * _next
Definition ScreenInterface.h:56
virtual void handleUserSelectionAction(UserSelectionAction action, bool throttleInverted=false)=0
Implement this method to define what to do when user selection actions are performed throttleInverted...
virtual void handleUserConfirmationAction(UserConfirmationAction action)=0
Implement this method to define what to do when user confirmation actions are performed.
virtual void drawScreen(DisplayInterface *display)=0
Implement this method to draw the associated screen object on the specified display.
ScreenInterface * getNext()
Get the next screen object in the linked list.
Definition ScreenInterface.h:49
void setNext(ScreenInterface *screen)
Set the next screen object in the linked list.
Definition ScreenInterface.h:53
virtual ~ScreenInterface()=default
Destructor for the object.