Menu system broken

Dependencies:   ANSITermMenuSystem

Fork of menuSystemMbed by Ryan Scott

menuItem.h

Committer:
Rybowonder
Date:
2013-05-04
Revision:
8:6ddb8c26387a
Parent:
4:1178a1905490

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__menuItem__
#define __menuSystem__menuItem__

#include <string>

using namespace std;

#include "XYPoint.h"

class menuItem {
    int menuID;
    XYPoint position;
    string  Text;

public:
    menuItem();
    void initialize( int ID, const char * text, int x, int y);
    void setText( char *);
    void setPosition(int x, int y);
    void print();
    void highlight();
    void removeHighLight();
    void showselect();
    void removeselect();
    int getMenuID();
    void erase();
};


#endif /* defined(__menuSystem__menuItem__) */