# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 316
- 317
- 318
- 319
- 320
…
- 373
- 374

yet done.
Description
This function renders the panel. Panel parameters are set by the GFX_GOL_PanelParameterSet() and
GFX_GOL_PanelGradientParameterSet() or GFX_GOL_PanelAlphaParameterSet(). The function returns success
(GFX_STATUS_SUCCESS) when the panel is rendered. If the function returned not success this function must be called
again until success is returned.
Preconditions
Panel parameters must be set first using GFX_GOL_PanelParameterSet() and GFX_GOL_PanelGradientParameterSet() or
GFX_GOL_PanelAlphaParameterSet().
Example
None.
Function
GFX_STATUS GFX_GOL_PanelDraw(void)
1.6.2.5.6 GFX_GOL_PanelGradientParameterSet Function
This function sets the gradient fill start and end colors of a panel.
File
gfx_gol.h
Syntax
void GFX_GOL_PanelGradientParameterSet(GFX_COLOR startColor, GFX_COLOR endColor);
Returns
None.
Description
This function sets the gradient fill start and end colors of a panel. This along with the parameters set by the function
GFX_GOL_PanelParameterSet() will determine how the panel will be drawn. The actual drawing of the panel is performed
by GFX_GOL_PanelDraw().
Preconditions
None.
Example
None.
Parameters
Parameters Description
startColor the gradient fill start color.
endColor the gradient fill end color.
Function
void GFX_GOL_PanelGradientParameterSet(
GFX_COLOR startColor,
GFX_COLOR endColor)
1.6.2.5.7 GFX_GOL_PanelParameterSet Function
This function sets the parameters to draw a panel.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
318

- 1
- 2
…
- 316
- 317
- 318
- 319
- 320
…
- 373
- 374