Menu system broken

Dependencies:   ANSITermMenuSystem

Fork of menuSystemMbed by Ryan Scott

Committer:
Rybowonder
Date:
Sun Apr 21 20:46:28 2013 +0000
Revision:
6:2f220f5d782d
Parent:
5:92389cf2106d
Child:
7:df9f5b6dd4ed
Error in code

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 5:92389cf2106d 35
Rybowonder 5:92389cf2106d 36 #endif /* defined(__menuSystem__menuItem__) */