# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

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

1.6.2.7.34 GFX_GOL_TEXTENTRY_KEYMEMBER Type
Defines the structure used to describe a key in the Text Entry object.
File
gfx_gol_text_entry.h
Syntax
typedef struct {
uint16_t left;
uint16_t top;
uint16_t right;
uint16_t bottom;
uint16_t index;
uint16_t state;
bool update;
GFX_GOL_TEXTENTRY_KEY_COMMAND_TYPE command;
GFX_XCHAR * pKeyName;
int16_t textWidth;
int16_t textHeight;
void * pNextKey;
} GFX_GOL_TEXTENTRY_KEYMEMBER;
Members
Members Description
uint16_t left; Left position of the key
uint16_t top; Top position of the key
uint16_t right; Right position of the key
uint16_t bottom; Bottom position of the key
uint16_t index; Index of the key in the list
uint16_t state; State of the key. Either Pressed
(GFX_GOL_TEXTENTRY_KEY_PRESSED_STATE) or
Released (0)
bool update; flag to indicate key is to be redrawn with the current state
GFX_GOL_TEXTENTRY_KEY_COMMAND_TYPE
command;
Command of the key. Either
GFX_GOL_TEXTENTRY_DELETE_COM,
GFX_GOL_TEXTENTRY_SPACE_COM or
GFX_GOL_TEXTENTRY_ENTER_COM.
GFX_XCHAR * pKeyName; Pointer to the custom text assigned to the key. This is
displayed over the face of the key.
int16_t textWidth; Computed text width, done at creation. Used to predict size
and position of text on the key face.
int16_t textHeight; Computed text height, done at creation. Used to predict size
and position of text on the key face.
void * pNextKey; Pointer to the next key parameters.
Description
Typedef: GFX_GOL_TEXTENTRY_KEYMEMBER
Defines the structure used to describe a key in the Text Entry object. Strings displayed on each key is assigned here as well
as the commands if key is assigned a command key.
Remarks
None.
1.6.2.7.35 GFX_GOL_TEXTENTRY_STATE Type
Specifies the different states of the Text Entry object.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
348

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