# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 161
- 162
- 163
- 164
- 165
…
- 373
- 374

Translated Message Input
Source
Set/Clear State Bit Description
GFX_GOL_BUTTON_ACTION_PRESSED Touch
Screen
EVENT_PRESS,
EVENT_MOVE
If events occurs and the x,y position
falls in the face of the
GFX_GOL_BUTTON while the
GFX_GOL_BUTTON is not pressed.
Keyboard EVENT_KEYSCAN If event occurs and parameter1
passed matches the object's ID and
parameter 2 passed matches
SCAN_CR_PRESSED or
SCAN_SPACE_PRESSED while the
GFX_GOL_BUTTON is not pressed.
GFX_GOL_BUTTON_ACTION_STILLPRESSED Touch
Screen
EVENT_STILLPRESS If event occurs and the x,y position
does not change from the previous
press position in the face of the
GFX_GOL_BUTTON.
GFX_GOL_BUTTON_ACTION_RELEASED Touch
Screen
EVENT_RELEASE If the event occurs and the x,y
position falls in the face of the
GFX_GOL_BUTTON while the
GFX_GOL_BUTTON is pressed.
Keyboard EVENT_KEYSCAN If event occurs and parameter1
passed matches the object's ID and
parameter 2 passed matches
SCAN_CR_RELEASED or
SCAN_SPACE_RELEASED while
the GFX_GOL_BUTTON is pressed.
GFX_GOL_BUTTON_ACTION_CANCELPRESS Touch
Screen
EVENT_MOVE If the event occurs outside the face of
the GFX_GOL_BUTTON and the
GFX_GOL_BUTTON is currently
pressed.
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_ButtonActionGet(
void *pObject,
GFX_GOL_MESSAGE *pMessage);
1.6.2.1.1.7 GFX_GOL_ButtonActionSet Function
This function performs the state change of the object based on the translated action.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
163

- 1
- 2
…
- 161
- 162
- 163
- 164
- 165
…
- 373
- 374