Menu system broken

Dependencies:   ANSITermMenuSystem

Fork of menuSystemMbed by Ryan Scott

CdisplayItem.h

Committer:
Rybowonder
Date:
2013-05-04
Revision:
8:6ddb8c26387a
Parent:
7:df9f5b6dd4ed

File content as of revision 8:6ddb8c26387a:

//
//  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__) */