Library to display menus on TextLCDs. Interaction with functions Up,Down and Select (Buttons or RPG) Based on menu-library from pyeh9

Fork of Menu by Peihsun Yeh

Library to display menus on TextLCDs. Interaction with functions Up,Down and Select (Buttons or RPG) Based on menu-library from pyeh9

Menu.h

Committer:
pyeh9
Date:
2013-03-05
Revision:
1:84d263c8932d
Parent:
0:577f0ec71f4c
Child:
6:819049708d51

File content as of revision 1:84d263c8932d:

#ifndef MENU_H
#define MENU_H

#include "mbed.h"
#include "Selection.h"
#include <vector>

class Selection;

class Menu {
    private:
               
    public:
        vector<Selection> selections;
        char *menuID;
        
        Menu(char *);
        
        void add(const Selection &toAdd);
        char *getText(int);
};
#endif