Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
radius Radius of the rounded edge. When using gradient buttons
and radius != 0, emboss size <= radius. If this is not met, the
the GFX_GOL_BUTTON face will not have gradient effect.
state Sets the initial state of the object.
horizontalKeys Number of horizontal keys
verticalKeys Number of vertical keys
pText array of pointer to the custom "text" assigned by the user.
pBuffer pointer to the buffer that holds the text to be displayed.
alignment text alignment of the text used in the object.
bufferLength length of the buffer assigned by the user. The choice of the
length should include the string null terminator.
For example if the bufferLength is set to 3, only two characters can be
shown on the object since the last character will be the string
terminator character.
pDisplayFont pointer to the font image to be used on the edit box section
of the object.
pScheme Pointer to the style scheme used.
Function
GFX_GOL_TEXTENTRY *GFX_GOL_TextEntryCreate(
uint16_t ID,
uint16_t left,
uint16_t top,
uint16_t right,
uint16_t bottom,
uint16_t state,
uint16_t horizontalKeys,
uint16_t verticalKeys,
GFX_XCHAR *pText[],
GFX_XCHAR *pBuffer,
GFX_ALIGNMENT alignment,
uint16_t bufferLength,
GFX_RESOURCE_HDR *pDisplayFont,
GFX_GOL_OBJ_SCHEME *pScheme);
1.6.2.1.13.8 GFX_GOL_TextEntryDraw Function
This function renders the object on the screen based on the current state of the object.
File
gfx_gol_text_entry.h
Syntax
GFX_STATUS GFX_GOL_TextEntryDraw(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
281
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf