Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
// assume pScheme is initialized to a scheme in memory.
state = GFX_GOL_EDITBOX_DRAW_STATE;
pEb = GFX_GOL_EditBoxCreate(
1, 20, 64, 50, 118,
state, TextBuffer, MAX_CHAR_COUNT
GFX_ALIGN_CENTER,
pScheme);
// check if object is not created
if (pEb == NULL)
return 0;
Parameters
Parameters Description
ID Unique user defined ID for the object instance.
left Left most position of the object.
top Top most position of the object.
right Right most position of the object.
bottom Bottom most position of the object.
state Sets the initial state of the object.
pText Pointer to the text of the object.
charMax Defines the maximum number of characters in the edit box.
alignment text alignment of the text used in the object.
pScheme Pointer to the style scheme used.
Function
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)
1.6.2.1.4.9 GFX_GOL_EditBoxDraw Function
This function renders the object on the screen based on the current state of the object.
File
gfx_gol_edit_box.h
Syntax
GFX_STATUS GFX_GOL_EditBoxDraw(void * pObject);
Returns
GFX_STATUS_SUCCESS - When the object rendering is finished. GFX_STATUS_FAILURE - When the object rendering is
not yet finished. Application needs to call this rendering function again to continue the rendering.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
192
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf