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.
Fork of menuSystemMbed by
MainMenu.h
- Committer:
- mbedDevLondon
- Date:
- 2013-02-28
- Revision:
- 0:a5ece7312edc
File content as of revision 0:a5ece7312edc:
//
// MainMenu.h
// menuSystem
//
// Created by BradDSmith on 2013-02-26.
// Copyright (c) 2013 BradDSmith. All rights reserved.
//
#ifndef __menuSystem__MainMenu__
#define __menuSystem__MainMenu__
#include "menuItem.h"
class MainMenu {
static const int MAXITEMS = 5;
menuItem menuItem[MAXITEMS];
int highlightedItem;
int maxitems;
public:
MainMenu();
void setMaxItems(int max);
void setMenuItem(int locID, int menuID,const char * menuText, int x, int y);
void highlightNextItem();
void highlightPrevItem();
void printMenu();
int getHighlightedItem();
void erase();
};
#endif /* defined(__menuSystem__MainMenu__) */
