| поискавой системы для электроныых деталей |
|
AN3128 датащи(PDF) 51 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3128 датащи(HTML) 51 Page - STMicroelectronics |
|
51 / 105 page ![]() AN3128 Multi-input embedded GUI library firmware Doc ID 16918 Rev 5 51/105 4.1.30 ChangePage API global function Table 35 describes the ChangePage function: Example: int void main(void) { /* Declares and initiates a Page Object */ GL_Page_TypeDef page1, page2; Create_PageObj( &page1 ); Create_PageObj( &page2 ); GL_PageControls_TypeDef* pageLabel = NewLabel("pageLabel", "Graphic Library", GL_HORIZONTAL, GL_FONT_BIG, GL_Blue); AddPageControlObj((uint16_t)((LCD_Width/11)*9),(uint8_t)(LCD_Height/11),pageLabel, &page1); GL_PageControls_TypeDef* Button1 = NewButton( "Button1", "BUTTON1", NextPageFunc ); AddPageControlObj((uint16_t)((LCD_Width/10)*6),(uint8_t)((LCD_Height/9)*5),Button1, &page1); GL_PageControls_TypeDef* Button2 = NewButton( "Button2", "BUTTON2", BackPageFunc ); AddPageControlObj((uint16_t)((LCD_Width/10)*6),(uint8_t)((LCD_Height/9)*7),Button2, &page2); ... GL_Clear(White); GL_SetTextColor(GL_Blue); page1.ShowPage( &page1, GL_TRUE ); } void NextPageFunc(void) { ChangePage(&page1, &page2); } void BackPageFunc(void) { ChangePage(&page2, &page1); Table 35. ChangePage API function Name Description Function name ChangePage Function prototype void ChangePage(GL_Page_TypeDef* pPageOld, GL_Page_TypeDef* pPageNew) Behavior description Change the current page shown on the LCD Input parameter {x} *pPageOld: pointer to page structure of the current page *pPageNew: pointer to page structure of the new page Output parameter {x} None Return value None Required preconditions None Called functions No API/HAL layer functions |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |