test

Dependencies:   ad5422_arduino mbed LT1446 ADS1248-1 LM35-1 Flash FT813 PGA280_ADS1259

TFT/display.Draw_MainMenuReference.cpp

Committer:
nikmaos
Date:
2020-09-01
Revision:
7:c364201bc3ed
Parent:
3:d4b106bf3a32

File content as of revision 7:c364201bc3ed:

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