Release 1.01
Diff: EditAddressMenu.h
- Revision:
- 4:7226c43320b5
- Child:
- 5:9f4d4f8ffc00
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/EditAddressMenu.h Thu Sep 12 11:27:50 2019 +0000 @@ -0,0 +1,41 @@ +#ifndef EDITADDRESS_MENU_H +#define EDITADDRESS_MENU_H + +#include "mbed.h" +#include "Menu.h" +#include "LCD.h" +#include "AddressMap.h" + +class EditAddressMenu : public Menu +{ + public : + int row; + int column; + int top; + int bottom; + + + char tmp_description[MAX_ADDR_LENGTH]; + + + int active_selection; + int active_address; + int active_position; + + EditAddressMenu(char* id); + + void display(LCD * lcd); + + virtual void pressMode(); + virtual void pressSet(); + virtual void pressDown(); + virtual void pressUp(); + virtual void init(); + + virtual char* getText() { return "Edit Addresses"; } + + void nextValidChar (char * c, int direction); +}; + + +#endif \ No newline at end of file