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
menuItem.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__menuItem__ 00010 #define __menuSystem__menuItem__ 00011 00012 #include <string> 00013 00014 using namespace std; 00015 00016 #include "XYPoint.h" 00017 00018 class menuItem { 00019 int menuID; 00020 XYPoint position; 00021 string Text; 00022 00023 public: 00024 menuItem(); 00025 void initialize( int ID, const char * text, int x, int y); 00026 void setText( char *); 00027 void setPosition(int x, int y); 00028 void print(); 00029 void highlight(); 00030 void removeHighLight(); 00031 void showselect(); 00032 void removeselect(); 00033 int getMenuID(); 00034 void erase(); 00035 }; 00036 00037 00038 #endif /* defined(__menuSystem__menuItem__) */
Generated on Sat Jul 23 2022 00:51:58 by
1.7.2
