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:
charly
Date:
2015-01-02
Revision:
6:819049708d51
Parent:
1:84d263c8932d
Child:
8:fbaeab73fe1a

File content as of revision 6:819049708d51:

#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);
        void changeText(int position, char *newText);
        char *getText(int);
};
#endif