# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

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

uint16_t imageRight; image right position when drawn
uint8_t count; Count for the number of bitmaps to be streamed
uint8_t delay; Delay in between the streaming of bitmaps
uint16_t imageBottom; image bottom position when drawn
GFX_PARTIAL_IMAGE_PARAM partial; structure containing partial image data
Description
Typedef: GFX_GOL_PICTURECONTROL
Defines the parameters required for a Picture Control object. Object is drawn with the defined shape parameters and values
set on the given fields.
Remarks
None.
1.6.2.7.23 GFX_GOL_PICTURECONTROLCONTROL_STATE Type
Specifies the different states of the Picture Control object.
File
gfx_gol_picture.h
Syntax
typedef enum {
GFX_GOL_PICTURECONTROL_DISABLED_STATE,
GFX_GOL_PICTURECONTROL_FRAME_STATE,
GFX_GOL_PICTURECONTROL_STREAM_STATE,
GFX_GOL_PICTURECONTROL_DRAW_STATE,
GFX_GOL_PICTURECONTROL_HIDE_STATE
} GFX_GOL_PICTURECONTROLCONTROL_STATE;
Members
Members Description
GFX_GOL_PICTURECONTROL_DISABLED_STATE Property bit to indicate object is disabled.
GFX_GOL_PICTURECONTROL_FRAME_STATE Property bit to indicate that the object will have a frame.
GFX_GOL_PICTURECONTROL_STREAM_STATE Property bit to indicate Picture is streaming. This feature is
available only when the hardware can support streaming of
images.
GFX_GOL_PICTURECONTROL_DRAW_STATE Draw bit to indicate object must be redrawn.
GFX_GOL_PICTURECONTROL_HIDE_STATE Draw bit to indicate object must be removed from screen.
Description
Typedef: GFX_GOL_PICTURECONTROLCONTROL_STATE
This enumeration specifies the different states of the Picture Control object used in the library.
For the Property State bits, more than one of these values may be OR'd together to create a complete property state.
For the Draw State bits, hide draw bit has higher priority than the draw bit. Any of these two can be combined with other
draw bits to create a complete draw state.
To test a value of any of the state types, the bit of interest must be AND'ed with value and checked to see if the result is
non-zero.
Remarks
None.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
340

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