# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 215
- 216
- 217
- 218
- 219
…
- 373
- 374

pFromItem The starting point of the search. If this is set to NULL, the
search will start at the beginning of the item list.
Function
GFX_GOL_LISTITEM *GFX_GOL_ListBoxSelectionGet(
GFX_GOL_LISTBOX *pObject,
GFX_GOL_LISTITEM *pFromItem)
1.6.2.1.6.20 GFX_GOL_ListBoxVisibleItemCountGet Function
This function returns the count of items visible in the list box.
File
gfx_gol_list_box.h
Syntax
uint16_t GFX_GOL_ListBoxVisibleItemCountGet(GFX_GOL_LISTBOX * pObject);
Returns
The number of visible items in the list box.
Description
This function returns the count of items visible in the list box.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject The pointer to the object.
Function
uint16_t GFX_GOL_ListBoxVisibleItemCountGet(
GFX_GOL_LISTBOX *pObject)
1.6.2.1.7 Meter Object
Meter is an object that can be used to graphically display a sampled input.
Functions
Name Description
GFX_GOL_MeterActionGet This function evaluates the message from a user if the message will
affect the object or not.
GFX_GOL_MeterActionSet This function performs the state change of the object based on the
translated action.
GFX_GOL_MeterCreate This function creates a GFX_GOL_METER 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_MeterDecrement This function decrements the meter value by the delta value set.
GFX_GOL_MeterDraw This function renders the object on the screen based on the current state
of the object.
GFX_GOL_MeterIncrement This function increments the meter value by the delta value set.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
217

- 1
- 2
…
- 215
- 216
- 217
- 218
- 219
…
- 373
- 374