# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 205
- 206
- 207
- 208
- 209
…
- 373
- 374

key).
• GFX_GOL_LISTBOX_ACTION_SELECTED â€“ Selection is set to the currently focused item
• 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_LISTBOX_ACTION_TOUCHSCREEN Touch
Screen
Any Item is selected using touch screen.
GFX_GOL_LISTBOX_ACTION_MOVE Keyboard EVENT_KEYSCAN Focus is moved to the next item
depending on the key pressed (UP or
DOWN key).
GFX_GOL_LISTBOX_ACTION_SELECTED Keyboard EVENT_KEYSCAN Selection status
(GFX_GOL_LISTBOX_ITEM_STATUS_
SELECTED)
is set to the currently focused item.
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_ListBoxActionGet(
void *pObject,
GFX_GOL_MESSAGE *pMessage);
1.6.2.1.6.10 GFX_GOL_ListBoxActionSet Function
This function performs the state change of the object based on the translated action.
File
gfx_gol_list_box.h
Syntax
void GFX_GOL_ListBoxActionSet(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
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
207

- 1
- 2
…
- 205
- 206
- 207
- 208
- 209
…
- 373
- 374