Menu system broken
Dependencies: ANSITermMenuSystem
Fork of menuSystemMbed by
Diff: menuItem.h
- Revision:
- 0:a5ece7312edc
- Child:
- 4:1178a1905490
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/menuItem.h Thu Feb 28 00:38:31 2013 +0000 @@ -0,0 +1,36 @@ +// +// 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__) */