Menu system broken

Dependencies:   ANSITermMenuSystem

Fork of menuSystemMbed by Ryan Scott

Constantdisplay.h

Committer:
Rybowonder
Date:
2013-05-04
Revision:
8:6ddb8c26387a
Parent:
7:df9f5b6dd4ed

File content as of revision 8:6ddb8c26387a:

//
//  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 = 4;
    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[]);
    void reverse(char *s);
};

#endif /* defined(__menuSystem__MainMenu__) */