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
CdisplayItem.h
00001 // 00002 // menuItem.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__CdisplayItem__ 00010 #define __menuSystem__CdisplayItem__ 00011 00012 #include <string> 00013 00014 using namespace std; 00015 00016 #include "XYPoint.h" 00017 00018 class CdisplayItem { 00019 00020 XYPoint position; 00021 string Text; 00022 XYPoint value; 00023 00024 public: 00025 CdisplayItem(); 00026 void initialize(const char * text, int x, int y, int x2, int y2); 00027 void setText( char *); 00028 void setPosition(int x, int y); 00029 void print(); 00030 void erase(); 00031 void setValue(char *); 00032 void Crect(int x1, int y1, int x2, int y2); 00033 // void DeleteCrect(int x1, int y1, int x2, int y2); 00034 00035 }; 00036 #endif /* defined(__menuSystem__menuItem__) */
Generated on Sat Jul 23 2022 00:51:58 by
1.7.2
