Menu system broken

Dependencies:   ANSITermMenuSystem

Fork of menuSystemMbed by Ryan Scott

Constantdisplay.h

Committer:
Rybowonder
Date:
2013-04-26
Revision:
7:df9f5b6dd4ed
Parent:
6:2f220f5d782d
Child:
8:6ddb8c26387a

File content as of revision 7:df9f5b6dd4ed:

//
//  MainMenu.h
//  menuSystem
//
//  Created by BradDSmith on 2013-02-26.
//  Copyright (c) 2013 BradDSmith. All rights reserved.
//

#ifndef __menuSystem__Constantdisplay__
#define __menuSystem__Constantdisplay__

#include "CdisplayItem.h"

class Constantdisplay {
    static const int MAXCDISPLAYITEMS = 3;
    CdisplayItem CdisplayItem[MAXCDISPLAYITEMS];
    int maxitems;

public:
    Constantdisplay();
    void setCdisplayItem(int locID, const char * displayText, int x, int y, int x2, int y2);
    void setMaxCdisplayItems(int max);
    void printCdisplay();
    void printrect(int ID, int x1, int y1, int x2, int y2);
 //   void deleterect(int ID, int x1, int y1, int x2, int y2);
 //   void erase();
    void updatedisplayitem(int ID, char * updateText);
    void itoa(int n, char s[]);
};

#endif /* defined(__menuSystem__MainMenu__) */