# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 344
- 345
- 346
- 347
- 348
…
- 373
- 374

GFX_GOL_STATICTEXT_DISABLED_STATE,
GFX_GOL_STATICTEXT_FRAME_STATE,
GFX_GOL_STATICTEXT_NOBACKGROUND_STATE,
GFX_GOL_STATICTEXT_DRAW_STATE,
GFX_GOL_STATICTEXT_HIDE_STATE
} GFX_GOL_STATICTEXT_STATE;
Members
Members Description
GFX_GOL_STATICTEXT_DISABLED_STATE Property bit for disabled state.
GFX_GOL_STATICTEXT_FRAME_STATE Property bit to indicate frame is enabled.
GFX_GOL_STATICTEXT_NOBACKGROUND_STATE Property bit to indicate background is enabled.
GFX_GOL_STATICTEXT_DRAW_STATE Draw bit to indicate object must be redrawn.
GFX_GOL_STATICTEXT_HIDE_STATE Draw bit to indicate object must be removed from screen.
Description
Typedef: GFX_GOL_STATICTEXT_STATE
This enumeration specifies the different states of the Static Text 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.32 GFX_GOL_TEXTENTRY Type
Defines the structure used for the Text Entry object.
File
gfx_gol_text_entry.h
Syntax
typedef struct {
GFX_GOL_OBJ_HEADER hdr;
uint16_t horizontalKeys;
uint16_t verticalKeys;
GFX_XCHAR * pTeOutput;
GFX_ALIGNMENT alignment;
uint16_t CurrentLength;
uint16_t outputLenMax;
GFX_GOL_TEXTENTRY_KEYMEMBER * pActiveKey;
GFX_GOL_TEXTENTRY_KEYMEMBER * pHeadOfList;
GFX_RESOURCE_HDR * pDisplayFont;
} GFX_GOL_TEXTENTRY;
Members
Members Description
GFX_GOL_OBJ_HEADER hdr; Generic header for all objects (see
GFX_GOL_OBJ_HEADER).
uint16_t horizontalKeys; Number of horizontal keys.
uint16_t verticalKeys; Number of vertical keys.
GFX_XCHAR * pTeOutput; Pointer to the buffer assigned by the user which holds the
text shown in the editbox.
GFX_ALIGNMENT alignment; Defines the text alignment.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
346

- 1
- 2
…
- 344
- 345
- 346
- 347
- 348
…
- 373
- 374