# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 288
- 289
- 290
- 291
- 292
…
- 373
- 374

Parameters
Parameters Description
pObject pointer to the object.
Function
GFX_XCHAR *GFX_GOL_WindowTextGet(
GFX_GOL_WINDOW *pObject)
1.6.2.1.14.4 GFX_GOL_WindowActionGet Function
This function evaluates the message from a user if the message will affect the object or not.
File
gfx_gol_window.h
Syntax
GFX_GOL_TRANSLATED_ACTION GFX_GOL_WindowActionGet(void * pObject, GFX_GOL_MESSAGE *
pMessage);
Returns
• GFX_GOL_WINDOW_ACTION_CLIENT - Window client area selected action ID.
• GFX_GOL_WINDOW_ACTION_TITLE - Window title bar selected action ID.
Description
This function evaluates the message from a user if the message will affect the object or not. The table below enumerates the
action for each event of the touch screen and keyboard inputs.
Translated Message Input
Source
Events Description
GFX_GOL_WINDOW_ACTION_TITLE Touch
Screen
EVENT_PRESS,
EVENT_RELEASE,
EVENT_MOVE
If events occurs and the x,y position falls in the
TITLE area of the window
GFX_GOL_WINDOW_ACTION_CLIENT Touch
Screen
EVENT_PRESS,
EVENT_RELEASE,
EVENT_MOVE
If events occurs and the x,y position falls in the
CLIENT area of the window
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_WindowActionGet(
void *pObject,
GFX_GOL_MESSAGE *pMessage);
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
290

- 1
- 2
…
- 288
- 289
- 290
- 291
- 292
…
- 373
- 374