# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 339
- 340
- 341
- 342
- 343
…
- 373
- 374

1.6.2.7.24 GFX_GOL_PROGRESSBAR Type
Defines the structure used for the Progress Bar object.
File
gfx_gol_progress_bar.h
Syntax
typedef struct {
GFX_GOL_OBJ_HEADER hdr;
uint16_t pos;
uint16_t prevPos;
uint16_t range;
} GFX_GOL_PROGRESSBAR;
Members
Members Description
GFX_GOL_OBJ_HEADER hdr; Generic header for all Objects (see
GFX_GOL_OBJ_HEADER).
uint16_t pos; Current progress position.
uint16_t prevPos; Previous progress position.
uint16_t range; Sets the range of the object.
Description
Typedef: GFX_GOL_PROGRESSBAR
Defines the parameters required for a Progress Bar object. Object is drawn with the defined shape parameters and values
set on the given fields.
Remarks
None.
1.6.2.7.25 GFX_GOL_PROGRESSBAR_STATE Type
Specifies the different states of the Progress Bar object.
File
gfx_gol_progress_bar.h
Syntax
typedef enum {
GFX_GOL_PROGRESSBAR_DISABLED_STATE,
GFX_GOL_PROGRESSBAR_VERTICAL_STATE,
GFX_GOL_PROGRESSBAR_NOPROGRESS_STATE,
GFX_GOL_PROGRESSBAR_DRAW_BAR_STATE,
GFX_GOL_PROGRESSBAR_DRAW_STATE,
GFX_GOL_PROGRESSBAR_HIDE_STATE
} GFX_GOL_PROGRESSBAR_STATE;
Members
Members Description
GFX_GOL_PROGRESSBAR_DISABLED_STATE Property bit to indicate object is disabled.
GFX_GOL_PROGRESSBAR_VERTICAL_STATE Property bit for vertical orientation. When this state bit is 0 -
object is rendered with horizontal orientation. When this state
bit is 1 - object is rendered with vertical orientation.
GFX_GOL_PROGRESSBAR_NOPROGRESS_STATE Property bit that will suppress rendering of progress in text.
GFX_GOL_PROGRESSBAR_DRAW_BAR_STATE Draw bit to indicate that the progress bar portion must be
redrawn.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
341

- 1
- 2
…
- 339
- 340
- 341
- 342
- 343
…
- 373
- 374