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.
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 int getMenuID(); 00032 void erase(); 00033 }; 00034 00035 00036 #endif /* defined(__menuSystem__menuItem__) */
Generated on Tue Jul 12 2022 23:00:53 by
1.7.2
