# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 273
- 274
- 275
- 276
- 277
…
- 373
- 374

Translated Message Input
Source
Set/Clear State Bit Description
GFX_GOL_TEXTENTRY_ACTION_PRESS Touch
Screen
EVENT_PRESS,
EVENT_MOVE
If the event occurs and the x,y position
falls in the face of one of the keys of the
object while the key is unpressed.
GFX_GOL_TEXTENTRY_ACTION_RELEASED Touch
Screen
EVENT_MOVE If the event occurs and the x,y position
falls outside the face of one of the keys of
the object while the key is pressed.
GFX_GOL_TEXTENTRY_ACTION_RELEASED Touch
Screen
EVENT_RELEASE If the event occurs and the x,y position
falls does not falls inside any of the faces
of the keys of the object.
GFX_GOL_TEXTENTRY_ACTION_ADD_CHAR Touch
Screen
EVENT_RELEASE,
EVENT_MOVE
If the event occurs and the x,y position
falls in the face of one of the keys of the
object while the key is unpressed and the
key is associated with no commands.
GFX_GOL_TEXTENTRY_ACTION_DELETE Touch
Screen
EVENT_RELEASE,
EVENT_MOVE
If the event occurs and the x,y position
falls in the face of one of the keys of the
object while the key is unpressed and the
key is associated with delete command.
GFX_GOL_TEXTENTRY_ACTION_SPACE Touch
Screen
EVENT_RELEASE,
EVENT_MOVE
If the event occurs and the x,y position
falls in the face of one of the keys of the
object while the key is unpressed and the
key is associated with space command.
GFX_GOL_TEXTENTRY_ACTION_ENTER Touch
Screen
EVENT_RELEASE,
EVENT_MOVE
If the event occurs and the x,y position
falls in the face of one of the keys of the
object while the key is unpressed and the
key is associated with enter command.
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_TextEntryActionGet(
void *pObject,
GFX_GOL_MESSAGE *pMessage);
1.6.2.1.13.2 GFX_GOL_TextEntryActionSet Function
This function performs the state change of the object based on the translated action.
File
gfx_gol_text_entry.h
Syntax
void GFX_GOL_TextEntryActionSet(uint16_t translatedMsg, void * pObject, GFX_GOL_MESSAGE *
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
275

- 1
- 2
…
- 273
- 274
- 275
- 276
- 277
…
- 373
- 374