Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Returns
GFX_STATUS_SUCCESS - is returned if the set was successful. GFX_STATUS_FAILURE - is returned if the set was not
successful.
Description
This function sets the active list to the new list. The previous list will still exist in memory. Application must save the previous
list before the set is called if the previous list will be referenced later. If the previous list is not needed anymore, then the list
must be removed from memory by GFX_GOL_ObjectListFree() function.
Setting the active list to the new list will reset the focused pointer object to NULL.
Preconditions
None.
Example
GFX_GOL_OBJ_HEADER *pSave;
// save current list
pSave = GFX_GOL_ObjectListSet();
// start the new list
GFX_GOL_ObjectListNew();
// you can now add objects to the current list
// assume that objects are already created
GFX_GOL_ObjectAdd(pButton);
GFX_GOL_ObjectAdd(pWindow);
GFX_GOL_ObjectAdd(pSlider);
// do something here on the new list
// return the old list
GOLSetList(pSave);
Function
GFX_STATUS *GFX_GOL_ObjectListSet(GFX_GOL_OBJ_HEADER *pList)
1.6.2.3.15 GFX_GOL_ObjectNextGet Function
This function returns the pointer to next object in the list after the specified object.
File
gfx_gol.h
Syntax
GFX_GOL_OBJ_HEADER * GFX_GOL_ObjectNextGet(GFX_GOL_OBJ_HEADER * pObject);
Returns
The pointer to the next object in the list.
Description
This function returns the pointer to next object in the list after the specified object.
Preconditions
None.
Example
void RedrawButtons(void)
{
GFX_GOL_OBJ_HEADER *pCurr;
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
306
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf