# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 169
- 170
- 171
- 172
- 173
…
- 373
- 374

Function
GFX_XCHAR *GFX_GOL_CheckBoxTextGet(
GFX_GOL_CHECKBOX *pObject)
1.6.2.1.2.2 GFX_GOL_CheckBoxActionGet Function
This function evaluates the message from a user if the message will affect the object or not.
File
gfx_gol_check_box.h
Syntax
GFX_GOL_TRANSLATED_ACTION GFX_GOL_CheckBoxActionGet(void * pObject, GFX_GOL_MESSAGE *
pMessage);
Returns
• GFX_GOL_CHECKBOX_ACTION_CHECKED - Check box is checked
• GFX_GOL_CHECKBOX_ACTION_UNCHECKED - Check box is unchecked
• 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
Set/Clear State Bit Description
GFX_GOL_CHECKBOX_ACTION_CHECKED Touch
Screen
EVENT_RELEASE If events occurs and the x,y position
falls in the area of the check box while
the check box is unchecked.
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
check box is unchecked.
GFX_GOL_CHECKBOX_ACTION_UNCHECKED Touch
Screen
EVENT_RELEASE If events occurs and the x,y position
falls in the area of the check box while
the check box is checked.
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
check box is checked.
GFX_GOL_OBJECT_ACTION_INVALID Any Any If the message did not affect the object.
Preconditions
Object must exist in memory.
Example
None.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
171

- 1
- 2
…
- 169
- 170
- 171
- 172
- 173
…
- 373
- 374