this locks like shit

Dependencies:   MenuLCD mbed

Fork of MenuLCD_copy by Vinícius Alves

menbed/include/menbedMenu.h

Committer:
LucasMatBorges
Date:
2017-05-19
Revision:
1:f105b690aeb7
Parent:
0:92357d1220f3

File content as of revision 1:f105b690aeb7:

#ifndef _MENBEDMENU_H_
#define _MENBEDMENU_H_

#include <vector>

#include "mbed.h"
#include "menbedMenuItem.h"

class MenbedMenuItem;

class MenbedMenu {
public:
    MenbedMenu *parentMenu;
    int8_t parentSelectedItemIndex;
    uint8_t parentTopOfScreenItemIndex;
    vector<MenbedMenuItem*> menuItems;

    MenbedMenu (uint8_t nItems, MenbedMenuItem *items[]);
};

#endif /* _MENBEDMENU_H_ */