Vault 7: Projects

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

// draw the objects
while(GFX_GOL_ObjectListDraw() != GFX_STATUS_SUCCESS);
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.
alignment text alignment of the text used in the object.
pScheme Pointer to the style scheme used.
Function
GFX_GOL_RADIOBUTTON *GFX_GOL_RadioButtonCreate(
uint16_t ID,
uint16_t left,
uint16_t top,
uint16_t right,
uint16_t bottom,
uint16_t state,
GFX_XCHAR *pText,
GFX_ALIGNMENT alignment,
GFX_GOL_OBJ_SCHEME *pScheme)
1.6.2.1.10.7 GFX_GOL_RadioButtonDraw Function
This function renders the object on the screen based on the current state of the object.
File
gfx_gol_radio_button.h
Syntax
GFX_STATUS GFX_GOL_RadioButtonDraw(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.
Description
This function renders the object on the screen based on the current state of the object. Location of the object is determined
by the left, top, right and bottom parameters. The colors used are dependent on the state of the object. The font used is
determined by the style scheme set.
The text on the GFX_GOL_RADIOBUTTON is drawn with the text alignment based on the alignment parameter set on the
object.
When rendering objects of the same type, each object must be rendered completely before the rendering of the next object
is started. This is to avoid incomplete object rendering.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
251

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh