# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 347
- 348
- 349
- 350
- 351
…
- 373
- 374

File
gfx_gol_text_entry.h
Syntax
typedef enum {
GFX_GOL_TEXTENTRY_DISABLED_STATE,
GFX_GOL_TEXTENTRY_KEY_PRESSED_STATE,
GFX_GOL_TEXTENTRY_ECHO_HIDE_STATE,
GFX_GOL_TEXTENTRY_UPDATE_TEXT_STATE,
GFX_GOL_TEXTENTRY_UPDATE_KEY_STATE,
GFX_GOL_TEXTENTRY_DRAW_STATE,
GFX_GOL_TEXTENTRY_HIDE_STATE
} GFX_GOL_TEXTENTRY_STATE;
Members
Members Description
GFX_GOL_TEXTENTRY_DISABLED_STATE Property bit for disabled state.
GFX_GOL_TEXTENTRY_KEY_PRESSED_STATE Property bit for press state.
GFX_GOL_TEXTENTRY_ECHO_HIDE_STATE Bit to hide the entered characters and instead echo "*"
characters to the display.
GFX_GOL_TEXTENTRY_UPDATE_TEXT_STATE Draw bit to indicate redraw of the text displayed is needed.
GFX_GOL_TEXTENTRY_UPDATE_KEY_STATE Draw bit to indicate redraw of a key is needed.
GFX_GOL_TEXTENTRY_DRAW_STATE Draw bit to indicate object must be redrawn.
GFX_GOL_TEXTENTRY_HIDE_STATE Draw bit to indicate object must be removed from screen.
Description
Typedef: GFX_GOL_TEXTENTRY_STATE
This enumeration specifies the different states of the Text Entry 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.36 GFX_GOL_TRANSLATED_ACTION Type
Specifies the different object actions supported in the library.
File
gfx_gol.h
Syntax
typedef enum {
GFX_GOL_OBJECT_ACTION_INVALID = 0x3500,
GFX_GOL_OBJECT_ACTION_PASSIVE,
GFX_GOL_ANALOGCLOCK_ACTION_PRESSED,
GFX_GOL_ANALOGCLOCK_ACTION_RELEASED,
GFX_GOL_BUTTON_ACTION_PRESSED,
GFX_GOL_BUTTON_ACTION_STILLPRESSED,
GFX_GOL_BUTTON_ACTION_RELEASED,
GFX_GOL_BUTTON_ACTION_CANCELPRESS,
GFX_GOL_CHART_ACTION_SELECTED,
GFX_GOL_CHECKBOX_ACTION_CHECKED,
GFX_GOL_CHECKBOX_ACTION_UNCHECKED,
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
349

- 1
- 2
…
- 347
- 348
- 349
- 350
- 351
…
- 373
- 374