| Electronic Components Datasheet Search |
|
AN3128 Datasheet(PDF) 30 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3128 Datasheet(HTML) 30 Page - STMicroelectronics |
|
30 / 105 page ![]() Multi-input embedded GUI library firmware AN3128 30/105 Doc ID 16918 Rev 5 Table 13 describes the NewComboBoxGrp function: Example: /* Declares and initiates a Page Object */ GL_Page_TypeDef page1; Create_PageObj( &page1 ); /* Declares and initiates a ComboBoxGroup Object and add it with specified coordinates to a Page Object */ GL_PageControls_TypeDef* MyComboGrp = NewComboBoxGrp("MyComboGrp"); AddPageControlObj((uint16_t)((LCD_Width/10)*8),(uint8_t)(LCD_Height/2),MyComboGrp, &page1); Once a ComboBoxGrp object instance is created using the NewComboBoxGrp function, the ComboBoxGrp object itself provides all its features through its internal function pointers. Figure 14, 15, 16, show, in detail, the ComboBoxGrp object properties and methods which the final application can use to interact with. 4.1.9 AddComboOption API global function Table 14 describes the AddComboOption function: Table 13. NewComboBoxGrp API function Name Description Function name NewComboBoxGrp Function prototype GL_PageControls_TypeDef* NewComboBoxGrp (char* oName) Behavior description Create and initialize a new ComboBoxGrp object (a C structure) Input parameter {x} oName: object name Output parameter {x} None Return value The created object pointer or null if the object cannot be created Required preconditions None Called functions No API/HAL layer functions Table 14. AddComboOption API function Name Description Function name AddComboOption Function prototype GL_ErrStatus AddComboOption (GL_ComboBoxGrp_TypeDef* pThis, char* Label, void* (*pEventHandler)(void)) Behavior description Create and initialize a new ComboBoxOption object (a C structure) Input parameter {x} GL_ComboBoxGrp_TypeDef*: pThis Label: Label for RadioButton option pEventHandler: pointer to function associated to its touch event Output parameter {x} None Return value GL_OK if successful, GL_ERROR otherwise |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |