# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 336
- 337
- 338
- 339
- 340
…
- 373
- 374

Members
Members Description
uint16_t ID; Unique id assigned for referencing.
void * pNxtObj; A pointer to the next object.
GFX_GOL_OBJ_TYPE type; Identifies the type of GOL object.
uint16_t state; State of object.
uint16_t left; Left position of the Object.
uint16_t top; Top position of the Object.
uint16_t right; Right position of the Object.
uint16_t bottom; Bottom position of the Object.
GFX_GOL_OBJ_SCHEME * pGolScheme; Pointer to the scheme used.
DRAW_FUNC DrawObj; function pointer to the object's draw function.
FREE_FUNC FreeObj; function pointer to the object's free function.
ACTIONGET_FUNC actionGet; function pointer to the object's action get function.
ACTIONSET_FUNC actionSet; function pointer to the object's action set function.
Description
Typedef: GFX_GOL_OBJ_HEADER
This structure defines the Graphics Object Layer header used in all objects in the Graphics Library.
Remarks
None.
1.6.2.7.21 GFX_GOL_OBJ_TYPE Type
Specifies the different object types used in the library.
File
gfx_gol.h
Syntax
typedef enum {
GFX_GOL_ANALOGCLOCK_TYPE,
GFX_GOL_BUTTON_TYPE,
GFX_GOL_CHART_TYPE,
GFX_GOL_CHECKBOX_TYPE,
GFX_GOL_DIGITALMETER_TYPE,
GFX_GOL_EDITBOX_TYPE,
GFX_GOL_GRID_TYPE,
GFX_GOL_GROUPBOX_TYPE,
GFX_GOL_LISTBOX_TYPE,
GFX_GOL_METER_TYPE,
GFX_GOL_PICTURECONTROL_TYPE,
GFX_GOL_PROGRESSBAR_TYPE,
GFX_GOL_RADIOBUTTON_TYPE,
GFX_GOL_SCROLLBAR_TYPE,
GFX_GOL_STATICTEXT_TYPE,
GFX_GOL_TEXTENTRY_TYPE,
GFX_GOL_WINDOW_TYPE,
GFX_GOL_CUSTOM_TYPE,
GFX_GOL_UNKNOWN_TYPE
} GFX_GOL_OBJ_TYPE;
Members
Members Description
GFX_GOL_ANALOGCLOCK_TYPE Type defined for Analog Clock Object.
GFX_GOL_BUTTON_TYPE Type defined for Button Object.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
338

- 1
- 2
…
- 336
- 337
- 338
- 339
- 340
…
- 373
- 374