Menu system broken
Dependencies: ANSITermMenuSystem
Fork of menuSystemMbed by
Constantdisplay.h@5:92389cf2106d, 2013-04-21 (annotated)
- Committer:
- Rybowonder
- Date:
- Sun Apr 21 20:15:31 2013 +0000
- Revision:
- 5:92389cf2106d
- Child:
- 6:2f220f5d782d
Error off the hop
Who changed what in which revision?
User | Revision | Line number | New 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 | 5:92389cf2106d | 15 | static const int MAXCDISPLAYITEMS = 3; |
Rybowonder | 5:92389cf2106d | 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 | 5:92389cf2106d | 25 | void deleterect(int ID, int x1, int y1, int x2, int y2); |
Rybowonder | 5:92389cf2106d | 26 | void erase(); |
Rybowonder | 5:92389cf2106d | 27 | void updatedisplayitem(int ID, char * updateText); |
Rybowonder | 5:92389cf2106d | 28 | void itoa(int n, char s[]); |
Rybowonder | 5:92389cf2106d | 29 | }; |
Rybowonder | 5:92389cf2106d | 30 | |
Rybowonder | 5:92389cf2106d | 31 | #endif /* defined(__menuSystem__MainMenu__) */ |