menu system menus complete
Fork of menuSystemMbed by
menuItem.h
- Committer:
- Rybowonder
- Date:
- 2013-03-08
- Revision:
- 3:bdf42b6c15f4
- Parent:
- 0:a5ece7312edc
File content as of revision 3:bdf42b6c15f4:
// // menuItem.h // menuSystem // // Created by BradDSmith on 2013-02-26. // Copyright (c) 2013 BradDSmith. All rights reserved. // #ifndef __menuSystem__menuItem__ #define __menuSystem__menuItem__ #include <string> using namespace std; #include "XYPoint.h" class menuItem { int menuID; XYPoint position; string Text; public: menuItem(); void initialize( int ID, const char * text, int x, int y); void setText( char *); void setPosition(int x, int y); void print(); void highlight(); void removeHighLight(); int getMenuID(); void erase(); }; #endif /* defined(__menuSystem__menuItem__) */