Menu system broken

Dependencies:   ANSITermMenuSystem

Fork of menuSystemMbed by Ryan Scott

CdisplayItem.h

Committer:
Rybowonder
Date:
2013-04-21
Revision:
5:92389cf2106d
Child:
6:2f220f5d782d

File content as of revision 5:92389cf2106d:

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