Vault 7: Projects

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

// create the list of items to be placed in the listbox
// Add items (each line will become one item,
// lines must be separated by 'n' character)
pTemp = ItemList;
counter = 0;
while(*pTemp)
{
// since each item is appended NULL is assigned to
// GFX_GOL_LISTITEM pointer.
if(NULL == GFX_GOL_ListBoxItemAdd(
pLb,
NULL,
pTemp,
NULL,
0,
counter))
{
break;
}
while(*pTemp++ > (unsigned GFX_XCHAR)31);
if(*(pTemp-1) == 0)
break;
counter++;
}
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. This is used for the items of
the object.
alignment text alignment of the text used in the object.
pScheme Pointer to the style scheme used.
Function
GFX_GOL_LISTBOX *GFX_GOL_ListBoxCreate(
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 Library Interface MLA - Graphics Library Help Graphics Object Layer
210

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh