Vault 7: Projects

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

Description
This function removes a character at the end of the text used by the object.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject Pointer to the object.
Function
GFX_STATUS GFX_GOL_EditBoxCharRemove(
GFX_GOL_EDITBOX *pObject)
1.6.2.1.4.8 GFX_GOL_EditBoxCreate Function
This function creates a GFX_GOL_EDITBOX object with the parameters given. It automatically attaches the new object into
a global linked list of objects and returns the address of the object.
File
gfx_gol_edit_box.h
Syntax
GFX_GOL_EDITBOX * GFX_GOL_EditBoxCreate(uint16_t ID, uint16_t left, uint16_t top, uint16_t
right, uint16_t bottom, uint16_t state, GFX_XCHAR * pText, uint16_t charMax, GFX_ALIGNMENT
alignment, GFX_GOL_OBJ_SCHEME * pScheme);
Returns
Pointer to the newly created object.
Description
This function creates a GFX_GOL_EDITBOX object with the parameters given. It automatically attaches the new object into
a global linked list of objects and returns the address of the object.
This function returns the pointer to the newly created object. If the object is not successfully created, it returns NULL.
The behavior of GFX_GOL_ListBoxCreate() will be undefined if one of the following is true:
left >= right
top >= bottom
pScheme is not pointing to a GFX_GOL_OBJ_SCHEME
pText is an unterminated string
Preconditions
None.
Example
// assume pScheme to be initialized with the style scheme
#define MAX_CHAR_COUNT 15
GFX_GOL_OBJ_SCHEME *pScheme;
GFX_GOL_EDITBOX *pEb;
GFX_GOL_EDITBOX_STATE state;
GFX_XCHAR TextBuffer[MAX_CHAR_COUNT + 1];
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
191

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh