Vitaliy Loginov
/
disp70
Riverdi 70
Diff: TFT/display.Draw_MainMenuReference.cpp
- Revision:
- 0:e46c1282b39f
diff -r 000000000000 -r e46c1282b39f TFT/display.Draw_MainMenuReference.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TFT/display.Draw_MainMenuReference.cpp Thu Jun 18 13:18:02 2020 +0000 @@ -0,0 +1,18 @@ +#include "display.h" + +/************************************************************************************************************************** +************************** Draw link to the main menu screen ************************************************************** +**************************************************************************************************************************/ +void Display::MainMenuReference() +{ + (*_TFT).DL(COLOR_RGB(0, 0, 0)); + (*_TFT).DL(TAG_MASK(1)); + (*_TFT).DL(TAG(MENU_PRESS)); + (*_TFT).Text(14, 240, 22, 0, "Back to main menu"); + (*_TFT).DL(BEGIN(LINES)); + (*_TFT).DL(LINE_WIDTH(8)); + (*_TFT).DL(VERTEX2F(15 * 16, 260 * 16)); + (*_TFT).DL(VERTEX2F(155 * 16, 260 * 16)); + (*_TFT).DL(TAG_MASK(0)); +} + \ No newline at end of file