Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FT800_2 HYT mbed
TFT/display.Draw_MainMenuReference.cpp@1:8ca8a4ecbe6b, 2016-10-12 (annotated)
- Committer:
- Ksenia
- Date:
- Wed Oct 12 10:53:35 2016 +0000
- Revision:
- 1:8ca8a4ecbe6b
- Parent:
- 0:9db07391e780
?????? ??????? ? ?????? ?????????
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Ksenia | 0:9db07391e780 | 1 | #include "display.h" |
| Ksenia | 0:9db07391e780 | 2 | |
| Ksenia | 0:9db07391e780 | 3 | /************************************************************************************************************************** |
| Ksenia | 0:9db07391e780 | 4 | ************************** Draw link to the main menu screen ************************************************************** |
| Ksenia | 0:9db07391e780 | 5 | **************************************************************************************************************************/ |
| Ksenia | 0:9db07391e780 | 6 | void Display::MainMenuReference() |
| Ksenia | 0:9db07391e780 | 7 | { |
| Ksenia | 0:9db07391e780 | 8 | (*_TFT).DL(COLOR_RGB(0, 0, 0)); |
| Ksenia | 0:9db07391e780 | 9 | (*_TFT).DL(TAG_MASK(1)); |
| Ksenia | 0:9db07391e780 | 10 | (*_TFT).DL(TAG(MENU_PRESS)); |
| Ksenia | 0:9db07391e780 | 11 | CreateStringRussian("В главное меню"); |
| Ksenia | 0:9db07391e780 | 12 | (*_TFT).Text(14, 240, 4, 0, russianStr); |
| Ksenia | 0:9db07391e780 | 13 | (*_TFT).DL(BEGIN(LINES)); |
| Ksenia | 0:9db07391e780 | 14 | (*_TFT).DL(LINE_WIDTH(8)); |
| Ksenia | 0:9db07391e780 | 15 | (*_TFT).DL(VERTEX2F(15 * 16, 260 * 16)); |
| Ksenia | 0:9db07391e780 | 16 | (*_TFT).DL(VERTEX2F(136 * 16, 260 * 16)); |
| Ksenia | 0:9db07391e780 | 17 | (*_TFT).DL(TAG_MASK(0)); |
| Ksenia | 0:9db07391e780 | 18 | } |