mbed menu system

menuItem.h

Committer:
mbedDevLondon
Date:
2013-02-28
Revision:
0:a5ece7312edc

File content as of revision 0:a5ece7312edc:

//
//  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();
    int getMenuID();
    void erase();
};


#endif /* defined(__menuSystem__menuItem__) */