# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 183
- 184
- 185
- 186
- 187
…
- 373
- 374

value the new value of the object.
Function
void GFX_GOL_DigitalMeterValueSet(
GFX_GOL_DIGITALMETER *pObject,
int16_t value)
1.6.2.1.4 Edit Box Object
Edit Box is is an object that emulates a cell or a text area that can be edited dynamically.
Functions
Name Description
GFX_GOL_EditBoxActionGet This function evaluates the message from a user if the message will
affect the object or not.
GFX_GOL_EditBoxActionSet This function performs the state change of the object based on the
translated action.
GFX_GOL_EditBoxCharAdd This function adds a character at the end of the text used by the object.
GFX_GOL_EditBoxCharRemove This function removes a character at the end of the text used by the
object.
GFX_GOL_EditBoxCreate This function creates a GFX_GOL_EDITBOX 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.
GFX_GOL_EditBoxDraw This function renders the object on the screen based on the current state
of the object.
GFX_GOL_EditBoxTextSet This function sets the text in the object.
Macros
Name Description
GFX_GOL_EditBoxTextAlignmentGet This function returns the text alignment of the text string used by the
object.
GFX_GOL_EditBoxTextAlignmentSet This function sets the text alignment of the text string used by the object.
GFX_GOL_EditBoxTextGet This function returns the address of the current text string used by the
object.
Description
Edit Box supports only keyboard inputs, replying to the events with the pre-defined actions (see
GFX_GOL_EditBoxActionGet() and GFX_GOL_EditBoxActionSet() for details).
The Edit Box object is rendered using the assigned style scheme. The following figure illustrates the color assignments.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
185

- 1
- 2
…
- 183
- 184
- 185
- 186
- 187
…
- 373
- 374