Menu system broken

Dependencies:   ANSITermMenuSystem

Fork of menuSystemMbed by Ryan Scott

Constantdisplay.h

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

File content as of revision 6:2f220f5d782d:

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