ELEC2645 (2018/19) / Mbed 2 deprecated el17dg

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

Embed: (wiki syntax)

« Back to documentation index

Menu Class Reference

Menu Class Reference

Menu Class. More...

#include <menu.h>

Public Member Functions

 Menu ()
 A constructor.
bool updateAndDraw ()
 Updates and Draws menu.
ScreenOption getCurrentScreenSelection ()
 Returns currently selected meny option.

Detailed Description

Menu Class.

Describes the menu.

Author:
Dmitrijs Griskovs
Date:
15/04/2019

Definition at line 21 of file menu.h.


Constructor & Destructor Documentation

Menu (  )

A constructor.

Definition at line 15 of file menu.cpp.


Member Function Documentation

ScreenOption getCurrentScreenSelection (  )

Returns currently selected meny option.

Definition at line 43 of file menu.cpp.

bool updateAndDraw (  )

Updates and Draws menu.

Updates and draws menu options. Also, allows to select an option availabe from the enum. It return "true" statment if the user picked a menu option.

Definition at line 21 of file menu.cpp.