Menu system broken

Dependencies:   ANSITermMenuSystem

Fork of menuSystemMbed by Ryan Scott

Committer:
Rybowonder
Date:
Sat May 04 17:37:57 2013 +0000
Revision:
8:6ddb8c26387a
Parent:
7:df9f5b6dd4ed
For Mitchener

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Rybowonder 5:92389cf2106d 1 //
Rybowonder 5:92389cf2106d 2 // MainMenu.h
Rybowonder 5:92389cf2106d 3 // menuSystem
Rybowonder 5:92389cf2106d 4 //
Rybowonder 5:92389cf2106d 5 // Created by BradDSmith on 2013-02-26.
Rybowonder 5:92389cf2106d 6 // Copyright (c) 2013 BradDSmith. All rights reserved.
Rybowonder 5:92389cf2106d 7 //
Rybowonder 5:92389cf2106d 8
Rybowonder 5:92389cf2106d 9 #ifndef __menuSystem__Constantdisplay__
Rybowonder 5:92389cf2106d 10 #define __menuSystem__Constantdisplay__
Rybowonder 5:92389cf2106d 11
Rybowonder 5:92389cf2106d 12 #include "CdisplayItem.h"
Rybowonder 5:92389cf2106d 13
Rybowonder 5:92389cf2106d 14 class Constantdisplay {
Rybowonder 8:6ddb8c26387a 15 static const int MAXCDISPLAYITEMS = 4;
Rybowonder 6:2f220f5d782d 16 CdisplayItem CdisplayItem[MAXCDISPLAYITEMS];
Rybowonder 5:92389cf2106d 17 int maxitems;
Rybowonder 5:92389cf2106d 18
Rybowonder 5:92389cf2106d 19 public:
Rybowonder 5:92389cf2106d 20 Constantdisplay();
Rybowonder 5:92389cf2106d 21 void setCdisplayItem(int locID, const char * displayText, int x, int y, int x2, int y2);
Rybowonder 5:92389cf2106d 22 void setMaxCdisplayItems(int max);
Rybowonder 5:92389cf2106d 23 void printCdisplay();
Rybowonder 5:92389cf2106d 24 void printrect(int ID, int x1, int y1, int x2, int y2);
Rybowonder 6:2f220f5d782d 25 // void deleterect(int ID, int x1, int y1, int x2, int y2);
Rybowonder 7:df9f5b6dd4ed 26 // void erase();
Rybowonder 5:92389cf2106d 27 void updatedisplayitem(int ID, char * updateText);
Rybowonder 5:92389cf2106d 28 void itoa(int n, char s[]);
Rybowonder 8:6ddb8c26387a 29 void reverse(char *s);
Rybowonder 5:92389cf2106d 30 };
Rybowonder 5:92389cf2106d 31
Rybowonder 5:92389cf2106d 32 #endif /* defined(__menuSystem__MainMenu__) */