Vault 7: Projects

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

Parameters
Parameters Description
pObject pointer to the object.
Function
GFX_RESOURCE_HDR *GFX_GOL_ButtonPressStateImageGet(
GFX_GOL_BUTTON *pObject)
1.6.2.1.1.2 GFX_GOL_ButtonPressStateImageSet Macro
This function sets the image to be used when in the pressed state.
File
gfx_gol_button.h
Syntax
#define GFX_GOL_ButtonPressStateImageSet(pObject, pImage) \
(((GFX_GOL_BUTTON *)pObject)->pPressImage = pImage)
Returns
None.
Description
This function sets the image to be used when in the pressed state.
Preconditions
Object must exist in memory.
Example
// assume ImageIcon is a valid GFX_RESOURCE_HDR
GFX_RESOURCE_HDR *pMyIcon = &ImageIcon;
GFX_GOL_BUTTON *pButton;
GFX_GOL_ButtonPressStateImageSet(pButton , pMyIcon);
Parameters
Parameters Description
pObject pointer to the object.
pImage pointer to the image resource.
Function
void GFX_GOL_ButtonPressStateImageSet(
GFX_GOL_BUTTON *pObject,
GFX_RESOURCE_HDR *pImage)
1.6.2.1.1.3 GFX_GOL_ButtonReleaseStateImageGet Macro
This function gets the image used when in the released state.
File
gfx_gol_button.h
Syntax
#define GFX_GOL_ButtonReleaseStateImageGet(pObject, pImage) \
(((GFX_GOL_BUTTON *)pObject)->pReleaseImage)
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
160

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh