# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 328
- 329
- 330
- 331
- 332
…
- 373
- 374

Members
Members Description
GFX_GOL_EDITBOX_FOCUSED_STATE Property bit for focus state. Cursor caret will be drawn when
GFX_GOL_EDITBOX_ENABLE_CARET_STATE is also set.
GFX_GOL_EDITBOX_DISABLED_STATE Property bit to indicate object is disabled.
GFX_GOL_EDITBOX_ENABLE_CARET_STATE Property bit to indicate cursor caret will always be shown.
GFX_GOL_EDITBOX_DRAW_CARET_STATE Draw bit to indicate the cursor caret will be drawn if
GFX_GOL_EDITBOX_FOCUSED_STATE state bit is set
and erase when GFX_GOL_EDITBOX_FOCUSED_STATE
state bit is not set.
GFX_GOL_EDITBOX_DRAW_FOCUS_STATE Draw bit to indicate focus must be redrawn.
GFX_GOL_EDITBOX_DRAW_STATE Draw bit to indicate object must be redrawn.
GFX_GOL_EDITBOX_HIDE_STATE Draw bit to indicate object must be removed from screen.
Description
Typedef: GFX_GOL_EDITBOX_STATE
This enumeration specifies the different states of the Edit Box 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.2.7.10 GFX_GOL_GROUPBOX Type
Defines the structure used for the Group Box object.
File
gfx_gol_group_box.h
Syntax
typedef struct {
GFX_GOL_OBJ_HEADER hdr;
uint16_t textWidth;
uint16_t textHeight;
GFX_XCHAR * pText;
GFX_ALIGNMENT alignment;
} GFX_GOL_GROUPBOX;
Members
Members Description
GFX_GOL_OBJ_HEADER hdr; Generic header for all Objects (see GFX_OBJ_HEADER).
uint16_t textWidth; Pre-computed text width.
uint16_t textHeight; Pre-computed text height.
GFX_XCHAR * pText; Text string used.
GFX_ALIGNMENT alignment; text alignment
Description
Typedef: GFX_GOL_GROUPBOX
Defines the parameters required for a Group Box Object. Object is drawn with the defined shape parameters and values set
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
330

- 1
- 2
…
- 328
- 329
- 330
- 331
- 332
…
- 373
- 374