Vault 7: Projects

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

// get active list
pCurr = GFX_GOL_ObjectListGet();
while(pCurr->pNxtObj != NULL)
{
// just select button objects and redraw them
if (GFX_GOL_ObjectTypeGet(pCurr) == BUTTON)
{
// set to be redrawn
pCurr->state = BTN_DRAW;
}
pCurr = GFX_GOL_ObjectNextGet(pCurr);
}
// redraw all buttons in the active list
GFX_GOL_ObjectListDraw();
}
Function
GFX_GOL_OBJ_HEADER *GFX_GOL_ObjectNextGet(GFX_GOL_OBJ_HEADER *pObject)
1.6.2.3.16 GFX_GOL_ObjectStyleSchemeGet Macro
This function returns the style scheme currently set for the object.
File
gfx_gol.h
Syntax
#define GFX_GOL_ObjectStyleSchemeGet(pObject) \
(((GFX_GOL_OBJ_HEADER*)pObject)->pGolScheme)
Returns
The pointer to the currently set style scheme.
Description
This function returns the style scheme surrently used by the object. The object must exist when this function is called. This
function do not check if the object is valid.
Preconditions
None.
Example
None.
Parameters
Parameters Description
pObject pointer to the object.
Function
GFX_GOL_OBJ_SCHEME *GFX_GOL_ObjectStyleSchemeGet(
GFX_GOL_OBJ_HEADER *pObject)
1.6.2.3.17 GFX_GOL_ObjectStyleSchemeSet Macro
This function sets the style scheme of the object.
File
gfx_gol.h
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
307

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh