Riverdi 70

Dependencies:   mbed HYT FT813

TFT/display.Draw_MainMenuReference.cpp

Committer:
vitlog
Date:
2020-06-18
Revision:
0:e46c1282b39f

File content as of revision 0:e46c1282b39f:

#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));
}