Vault 7: Projects

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

uint8_t NoOfDigits,
uint8_t DotPos,
GFX_ALIGNMENT alignment
GFX_GOL_OBJ_SCHEME *pScheme)
1.6.2.1.3.6 GFX_GOL_DigitalMeterDecrement Function
This function decrements the meter value by the delta value set.
File
gfx_gol_digital_meter.h
Syntax
void GFX_GOL_DigitalMeterDecrement(GFX_GOL_DIGITALMETER * pObject, uint16_t delta);
Returns
None.
Description
This function decrements the meter value by the given delta value set. If the delta given is less than the minimum value of
the meter, the value will remain to be at minimum.
Object must be redrawn after this function is called to reflect the changes to the object.
Preconditions
Object must exist in memory.
Example
See GFX_GOL_DigitalMeterIncrement().
Parameters
Parameters Description
pObject pointer to the object.
Function
void GFX_GOL_DigitalMeterDecrement(
GFX_GOL_DIGITALMETER *pObject,
uint16_t delta)
1.6.2.1.3.7 GFX_GOL_DigitalMeterDraw Function
This function renders the object on the screen based on the current state of the object.
File
gfx_gol_digital_meter.h
Syntax
GFX_STATUS GFX_GOL_DigitalMeterDraw(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
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
182

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh