Vault 7: Projects

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

pOrigIcon,
NULL);
// change the image used
GFX_GOL_PictureControlImageSet(pPicture , pNewIcon);
Parameters
Parameters Description
pObject pointer to the object.
pImage pointer to the image resource.
Function
void GFX_GOL_PictureControlImageSet(
GFX_GOL_PICTURECONTROL *pObject,
GFX_RESOURCE_HDR *pImage)
1.6.2.1.8.3 GFX_GOL_PictureControlActionGet Function
This function evaluates the message from a user if the message will affect the object or not.
File
gfx_gol_picture.h
Syntax
GFX_GOL_TRANSLATED_ACTION GFX_GOL_PictureControlActionGet(void * pObject, GFX_GOL_MESSAGE *
pMessage);
Returns
GFX_GOL_PICTURECONTROL_ACTION_SELECTED – Object is selected
GFX_GOL_OBJECT_ACTION_INVALID – Object is not affected
Description
This function evaluates the message from a user if the message will affect the object or not. The table below enumerates the
action for each event of the touch screen and keyboard inputs.
Translated Message Input
Source
Set/Clear State Bit Description
GFX_GOL_PICTURECONTROL_ACTION_SELECTED Touch
Screen
EVENT_PRESS,
EVENT_RELEASE,
EVENT_MOVE
If events occurs and the x,y
position falls in the area of the
picture.
GFX_GOL_OBJECT_ACTION_INVALID Any Any If the message did not affect the
object.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject The pointer to the object where the message will be
evaluated to check if the message will affect the object.
pMessage Pointer to the the message from the user interface.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
233

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh