E3 Designers / Menu

Dependents:   mbed_escm2000

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers DisplayCodesMenu.h Source File

DisplayCodesMenu.h

00001 /**************************************************************************
00002  * @file     DisplayCodeMenu.h
00003  * @brief    Base class for implementing the Display Code Menu display
00004  * @version: V1.0
00005  * @date:    9/17/2019
00006 
00007  *
00008  * @note
00009  * Copyright (C) 2019 E3 Design. All rights reserved.
00010  *
00011  * @par
00012  * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768
00013  * processor based microcontroller for the ESCM 2000 Monitor and Display.  
00014  *  *
00015  * @par
00016  * THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED
00017  * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
00018  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
00019  * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
00020  * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
00021  *
00022  ******************************************************************************/
00023 #include "mbed.h"
00024 #include "Menu.h"
00025 #include "LCD.h"
00026 #include "ESCMControlApp.h"
00027 
00028 #ifndef DISPLAYCODE_MENU_H
00029 #define DISPLAYCODE_MENU_H
00030 
00031 class DisplayCodesMenu : public Menu 
00032 {
00033    public :
00034         int row;
00035         int column;
00036         int erase_log;
00037         
00038         int active_selection;
00039         int current_line;
00040         int current_index;
00041         int top;
00042         int bottom;
00043         
00044         DisplayCodesMenu(char* id);
00045    
00046         void display(LCD * lcd);
00047             
00048         virtual void pressMode();        
00049         virtual void pressSet();        
00050         virtual void pressDown();    
00051         virtual void pressUp();
00052         virtual void init();
00053         
00054         virtual char* getText() { return "Display Codes"; }
00055 };
00056 
00057 
00058 #endif