1st Fork
Dependencies: mbed QEI DmTftLibrary
Display/Menu.h@27:654100855f5c, 2022-02-15 (annotated)
- Committer:
- lex9296
- Date:
- Tue Feb 15 07:22:09 2022 +0000
- Revision:
- 27:654100855f5c
- Parent:
- 23:b9d23a2f390e
Release "Stabile"
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mverdy | 20:626b92b70bf7 | 1 | /* |
mverdy | 20:626b92b70bf7 | 2 | ______ _ |
mverdy | 20:626b92b70bf7 | 3 | / _____) _ | | |
mverdy | 20:626b92b70bf7 | 4 | ( (____ _____ ____ _| |_ _____ ____| |__ |
mverdy | 20:626b92b70bf7 | 5 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
mverdy | 20:626b92b70bf7 | 6 | _____) ) ____| | | || |_| ____( (___| | | | |
mverdy | 20:626b92b70bf7 | 7 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
mverdy | 20:626b92b70bf7 | 8 | (C)2016 Semtech |
mverdy | 20:626b92b70bf7 | 9 | |
mverdy | 20:626b92b70bf7 | 10 | Description: Display demo menus and manage touch sensor, header |
mverdy | 20:626b92b70bf7 | 11 | |
mverdy | 20:626b92b70bf7 | 12 | Maintainer: Gregory Cristian & Gilbert Menth |
mverdy | 20:626b92b70bf7 | 13 | */ |
mverdy | 20:626b92b70bf7 | 14 | |
lex9296 | 23:b9d23a2f390e | 15 | //#ifndef MENU_H |
lex9296 | 23:b9d23a2f390e | 16 | //#define MENU_H |
mverdy | 20:626b92b70bf7 | 17 | |
lex9296 | 23:b9d23a2f390e | 18 | //#include "DisplayDriver.h" |
lex9296 | 23:b9d23a2f390e | 19 | //#include "DmTouchCalibration.h" |
mverdy | 20:626b92b70bf7 | 20 | |
mverdy | 20:626b92b70bf7 | 21 | /*! |
mverdy | 20:626b92b70bf7 | 22 | * \brief TFT calibration structure. |
mverdy | 20:626b92b70bf7 | 23 | */ |
lex9296 | 23:b9d23a2f390e | 24 | //typedef struct |
lex9296 | 23:b9d23a2f390e | 25 | //{ |
lex9296 | 23:b9d23a2f390e | 26 | // bool ScreenCalibrated; |
lex9296 | 23:b9d23a2f390e | 27 | // CalibrationMatrix Calibration; |
lex9296 | 23:b9d23a2f390e | 28 | //}MenuSettings_t; |
mverdy | 20:626b92b70bf7 | 29 | |
mverdy | 20:626b92b70bf7 | 30 | /*! |
mverdy | 20:626b92b70bf7 | 31 | * \brief Common var to manage TFT calibration. |
mverdy | 20:626b92b70bf7 | 32 | */ |
lex9296 | 23:b9d23a2f390e | 33 | //extern MenuSettings_t MenuSettings; |
mverdy | 20:626b92b70bf7 | 34 | |
mverdy | 20:626b92b70bf7 | 35 | |
mverdy | 20:626b92b70bf7 | 36 | /*! |
mverdy | 20:626b92b70bf7 | 37 | * \brief Init menu settings. |
mverdy | 20:626b92b70bf7 | 38 | */ |
mverdy | 20:626b92b70bf7 | 39 | void MenuInit( void ); |
mverdy | 20:626b92b70bf7 | 40 | |
lex9296 | 21:ab8027016a2c | 41 | // LA: New Master Menu |
lex9296 | 21:ab8027016a2c | 42 | // =============== |
lex9296 | 21:ab8027016a2c | 43 | // |
lex9296 | 23:b9d23a2f390e | 44 | //void StabilusMenu (int32_t i32_Pulses); |
lex9296 | 23:b9d23a2f390e | 45 | void StabilusMenu (uint32_t ms_0000, uint32_t ms_0001, uint32_t ms_0002, int32_t i32_Pulses); |
mverdy | 20:626b92b70bf7 | 46 | |
lex9296 | 23:b9d23a2f390e | 47 | //void CheckScreen( void ); |
lex9296 | 23:b9d23a2f390e | 48 | //void CheckRefresh( void ); |
lex9296 | 23:b9d23a2f390e | 49 | //void DebouncedScreen( void ); |
lex9296 | 23:b9d23a2f390e | 50 | void DrawActiveButton( uint8_t buttonId, uint8_t* text1, uint8_t* text2 ); |
lex9296 | 23:b9d23a2f390e | 51 | void ButtonChangeText( uint8_t buttonId, uint8_t* text1, uint8_t* text2 ); |
lex9296 | 23:b9d23a2f390e | 52 | void RemoveButton( uint8_t buttonId ); |
lex9296 | 23:b9d23a2f390e | 53 | void DrawText( uint8_t lineId, uint8_t* text0, uint8_t* text1, uint8_t* text2 ); |
mverdy | 20:626b92b70bf7 | 54 | |
lex9296 | 23:b9d23a2f390e | 55 | //#endif // MENU_H |
mverdy | 20:626b92b70bf7 | 56 |