Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Syntax
void GFX_GOL_ScrollBarRangeSet(GFX_GOL_SCROLLBAR * pObject, uint16_t range);
Returns
None.
Description
This function sets the range of the thumb of the scroll bar. When the range is modified, object must be completely redrawn to
reflect the change.
Preconditions
Object must exist in memory.
Example
GFX_GOL_SCROLLBAR *pSld;
GFX_GOL_ScrollBarRangeSet(pSld, 100);
// to completely redraw the object when
// GFX_GOL_ObjectListDraw() is executed.
GFX_GOL_ObjectStateSet(pSld, SLD_DRAW);
Parameters
Parameters Description
pObject pointer to the object.
range new range of the scroll bar.
Function
void GFX_GOL_ScrollBarRangeSet(
GFX_GOL_SCROLLBAR *pObject,
uint16_t range)
1.6.2.1.12 Static Text Object
Static Text is an object that can be used to display a single or multi-line string of text in a defined area.
Functions
Name Description
GFX_GOL_StaticTextActionGet This function sets the text alignment of the text string used by the object.
GFX_GOL_StaticTextAlignmentGet This function returns the text alignment of the text string used by the
object.
GFX_GOL_StaticTextAlignmentSet This function sets the text alignment of the text string used by the object.
GFX_GOL_StaticTextCreate This function creates a GFX_GOL_STATICTEXT object with the
parameters given. It automatically attaches the new object into a global
linked list of objects and returns the address of the object.
GFX_GOL_StaticTextDraw This function renders the object on the screen based on the current state
of the object.
GFX_GOL_StaticTextGet This function returns the address of the current text string used by the
object.
GFX_GOL_StaticTextSet This function sets the address of the current text string used by the object.
Description
Static Text is an object that can be used to display a single or multi-line string of text in a rectangular area defined by the
dimension of the object. The area defined will also serve as the writable region, where any pixels that exceeds the area's
dimension will be clipped.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
266
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf