| 数据搜索系统,热门电子元器件搜索 |
|
AN3128 数据表(PDF) 49 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3128 数据表(HTML) 49 Page - STMicroelectronics |
|
49 / 105 page ![]() AN3128 Multi-input embedded GUI library firmware Doc ID 16918 Rev 5 49/105 4.1.28 RefreshPage API global function Table 33 describes the RefreshPage function: Example: /* Declares and initiates a Page Object */ GL_Page_TypeDef page1; Create_PageObj( &page1 ); 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", NullFunc ); AddPageControlObj((uint16_t)((LCD_Width/10)*6),(uint8_t)((LCD_Height/9)*5),Button1, &page1 ); GL_PageControls_TypeDef* Button2 = NewButton( "Button2", "BUTTON2", NullFunc ); AddPageControlObj((uint16_t)((LCD_Width/10)*6),(uint8_t)((LCD_Height/9)*7),Button2, &page1); ... GL_Clear(White); GL_SetTextColor(GL_Blue); page1.ShowPage( &page1, GL_TRUE ); /* Modify the label in a "Label Object" */ Set_Label(&page1, "pageLabel", "Graphic Lib New") RefreshPage(&page1); Table 33. RefreshPage API function Name Description Function name RefreshPage Function prototype void RefreshPage (GL_Page_TypeDef* pPage) Behavior description Refresh the page if the status of any object was changed. Input parameter {x} *pPage: pointer to page structure Output parameter {x} None Return value None Required preconditions None Called functions No API/HAL layer functions |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |