# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 221
- 222
- 223
- 224
- 225
…
- 373
- 374

• 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_METER_ACTION_SET System EVENT_SET If event set occurs and the meter id is sent in
parameter 1.
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.
Function
GFX_GOL_TRANSLATED_ACTION GFX_GOL_MeterActionGet(
void *pObject,
GFX_GOL_MESSAGE *pMessage)
1.6.2.1.7.8 GFX_GOL_MeterActionSet Function
This function performs the state change of the object based on the translated action.
File
gfx_gol_meter.h
Syntax
void GFX_GOL_MeterActionSet(GFX_GOL_TRANSLATED_ACTION translatedMsg, void * pObject,
GFX_GOL_MESSAGE * pMessage);
Returns
None.
Description
This function performs the state change of the object based on the translated action. This change can be overridden by the
application using the application defined GFX_GOL_MESSAGE_CALLBACK_FUNC. When the user message is determined
to affect the object, application can perform the state change in the message callback function. The following state changes
are supported:
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
223

- 1
- 2
…
- 221
- 222
- 223
- 224
- 225
…
- 373
- 374