Ryan Scott / menuSystemMbedBroken

Dependencies:   ANSITermMenuSystem

Fork of menuSystemMbed by Ryan Scott

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CdisplayItem.h Source File

CdisplayItem.h

00001 //
00002 //  menuItem.h
00003 //  menuSystem
00004 //
00005 //  Created by BradDSmith on 2013-02-26.
00006 //  Copyright (c) 2013 BradDSmith. All rights reserved.
00007 //
00008 
00009 #ifndef __menuSystem__CdisplayItem__
00010 #define __menuSystem__CdisplayItem__
00011 
00012 #include <string>
00013 
00014 using namespace std;
00015 
00016 #include "XYPoint.h"
00017 
00018 class CdisplayItem {
00019    
00020     XYPoint position;
00021     string  Text;
00022     XYPoint value;
00023 
00024 public:
00025     CdisplayItem();
00026     void initialize(const char * text, int x, int y, int x2, int y2);
00027     void setText( char *);
00028     void setPosition(int x, int y);
00029     void print();
00030     void erase();
00031     void setValue(char *);
00032     void Crect(int x1, int y1, int x2, int y2);
00033  //   void DeleteCrect(int x1, int y1, int x2, int y2);
00034 
00035 };
00036 #endif /* defined(__menuSystem__menuItem__) */