# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

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

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:
Translated Message Input Source Set/Clear State Bit Description
GFX_GOL_TEXTENTRY_ACTION_ADD_CHAR
Touch Screen,
Set
GFX_GOL_TEXTENTRY_UPDATE_TEXT_STATE,
Add a character
in the buffer and
update the text
displayed.
GFX_GOL_TEXTENTRY_UPDATE_KEY_STATE, Clear
GFX_GOL_TEXTENTRY_KEY_PRESSED_STATE
GFX_GOL_TEXTENTRY_ACTION_SPACE
Touch Screen,
Set
GFX_GOL_TEXTENTRY_UPDATE_TEXT_STATE,
Insert a space
character in the
buffer and
update the text
displayed.
GFX_GOL_TEXTENTRY_UPDATE_KEY_STATE, Clear
GFX_GOL_TEXTENTRY_KEY_PRESSED_STATE
GFX_GOL_TEXTENTRY_ACTION_DELETE
Touch Screen,
Set
GFX_GOL_TEXTENTRY_UPDATE_TEXT_STATE,
Delete the most
recent character
in the buffer and
update the text
displayed.
GFX_GOL_TEXTENTRY_UPDATE_KEY_STATE, Clear
GFX_GOL_TEXTENTRY_KEY_PRESSED_STATE
GFX_GOL_TEXTENTRY_ACTION_ENTER
Touch Screen,
Set
GFX_GOL_TEXTENTRY_UPDATE_TEXT_STATE,
User can define
the use of this
event in the
message
callback. Object
will just update
the key.
GFX_GOL_TEXTENTRY_UPDATE_KEY_STATE, Clear
GFX_GOL_TEXTENTRY_KEY_PRESSED_STATE
GFX_GOL_TEXTENTRY_ACTION_RELEASED
Touch Screen,
Clear
GFX_GOL_TEXTENTRY_KEY_PRESSED_STATE
A Key in the
object will be
redrawn in the
unpressed state.
Set
GFX_GOL_TEXTENTRY_UPDATE_KEY_STATE
GFX_GOL_TEXTENTRY_ACTION_PRESSED
Touch Screen,
Set
GFX_GOL_TEXTENTRY_KEY_PRESSED_STATE
A Key in the
object will be
redrawn in the
pressed state.
GFX_GOL_TEXTENTRY_UPDATE_KEY_STATE
Preconditions
Object must exist in memory.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
276

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