# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 247
- 248
- 249
- 250
- 251
…
- 373
- 374

// do something here then clear the check
GFX_GOL_ObjectStateClear(pRb[0], RB_CHECKED);
// Change the checked object. Pointer used is
// any of the three. The ID used will find the
// correct object to be checked
GFX_GOL_RadioButtonCheckSet(pRb[3], ID_RADIOBUTTON2);
}
Parameters
Parameters Description
pObject pointer to the object.
Function
uint16_t GFX_GOL_RadioButtonCheckGet(
GFX_GOL_RADIOBUTTON *pObject)
1.6.2.1.10.5 GFX_GOL_RadioButtonCheckSet Function
This function sets the ID of the currently checked radio button in the group.
File
gfx_gol_radio_button.h
Syntax
void GFX_GOL_RadioButtonCheckSet(GFX_GOL_RADIOBUTTON * pObject, uint16_t id);
Returns
None.
Description
This function sets the ID of the currently checked radio button in the group. When there is only one member of the group,
then that member will have the check.
When the id given does not exist in the group, the function will do nothing.
Preconditions
Object must exist in memory.
Example
See GFX_GOL_RadioButtonCheckGet() example.
Parameters
Parameters Description
pObject pointer to the object.
id id of the member of the group.
Function
GFX_XCHAR GFX_GOL_RadioButtonCheckSet(
GFX_GOL_RADIOBUTTON *pObject,
uint16_t id)
1.6.2.1.10.6 GFX_GOL_RadioButtonCreate Function
This function creates a GFX_GOL_RADIOBUTTON object with the parameters given. It automatically attaches the new
object into a global linked list of objects and returns the address of the object.
File
gfx_gol_radio_button.h
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
249

- 1
- 2
…
- 247
- 248
- 249
- 250
- 251
…
- 373
- 374