Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
determined by the style scheme set.
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.
Normally, application will just call GFX_GOL_ObjectListDraw() to allow the Graphics Library to manage all object rendering.
See GFX_GOL_ObjectListDraw() for more information on object rendering.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject Pointer to the object.
Function
GFX_STATUS GFX_GOL_DigitalMeterDraw(void *pObject)
1.6.2.1.3.8 GFX_GOL_DigitalMeterIncrement Function
This function increments the meter value by the delta value set.
File
gfx_gol_digital_meter.h
Syntax
void GFX_GOL_DigitalMeterIncrement(GFX_GOL_DIGITALMETER * pObject, uint16_t delta);
Returns
None.
Description
This function increments the scroll bar position by the given delta value set. If the delta given exceeds the maximum value of
the meter, the value will remain to be at maximum.
Object must be redrawn after this function is called to reflect the changes to the object.
Preconditions
Object must exist in memory.
Example
void ControlSpeed( GFX_GOL_DIGITALMETER* pObj,
int setSpeed,
int curSpeed)
{
// set page size to 1
GFX_GOL_DigitalMeterValueSet(pObj, 1);
if (setSpeed < curSpeed)
{
while(GFX_GOL_DigitalMeterValueGet(pObj) < SetSpeed)
{
// increment by 1
GFX_GOL_DigitalMeterIncrement(pObj, 1);
}
}
else if (setSpeed > curSpeed)
{
while(GFX_GOL_DigitalMeterValueGet(pObj) > SetSpeed)
{
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
183
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf