Vault 7: Projects

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

File
gfx_gol_picture.h
Syntax
#define GFX_GOL_PictureControlImageGet(pObject) \
(((GFX_GOL_PICTURECONTROL*)pObject)->pImage)
Returns
Pointer to the image resource.
Description
This function gets the image used when in the pressed state.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject pointer to the object.
Function
GFX_RESOURCE_HDR *GFX_GOL_PictureControlImageGet(
GFX_GOL_PICTURECONTROL *pObject)
1.6.2.1.8.2 GFX_GOL_PictureControlImageSet Macro
This function sets the image to be in the object.
File
gfx_gol_picture.h
Syntax
#define GFX_GOL_PictureControlImageSet(pObject, pImage) \
(((GFX_GOL_PICTURECONTROL*)pObject)->pImage = pImage)
Returns
None.
Description
This function sets the image to be in the object.
Preconditions
Object must exist in memory.
Example
// assume OrigImage and NewImage are valid GFX_RESOURCE_HDR
// pointers for images
GFX_RESOURCE_HDR *pOrigIcon = &OrigImage;
GFX_RESOURCE_HDR *pNewIcon = &NewImage;
GFX_GOL_PICTURECONTROL *pPicture;
pPicture = GFX_GOL_PictureControlCreate(
10,
0, 0,
GFX_MaxXGet(), GFX_MaxYGet(),
GFX_GOL_PICTURECONTROL_DRAW_STATE,
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
232

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh