Release 1.01
EditAddressMenu.h
- Committer:
- foxbrianr
- Date:
- 2019-09-17
- Revision:
- 5:9f4d4f8ffc00
- Parent:
- 4:7226c43320b5
File content as of revision 5:9f4d4f8ffc00:
/************************************************************************** * @file EditAddressMenu.h * @brief Base class for implementing the Edit Address Menu display * @version: V1.0 * @date: 9/17/2019 * * @note * Copyright (C) 2019 E3 Design. All rights reserved. * * @par * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768 * processor based microcontroller for the ESCM 2000 Monitor and Display. * * * @par * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. * ******************************************************************************/ #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