| 数据搜索系统,热门电子元器件搜索 |
|
AN3128 数据表(PDF) 45 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3128 数据表(HTML) 45 Page - STMicroelectronics |
|
45 / 105 page ![]() AN3128 Multi-input embedded GUI library firmware Doc ID 16918 Rev 5 45/105 4.1.23 Get_SlidebarValue API global function Table 28 describes the Get_SlidebarValue function: Example: /* Declares and initiates a Page Object */ GL_Page_TypeDef page1; Create_PageObj( &page1 ); /* Declares and initiates a Slidebar Object and add it with specified coordinates to a Page Object */ GL_PageControls_TypeDef* MySlidebar = NewSlidebar("MySlidebar", "Volume", GL_Horizontal, MySlidebarFunc); AddPageControlObj((uint16_t)((LCD_Width/10)*7),(uint8_t)((LCD_Height/9)*3), MySlidebar,&page1); ... uint8_t slidebarValue = Get_SlidebarValue(&page1, "MySlidebar" ); Figure 14, 15, 16, show, in detail, the slidebar object properties and methods which the final application can use to interact with. Table 28. Get_SlidebarValue API function Name Description Function name Get_SlidebarValue Function prototype uint8_t Get_SlidebarValue (GL_Page_TypeDef* pPage, char* objName) Behavior description Return the current value of cursor position in a slidebar object Input parameter {x} *pPage: pointer to page structure objName: name of the object Output parameter {x} None Return value The cursor position value (0-100 percentage) 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 |