Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
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.8 GFX_GOL_EDITBOX Type
Defines the structure used for the Edit Box object.
File
gfx_gol_edit_box.h
Syntax
typedef struct {
GFX_GOL_OBJ_HEADER hdr;
uint16_t textHeight;
GFX_XCHAR * pText;
GFX_ALIGNMENT alignment;
uint16_t charMax;
uint16_t length;
} GFX_GOL_EDITBOX;
Members
Members Description
GFX_GOL_OBJ_HEADER hdr; Generic header for all Objects (see
GFX_GOL_OBJ_HEADER).
uint16_t textHeight; Pre-computed text height.
GFX_XCHAR * pText; Pointer to text buffer.
GFX_ALIGNMENT alignment; text alignment
uint16_t charMax; Maximum number of characters in the edit box.
uint16_t length; Current text length.
Description
Typedef: GFX_GOL_EDITBOX
Defines the parameters required for a Edit Box Object. Object is drawn with the defined shape parameters and values set on
the given fields.
Remarks
None.
1.6.2.7.9 GFX_GOL_EDITBOX_STATE Type
Specifies the different states of the Edit Box object.
File
gfx_gol_edit_box.h
Syntax
typedef enum {
GFX_GOL_EDITBOX_FOCUSED_STATE,
GFX_GOL_EDITBOX_DISABLED_STATE,
GFX_GOL_EDITBOX_ENABLE_CARET_STATE,
GFX_GOL_EDITBOX_DRAW_CARET_STATE,
GFX_GOL_EDITBOX_DRAW_FOCUS_STATE,
GFX_GOL_EDITBOX_DRAW_STATE,
GFX_GOL_EDITBOX_HIDE_STATE
} GFX_GOL_EDITBOX_STATE;
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
329
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf