# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 194
- 195
- 196
- 197
- 198
…
- 373
- 374

1.6.2.1.5.2 GFX_GOL_GroupboxActionGet Function
This function evaluates the message from a user if the message will affect the object or not.
File
gfx_gol_group_box.h
Syntax
GFX_GOL_TRANSLATED_ACTION GFX_GOL_GroupboxActionGet(void * pObject, GFX_GOL_MESSAGE *
pMessage);
Returns
• GFX_GOL_GROUPBOX_ACTION_SELECTED - Group Box area selected action ID.
• GFX_GOL_OBJECT_ACTION_INVALID â€“ Object is not affected
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_GROUPBOX_ACTION_SELECTED Touch
Screen
EVENT_PRESS,
EVENT_RELEASE
If events occurs and the x,y position falls
in the area of the group box.
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_GroupboxActionGet(
void *pObject,
GFX_GOL_MESSAGE *pMessage);
1.6.2.1.5.3 GFX_GOL_GroupboxCreate Function
This function creates a GFX_GOL_GROUPBOX object with the parameters given. It automatically attaches the new object
into a global linked list of objects and returns the address of the object.
File
gfx_gol_group_box.h
Syntax
GFX_GOL_GROUPBOX * GFX_GOL_GroupboxCreate(uint16_t ID, uint16_t left, uint16_t top,
uint16_t right, uint16_t bottom, uint16_t state, GFX_XCHAR * pText, GFX_ALIGNMENT
alignment, GFX_GOL_OBJ_SCHEME * pScheme);
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
196

- 1
- 2
…
- 194
- 195
- 196
- 197
- 198
…
- 373
- 374