# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 227
- 228
- 229
- 230
- 231
…
- 373
- 374

Parameters
Parameters Description
pObject pointer to the object.
minValue new minimum value of the object.
maxValue new maximum value of the object.
Function
void GFX_GOL_MeterRangeSet(
GFX_GOL_METER *pObject,
int16_t minValue,
int16_t maxValue)
1.6.2.1.7.14 GFX_GOL_MeterScaleColorsSet Function
This function sets the arc colors of the object.
File
gfx_gol_meter.h
Syntax
void GFX_GOL_MeterScaleColorsSet(GFX_GOL_METER * pObject, GFX_COLOR color1, GFX_COLOR
color2, GFX_COLOR color3, GFX_COLOR color4, GFX_COLOR color5, GFX_COLOR color6);
Returns
None.
Description
After the object is created, this function must be called to set the arc colors of the object.
Scale colors can be used to highlight values of the meter. User can set these colors to define the arc colors and scale colors.
This also sets the color of the meter value when displayed. The color settings are set to the following angles:
Color Boundaries Type Whole Type Half Type Quarter
Arc 6 225 to 180 not used not used
Arc 5 179 to 135 179 to 135 not used
Arc 4 134 to 90 134 to 90 not used
Arc 3 89 to 45 89 to 45 89 to 45
Arc 2 44 to 0 44 to 0 44 to 0
Arc 1 -45 to -1 not used not used
As the meter is drawn colors are changed depending on the angle of the scale and label being drawn.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject pointer to the object.
color1 color assigned to Arc 1 and Scale 1.
color2 color assigned to Arc 2 and Scale 2.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
229

- 1
- 2
…
- 227
- 228
- 229
- 230
- 231
…
- 373
- 374