Release 1.01

Dependents:   mbed_escm2000

EditTimeMenu.h

Committer:
foxbrianr
Date:
2020-03-17
Revision:
8:9d4e684d8eb8
Parent:
5:9f4d4f8ffc00

File content as of revision 8:9d4e684d8eb8:

/**************************************************************************
 * @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