Release 1.01

Dependents:   mbed_escm2000

Committer:
foxbrianr
Date:
Tue Sep 17 13:48:22 2019 +0000
Revision:
5:9f4d4f8ffc00
Parent:
4:7226c43320b5
Beta 2

Who changed what in which revision?

UserRevisionLine numberNew contents of line
foxbrianr 5:9f4d4f8ffc00 1 /**************************************************************************
foxbrianr 5:9f4d4f8ffc00 2 * @file DisplayCodeMenu.h
foxbrianr 5:9f4d4f8ffc00 3 * @brief Base class for implementing the Display Code Menu display
foxbrianr 5:9f4d4f8ffc00 4 * @version: V1.0
foxbrianr 5:9f4d4f8ffc00 5 * @date: 9/17/2019
foxbrianr 3:8395f7ab6d3e 6
foxbrianr 5:9f4d4f8ffc00 7 *
foxbrianr 5:9f4d4f8ffc00 8 * @note
foxbrianr 5:9f4d4f8ffc00 9 * Copyright (C) 2019 E3 Design. All rights reserved.
foxbrianr 5:9f4d4f8ffc00 10 *
foxbrianr 5:9f4d4f8ffc00 11 * @par
foxbrianr 5:9f4d4f8ffc00 12 * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768
foxbrianr 5:9f4d4f8ffc00 13 * processor based microcontroller for the ESCM 2000 Monitor and Display.
foxbrianr 5:9f4d4f8ffc00 14 * *
foxbrianr 5:9f4d4f8ffc00 15 * @par
foxbrianr 5:9f4d4f8ffc00 16 * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
foxbrianr 5:9f4d4f8ffc00 17 * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
foxbrianr 5:9f4d4f8ffc00 18 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
foxbrianr 5:9f4d4f8ffc00 19 * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
foxbrianr 5:9f4d4f8ffc00 20 * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
foxbrianr 5:9f4d4f8ffc00 21 *
foxbrianr 5:9f4d4f8ffc00 22 ******************************************************************************/
foxbrianr 3:8395f7ab6d3e 23 #include "mbed.h"
foxbrianr 3:8395f7ab6d3e 24 #include "Menu.h"
foxbrianr 3:8395f7ab6d3e 25 #include "LCD.h"
foxbrianr 3:8395f7ab6d3e 26 #include "ESCMControlApp.h"
foxbrianr 3:8395f7ab6d3e 27
foxbrianr 5:9f4d4f8ffc00 28 #ifndef DISPLAYCODE_MENU_H
foxbrianr 5:9f4d4f8ffc00 29 #define DISPLAYCODE_MENU_H
foxbrianr 5:9f4d4f8ffc00 30
foxbrianr 4:7226c43320b5 31 class DisplayCodesMenu : public Menu
foxbrianr 3:8395f7ab6d3e 32 {
foxbrianr 3:8395f7ab6d3e 33 public :
foxbrianr 3:8395f7ab6d3e 34 int row;
foxbrianr 3:8395f7ab6d3e 35 int column;
foxbrianr 4:7226c43320b5 36 int erase_log;
foxbrianr 3:8395f7ab6d3e 37
foxbrianr 3:8395f7ab6d3e 38 int active_selection;
foxbrianr 3:8395f7ab6d3e 39 int current_line;
foxbrianr 4:7226c43320b5 40 int current_index;
foxbrianr 4:7226c43320b5 41 int top;
foxbrianr 4:7226c43320b5 42 int bottom;
foxbrianr 3:8395f7ab6d3e 43
foxbrianr 4:7226c43320b5 44 DisplayCodesMenu(char* id);
foxbrianr 3:8395f7ab6d3e 45
foxbrianr 4:7226c43320b5 46 void display(LCD * lcd);
foxbrianr 4:7226c43320b5 47
foxbrianr 3:8395f7ab6d3e 48 virtual void pressMode();
foxbrianr 4:7226c43320b5 49 virtual void pressSet();
foxbrianr 3:8395f7ab6d3e 50 virtual void pressDown();
foxbrianr 3:8395f7ab6d3e 51 virtual void pressUp();
foxbrianr 4:7226c43320b5 52 virtual void init();
foxbrianr 4:7226c43320b5 53
foxbrianr 4:7226c43320b5 54 virtual char* getText() { return "Display Codes"; }
foxbrianr 3:8395f7ab6d3e 55 };
foxbrianr 3:8395f7ab6d3e 56
foxbrianr 3:8395f7ab6d3e 57
foxbrianr 3:8395f7ab6d3e 58 #endif