# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 332
- 333
- 334
- 335
- 336
…
- 373
- 374

Description
Typedef: GFX_GOL_LISTITEM
Each item in the list box is described by this structure. The items are arranged as a linked list of this type.
Remarks
None.
1.6.2.7.16 GFX_GOL_MESSAGE Type
Specifies message structure used in the library.
File
gfx_gol.h
Syntax
typedef struct {
uint8_t type;
uint8_t uiEvent;
int16_t param1;
int16_t param2;
} GFX_GOL_MESSAGE;
Members
Members Description
uint8_t type; Specifies the type of input device.
uint8_t uiEvent; An event that occurred in the input device.
int16_t param1; Parameter 1, definition and usage is dependent on the type
of input device.
int16_t param2; Parameter 2, definition and usage is dependent on the type
of input device.
Description
Typedef: GFX_GOL_MESSAGE
Specifies message structure used in the library.
• The types must be one of the INPUT_DEVICE_TYPE:
• TYPE_UNKNOWN
• TYPE_KEYBOARD
• TYPE_TOUCHSCREEN
• TYPE_MOUSE
• uiEvent must be one of the INPUT_DEVICE_EVENT.
• for touch screen:
• EVENT_INVALID
• EVENT_MOVE
• EVENT_PRESS
• EVENT_STILLPRESS
• EVENT_RELEASE
• for keyboard:
• EVENT_KEYSCAN (param2 contains scan code)
• EVENT_KEYCODE (param2 contains character code)
• param1:
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
334

- 1
- 2
…
- 332
- 333
- 334
- 335
- 336
…
- 373
- 374