Menu system broken
Dependencies: ANSITermMenuSystem
Fork of menuSystemMbed by
Diff: CdisplayItem.h
- Revision:
- 5:92389cf2106d
- Child:
- 6:2f220f5d782d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CdisplayItem.h Sun Apr 21 20:15: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__CdisplayItem__ +#define __menuSystem__CdisplayItem__ + +#include <string> + +using namespace std; + +#include "XYPoint.h" + +class CdisplayItem { + + XYPoint position; + string Text; + XYPoint value; + +public: + CdisplayItem(); + void initialize(const char * text, int x, int y, int x2, int y2); + void setText( char *); + void setPosition(int x, int y); + void print(); + void erase(); + void setValue(char *); + void Crect(int x1, int y1, int x2, int y2); + void DeleteCrect(int x1, int y1, int x2, int y2); + + +#endif /* defined(__menuSystem__menuItem__) */