# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

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

Parameters
Parameters Description
pObject pointer to the object.
Function
GFX_ALIGNMENT GFX_GOL_ListBoxTextAlignmentGet(
GFX_GOL_LISTBOX *pObject)
1.6.2.1.6.8 GFX_GOL_ListBoxTextAlignmentSet Macro
This function sets the text alignment of the text string used by the object.
File
gfx_gol_list_box.h
Syntax
#define GFX_GOL_ListBoxTextAlignmentSet(pObject, align) \
(((GFX_GOL_LISTBOX *)pObject)->alignment = align)
Returns
None.
Description
This function sets the text alignment of the text string used by the object.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject Pointer to the object.
align The alignment set for the text in the object. See
GFX_ALIGNMENT for more details.
Function
void GFX_GOL_ListBoxTextAlignmentSet(
GFX_GOL_LISTBOX *pObject,
GFX_ALIGNMENT align)
1.6.2.1.6.9 GFX_GOL_ListBoxActionGet Function
This function evaluates the message from a user if the message will affect the object or not.
File
gfx_gol_list_box.h
Syntax
GFX_GOL_TRANSLATED_ACTION GFX_GOL_ListBoxActionGet(void * pObject, GFX_GOL_MESSAGE *
pMessage);
Returns
• GFX_GOL_LISTBOX_ACTION_TOUCHSCREEN â€“ Item is selected using touch screen
• GFX_GOL_LISTBOX_ACTION_MOVE â€“ Focus is moved to the next item depending on the key pressed (UP or DOWN
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
206

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