# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 345
- 346
- 347
- 348
- 349
…
- 373
- 374

uint16_t CurrentLength; Current length of the string in the buffer. The maximum value
of this is equal to outputLenMax. User creates and manages
the buffer. Buffer can also be managed using the APIs
provided to add a character, delete the last character or clear
the buffer.
uint16_t outputLenMax; Maximum expected length of output buffer. Object will
update this parameter when adding, removing characters or
clearing the buffer and switching buffers.
GFX_GOL_TEXTENTRY_KEYMEMBER * pActiveKey; Pointer to the active key. This is only used by the object.
User must not change the value of this parameter directly.
GFX_GOL_TEXTENTRY_KEYMEMBER * pHeadOfList; Pointer to head of the list
GFX_RESOURCE_HDR * pDisplayFont; Pointer to the font used in displaying the text.
Description
Typedef: GFX_GOL_TEXTENTRY
Defines the parameters required for a Text Entry object. Object is drawn with the defined shape parameters and values set
on the given fields.
Remarks
None.
1.6.2.7.33 GFX_GOL_TEXTENTRY_KEY_COMMAND_TYPE Type
Specifies the different commands available for command keys of the Text Entry object.
File
gfx_gol_text_entry.h
Syntax
typedef enum {
GFX_GOL_TEXTENTRY_NONE_COM,
GFX_GOL_TEXTENTRY_DELETE_COM,
GFX_GOL_TEXTENTRY_SPACE_COM,
GFX_GOL_TEXTENTRY_ENTER_COM
} GFX_GOL_TEXTENTRY_KEY_COMMAND_TYPE;
Members
Members Description
GFX_GOL_TEXTENTRY_NONE_COM This type is used when the key is not assigned to any
command.
GFX_GOL_TEXTENTRY_DELETE_COM This type is used to assign a "delete" command on a key.
GFX_GOL_TEXTENTRY_SPACE_COM This type is used to assign an insert "space" command on a
key.
GFX_GOL_TEXTENTRY_ENTER_COM This type is used to assign an "enter" (carriage return)
command on a key.
Description
Typedef: GFX_GOL_TEXTENTRY_KEY_COMMAND_TYPE
This enumeration specifies the different commands available for the command keys of the object.
The GFX_GOL_TEXTENTRY_ENTER_COM command can be used to customize application code in the message callback
function. Use the returned translated GFX_GOL_TEXTENTRY_ACTION_ENTER to detect the key pressed was assigned
the enter command. Refer to GFX_GOL_TextEntryActionGet() for details.
Remarks
None.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
347

- 1
- 2
…
- 345
- 346
- 347
- 348
- 349
…
- 373
- 374