# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 224
- 225
- 226
- 227
- 228
…
- 373
- 374

pText Pointer to the text label of the meter.
pScheme Pointer to the style scheme used.
Function
GFX_GOL_METER *GFX_GOL_MeterCreate(
uint16_t ID,
uint16_t left,
uint16_t top,
uint16_t right,
uint16_t bottom,
uint16_t state,
GFX_GOL_METER_DRAW_TYPE type,
int16_t value,
int16_t minValue,
int16_t maxValue,
GFX_RESOURCE_HDR *pTitleFont,
GFX_RESOURCE_HDR *pValueFont,
GFX_XCHAR *pText,
GFX_GOL_OBJ_SCHEME *pScheme)
1.6.2.1.7.10 GFX_GOL_MeterDecrement Function
This function decrements the meter value by the delta value set.
File
gfx_gol_meter.h
Syntax
void GFX_GOL_MeterDecrement(GFX_GOL_METER * pObject, uint16_t delta);
Returns
None.
Description
This function decrements the meter value by the given delta value set. If the delta given is less than the minimum value of
the meter, the value will remain to be at minimum.
Object must be redrawn after this function is called to reflect the changes to the object.
Preconditions
Object must exist in memory.
Example
See GFX_GOL_MeterIncrement().
Parameters
Parameters Description
pObject pointer to the object.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
226

- 1
- 2
…
- 224
- 225
- 226
- 227
- 228
…
- 373
- 374