Release 1.01
EditTimeMenu.h
- Committer:
- foxbrianr
- Date:
- 2019-09-17
- Revision:
- 5:9f4d4f8ffc00
- Parent:
- 4:7226c43320b5
File content as of revision 5:9f4d4f8ffc00:
/************************************************************************** * @file EditTimeMenu.h * @brief Base class for implementing the Edit Time 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 EDITTIME_MENU_H #define EDITTIME_MENU_H #include "mbed.h" #include "Menu.h" #include "LCD.h" class EditTimeMenu : public Menu { public : int row; int column; int active_selection; int hours; int mins; int secs; int months; int days; int years; EditTimeMenu(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 Time"; } }; #endif