Vitaliy Loginov
/
disp70
Riverdi 70
TFT/display.Draw_MainMenuReference.cpp@0:e46c1282b39f, 2020-06-18 (annotated)
- Committer:
- vitlog
- Date:
- Thu Jun 18 13:18:02 2020 +0000
- Revision:
- 0:e46c1282b39f
Riverdi EVE 70
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vitlog | 0:e46c1282b39f | 1 | #include "display.h" |
vitlog | 0:e46c1282b39f | 2 | |
vitlog | 0:e46c1282b39f | 3 | /************************************************************************************************************************** |
vitlog | 0:e46c1282b39f | 4 | ************************** Draw link to the main menu screen ************************************************************** |
vitlog | 0:e46c1282b39f | 5 | **************************************************************************************************************************/ |
vitlog | 0:e46c1282b39f | 6 | void Display::MainMenuReference() |
vitlog | 0:e46c1282b39f | 7 | { |
vitlog | 0:e46c1282b39f | 8 | (*_TFT).DL(COLOR_RGB(0, 0, 0)); |
vitlog | 0:e46c1282b39f | 9 | (*_TFT).DL(TAG_MASK(1)); |
vitlog | 0:e46c1282b39f | 10 | (*_TFT).DL(TAG(MENU_PRESS)); |
vitlog | 0:e46c1282b39f | 11 | (*_TFT).Text(14, 240, 22, 0, "Back to main menu"); |
vitlog | 0:e46c1282b39f | 12 | (*_TFT).DL(BEGIN(LINES)); |
vitlog | 0:e46c1282b39f | 13 | (*_TFT).DL(LINE_WIDTH(8)); |
vitlog | 0:e46c1282b39f | 14 | (*_TFT).DL(VERTEX2F(15 * 16, 260 * 16)); |
vitlog | 0:e46c1282b39f | 15 | (*_TFT).DL(VERTEX2F(155 * 16, 260 * 16)); |
vitlog | 0:e46c1282b39f | 16 | (*_TFT).DL(TAG_MASK(0)); |
vitlog | 0:e46c1282b39f | 17 | } |
vitlog | 0:e46c1282b39f | 18 |