Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
state = GFX_GOL_SCROLLBAR_DRAW_STATE |
GFX_GOL_SCROLLBAR_VERTICAL_STATE;
srollBarArray[2] = GFX_GOL_ScrollBarCreate( 7,
120, 145, 140, 220,
state,
30, 2, 20,
pScheme);
if (slider[2] == NULL)
return 0;
// draw the sliders
while (GFX_GOL_ObjectListDraw() == 0);
return 1;
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.
range This specifies the maximum value of the slider when the
thumb is on the rightmost position for a horizontal orientation
and bottom most position for the vertical orientation.
Minimum value is always at zero.
page This is the incremental change of the slider when user action
requests to move the slider thumb. This value is added or
subtracted to the current position of the thumb.
pos This defines the initial position of the thumb.
pScheme The pointer to the style scheme used for the Object. Set to
NULL if default style scheme is used.
Function
GFX_GOL_SCROLLBAR *GFX_GOL_ScrollBarCreate(
uint16_t ID,
uint16_t left,
uint16_t top,
uint16_t right,
uint16_t bottom,
uint16_t state,
uint16_t range,
uint16_t page,
uint16_t pos,
GFX_GOL_OBJ_SCHEME *pScheme);
1.6.2.1.11.4 GFX_GOL_ScrollBarDraw Function
This function renders the object on the screen based on the current state of the object.
File
gfx_gol_scroll_bar.h
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
259
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf