Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Menu/Menu.h
- Revision:
- 29:207111ffd6e6
- Parent:
- 22:028f1627c262
- Child:
- 30:08cc4ec58d07
diff -r eb0f12304a45 -r 207111ffd6e6 Menu/Menu.h
--- a/Menu/Menu.h Mon May 25 10:46:02 2020 +0000
+++ b/Menu/Menu.h Mon May 25 20:00:31 2020 +0000
@@ -15,7 +15,6 @@
class Menu
{
public://-----------------------------------------------------------------------
- //variables
//methods
/**constructor */
Menu();
@@ -72,10 +71,11 @@
void contrastrun(N5110 &lcd, Gamepad &pad);
private: //---------------------------------------------------------------------
+ //Global Variables
+ int g_selecty; //variable to manage select box y coordinate
//variables
int menuflag; //flag to keep in menu loop
- int g_selecty; //variable to manage select box y coordinate
int submenu; //submenu selected var
int menusize; //size of each menu
float contrast; //contrast float
@@ -83,6 +83,7 @@
int s; //current direction as int
int s_1; //previous direction as int
+
//Methods
/** Prints Main Menu to LCD */
void printmainmenu(N5110 &lcd);