# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 166
- 167
- 168
- 169
- 170
…
- 373
- 374

1.6.2.1.1.11 GFX_GOL_ButtonTextAlignmentSet Function
This function sets the text alignment of the text string used by the object.
File
gfx_gol_button.h
Syntax
void GFX_GOL_ButtonTextAlignmentSet(GFX_GOL_BUTTON * pObject, GFX_ALIGNMENT align);
Returns
None.
Description
This function sets the text alignment of the text string used by the object.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject Pointer to the object.
align The alignment set for the text in the object. See
GFX_ALIGNMENT for more details.
Function
void GFX_GOL_ButtonTextAlignmentSet(
GFX_GOL_BUTTON *pObject,
GFX_ALIGNMENT align)
1.6.2.1.1.12 GFX_GOL_ButtonTextSet Function
This function sets the address of the current text string used by the object.
File
gfx_gol_button.h
Syntax
void GFX_GOL_ButtonTextSet(GFX_GOL_BUTTON * 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[] = â€œONâ€•;
GFX_XCHAR Label1[] = â€œOFFâ€•;
GFX_GOL_BUTTON GFX_GOL_BUTTON[2];
GFX_GOL_ButtonTextSet(GFX_GOL_BUTTON[0], Label0);
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
168

- 1
- 2
…
- 166
- 167
- 168
- 169
- 170
…
- 373
- 374