Menu system broken

Dependencies:   ANSITermMenuSystem

Fork of menuSystemMbed by Ryan Scott

Committer:
Rybowonder
Date:
Sat May 04 17:37:57 2013 +0000
Revision:
8:6ddb8c26387a
Parent:
7:df9f5b6dd4ed
For Mitchener

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Rybowonder 5:92389cf2106d 1 //
Rybowonder 5:92389cf2106d 2 // menuItem.h
Rybowonder 5:92389cf2106d 3 // menuSystem
Rybowonder 5:92389cf2106d 4 //
Rybowonder 5:92389cf2106d 5 // Created by BradDSmith on 2013-02-26.
Rybowonder 5:92389cf2106d 6 // Copyright (c) 2013 BradDSmith. All rights reserved.
Rybowonder 5:92389cf2106d 7 //
Rybowonder 5:92389cf2106d 8
Rybowonder 5:92389cf2106d 9 #ifndef __menuSystem__CdisplayItem__
Rybowonder 5:92389cf2106d 10 #define __menuSystem__CdisplayItem__
Rybowonder 5:92389cf2106d 11
Rybowonder 5:92389cf2106d 12 #include <string>
Rybowonder 5:92389cf2106d 13
Rybowonder 5:92389cf2106d 14 using namespace std;
Rybowonder 5:92389cf2106d 15
Rybowonder 5:92389cf2106d 16 #include "XYPoint.h"
Rybowonder 5:92389cf2106d 17
Rybowonder 5:92389cf2106d 18 class CdisplayItem {
Rybowonder 5:92389cf2106d 19
Rybowonder 5:92389cf2106d 20 XYPoint position;
Rybowonder 5:92389cf2106d 21 string Text;
Rybowonder 5:92389cf2106d 22 XYPoint value;
Rybowonder 5:92389cf2106d 23
Rybowonder 5:92389cf2106d 24 public:
Rybowonder 5:92389cf2106d 25 CdisplayItem();
Rybowonder 5:92389cf2106d 26 void initialize(const char * text, int x, int y, int x2, int y2);
Rybowonder 5:92389cf2106d 27 void setText( char *);
Rybowonder 5:92389cf2106d 28 void setPosition(int x, int y);
Rybowonder 5:92389cf2106d 29 void print();
Rybowonder 5:92389cf2106d 30 void erase();
Rybowonder 5:92389cf2106d 31 void setValue(char *);
Rybowonder 5:92389cf2106d 32 void Crect(int x1, int y1, int x2, int y2);
Rybowonder 6:2f220f5d782d 33 // void DeleteCrect(int x1, int y1, int x2, int y2);
Rybowonder 5:92389cf2106d 34
Rybowonder 7:df9f5b6dd4ed 35 };
Rybowonder 5:92389cf2106d 36 #endif /* defined(__menuSystem__menuItem__) */