Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ANSITermMenuSystem
Fork of menuSystemMbed by
Constantdisplay.h
00001 // 00002 // MainMenu.h 00003 // menuSystem 00004 // 00005 // Created by BradDSmith on 2013-02-26. 00006 // Copyright (c) 2013 BradDSmith. All rights reserved. 00007 // 00008 00009 #ifndef __menuSystem__Constantdisplay__ 00010 #define __menuSystem__Constantdisplay__ 00011 00012 #include "CdisplayItem.h" 00013 00014 class Constantdisplay { 00015 static const int MAXCDISPLAYITEMS = 4; 00016 CdisplayItem CdisplayItem[MAXCDISPLAYITEMS]; 00017 int maxitems; 00018 00019 public: 00020 Constantdisplay(); 00021 void setCdisplayItem(int locID, const char * displayText, int x, int y, int x2, int y2); 00022 void setMaxCdisplayItems(int max); 00023 void printCdisplay(); 00024 void printrect(int ID, int x1, int y1, int x2, int y2); 00025 // void deleterect(int ID, int x1, int y1, int x2, int y2); 00026 // void erase(); 00027 void updatedisplayitem(int ID, char * updateText); 00028 void itoa(int n, char s[]); 00029 void reverse(char *s); 00030 }; 00031 00032 #endif /* defined(__menuSystem__MainMenu__) */
Generated on Sat Jul 23 2022 00:51:58 by
1.7.2
