# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 198
- 199
- 200
- 201
- 202
…
- 373
- 374

File
gfx_gol_group_box.h
Syntax
void GFX_GOL_GroupboxTextSet(GFX_GOL_GROUPBOX * pObject, GFX_XCHAR * pText);
Returns
None.
Description
This function sets the address of the current text string used by the object.
Preconditions
Object must exist in memory.
Example
GFX_XCHAR Label0[] = ?Group One?;
GFX_XCHAR Label1[] = ?Group Two?;
GFX_GOL_GROUPBOX pGroupbox;
GFX_GOL_GroupboxTextSet(pGroupbox, Label0);
GFX_GOL_GroupboxTextSet(pGroupbox, Label1);
Parameters
Parameters Description
pObject pointer to the object.
pText pointer to the text string to be used.
Function
GFX_XCHAR *GFX_GOL_GroupboxTextSet(
GFX_GOL_GROUPBOX *pObject,
GFX_XCHAR *pText)
1.6.2.1.6 List Box Object
List Box is an object that defines a scrollable area where items are listed. User can select a single item or multiple of items.
Functions
Name Description
GFX_GOL_ListBoxActionGet This function evaluates the message from a user if the message will
affect the object or not.
GFX_GOL_ListBoxActionSet This function performs the state change of the object based on the
translated action.
GFX_GOL_ListBoxCreate This function creates a GFX_GOL_LISTBOX 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_ListBoxDraw This function renders the object on the screen based on the current
state of the object.
GFX_GOL_ListBoxItemAdd This function adds an item to the list box.
GFX_GOL_ListBoxItemFocusGet This function returns the index of the focused item in the list box.
GFX_GOL_ListBoxItemFocusSet This function sets the focus of the item with the index number
specified by index.
GFX_GOL_ListBoxItemListRemove This function removes the entire items list of the list box and free the
memory used.
GFX_GOL_ListBoxItemRemove This function removes an item from the list box and free the memory
used.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
200

- 1
- 2
…
- 198
- 199
- 200
- 201
- 202
…
- 373
- 374