| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN3128 bảng dữ liệu(PDF) 40 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3128 bảng dữ liệu(HTML) 40 Page - STMicroelectronics |
|
40 / 105 page ![]() Multi-input embedded GUI library firmware AN3128 40/105 Doc ID 16918 Rev 5 Example: /* Declares and initiates a Page Object */ GL_Page_TypeDef page1; Create_PageObj( &page1 ); /* Declares and initiates a Label Object and add it with specified coordinates to a Page Object */ 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); /* Modify the label in a "Label Object" */ Set_Label(&page1, "pageLabel", "Graphic Library New") /* Get the label in a "Label Object" */ Char* label; Get_Label(&page1, "pageLabel", label) Figure 14, 15, 16, show, in detail, the Label Object properties and methods which the final application can use to interact with. 4.1.18 GetComboOptionLabel API global function Table 23 describes the GetComboOptionLabel function: Example: /* Declares and initiates a Page Object */ GL_Page_TypeDef page1; Create_PageObj( &page1 ); /* Declares and initiates a Label Object and add it with specified coordinates to a Page Object */ AddPageControlObj((uint16_t)((LCD_Width/11)*9),(uint8_t)(LCD_Height/11),pageLabel, &page1); /* Declares and initiates a Combobox object */ GL_PageControls_TypeDef* ComboBoxGrp1 = NewComboBoxGrp("ComboBoxGrp1"); Table 23. GetComboOptionLabel API function Name Description Function name GetComboOptionLabel Function prototype char* GetComboOptionLabel(GL_Page_TypeDef* pPage, char* objName) Behavior description Return the active combo option Label Input parameter {x} *pPage: pointer to page structure objName: name of the object Output parameter {x} None Return value char* Label: the active combo option Label if the object was found GL_NULL: if the object was not found Required preconditions None Called functions No API/HAL layer functions |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |