# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 292
- 293
- 294
- 295
- 296
…
- 373
- 374

Function
void GFX_GOL_WindowTextAlignmentSet(
GFX_GOL_WINDOW *pObject,
GFX_ALIGNMENT alignment)
1.6.2.1.14.9 GFX_GOL_WindowTextSet Function
This function sets the address of the current text string used by the object.
File
gfx_gol_window.h
Syntax
void GFX_GOL_WindowTextSet(GFX_GOL_WINDOW * 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_WINDOW pWindow;
GFX_GOL_WindowTextSet(pWindow, Label0);
GFX_GOL_WindowTextSet(pWindow, Label1);
Parameters
Parameters Description
pObject pointer to the object.
pText pointer to the text string to be used.
Function
void GFX_GOL_WindowTextSet(
GFX_GOL_WINDOW *pObject,
GFX_XCHAR *pText)
1.6.2.2 GOL Object States
Objects rendered on the display are based on their current Property States and the Drawing States.
Macros
Name Description
GFX_GOL_ObjectStateClear This function clears the state bits of the given object.
GFX_GOL_ObjectStateGet This function retrieves the current value of the state bits of an object.
GFX_GOL_ObjectStateSet This function sets the state bits of the given object.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
294

- 1
- 2
…
- 292
- 293
- 294
- 295
- 296
…
- 373
- 374