# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 280
- 281
- 282
- 283
- 284
…
- 373
- 374

Description
This function renders the object on the screen based on the current state of the object. Location of the object is determined
by the left, top, right and bottom parameters. The colors used are dependent on the state of the object. The font used is
determined by the style scheme set.
When rendering objects of the same type, each object must be rendered completely before the rendering of the next object
is started. This is to avoid incomplete object rendering.
Normally, application will just call GFX_GOL_ObjectListDraw() to allow the Graphics Library to manage all object rendering.
See GFX_GOL_ObjectListDraw() for more information on object rendering.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject Pointer to the object.
Function
GFX_STATUS GFX_GOL_TextEntryDraw(void *pObject)
1.6.2.1.13.9 GFX_GOL_TextEntryKeyCommandGet Function
This function will return the currently assigned command to the key with the given index.
File
gfx_gol_text_entry.h
Syntax
GFX_GOL_TEXTENTRY_KEY_COMMAND_TYPE GFX_GOL_TextEntryKeyCommandGet(GFX_GOL_TEXTENTRY *
pObject, uint16_t index);
Returns
Command assigned to the key (See GFX_GOL_TEXTENTRY_KEY_COMMAND_TYPE).
Description
This function will return the currently assigned command to the key with the given index. (See
GFX_GOL_TEXTENTRY_KEY_COMMAND_TYPE)
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject pointer to the object.
index index or position of the key.
Function
GFX_GOL_TEXTENTRY_KEY_COMMAND_TYPE GFX_GOL_TextEntryKeyCommandSet(
GFX_GOL_TEXTENTRY *pObject,
uint16_t index,
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
282

- 1
- 2
…
- 280
- 281
- 282
- 283
- 284
…
- 373
- 374