test
Dependencies: ad5422_arduino mbed LT1446 ADS1248-1 LM35-1 Flash FT813 PGA280_ADS1259
TFT/display.Draw_MainMenuReference.cpp@7:c364201bc3ed, 2020-09-01 (annotated)
- Committer:
- nikmaos
- Date:
- Tue Sep 01 10:52:34 2020 +0000
- Revision:
- 7:c364201bc3ed
- Parent:
- 3:d4b106bf3a32
1.09.2020;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nikmaos | 3:d4b106bf3a32 | 1 | #include "display.h" |
nikmaos | 3:d4b106bf3a32 | 2 | |
nikmaos | 3:d4b106bf3a32 | 3 | /************************************************************************************************************************** |
nikmaos | 3:d4b106bf3a32 | 4 | ************************** Draw link to the main menu screen ************************************************************** |
nikmaos | 3:d4b106bf3a32 | 5 | **************************************************************************************************************************/ |
nikmaos | 3:d4b106bf3a32 | 6 | void Display::MainMenuReference() |
nikmaos | 3:d4b106bf3a32 | 7 | { |
nikmaos | 3:d4b106bf3a32 | 8 | (*_TFT).DL(COLOR_RGB(0, 0, 0)); |
nikmaos | 3:d4b106bf3a32 | 9 | (*_TFT).DL(TAG_MASK(1)); |
nikmaos | 3:d4b106bf3a32 | 10 | (*_TFT).DL(TAG(MENU_PRESS)); |
nikmaos | 3:d4b106bf3a32 | 11 | (*_TFT).Text(14, 240, 22, 0, "Back to main menu"); |
nikmaos | 3:d4b106bf3a32 | 12 | (*_TFT).DL(BEGIN(LINES)); |
nikmaos | 3:d4b106bf3a32 | 13 | (*_TFT).DL(LINE_WIDTH(8)); |
nikmaos | 3:d4b106bf3a32 | 14 | (*_TFT).DL(VERTEX2F(15 * 16, 260 * 16)); |
nikmaos | 3:d4b106bf3a32 | 15 | (*_TFT).DL(VERTEX2F(155 * 16, 260 * 16)); |
nikmaos | 3:d4b106bf3a32 | 16 | (*_TFT).DL(TAG_MASK(0)); |
nikmaos | 3:d4b106bf3a32 | 17 | } |
nikmaos | 3:d4b106bf3a32 | 18 |