# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 285
- 286
- 287
- 288
- 289
…
- 373
- 374

GFX_GOL_TEXTENTRY_UPDATE_TEXT_STATE or GFX_GOL_TEXTENTRY_DRAW_STATE must be set to see the
effect of the addition.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject pointer to the object.
Function
void GFX_GOL_TextEntrySpaceCharAdd(
GFX_GOL_TEXTENTRY *pObject)
1.6.2.1.14 Window Object
Window is an object that can be used to encapsulate objects into a group.
Functions
Name Description
GFX_GOL_WindowActionGet This function evaluates the message from a user if the message will
affect the object or not.
GFX_GOL_WindowCreate This function creates a GFX_GOL_WINDOW 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_WindowDraw This function renders the object on the screen based on the current
state of the object.
GFX_GOL_WindowTextAlignmentGet This function returns the text alignment of the text string used by the
object.
GFX_GOL_WindowTextAlignmentSet This function sets the text alignment of the text string used by the object.
GFX_GOL_WindowTextSet This function sets the address of the current text string used by the
object.
Macros
Name Description
GFX_GOL_WindowImageGet This function gets the image used.
GFX_GOL_WindowImageSet This function sets the image used in the object.
GFX_GOL_WindowTextGet This function returns the address of the current text string used by the
object.
Description
Window is an object that can be used to encapsulate objects into a group. Unlike the Group Box object, the Window object
has additional features such as displaying an icon or a small bitmap on its Title Bar. It also has additional controls for both
Title Bar and Client Area.
Window supports Touchscreen inputs only, replying to the events with the pre-defined actions (see
GFX_GOL_WindowActionGet() for details).
The Window object is rendered using the assigned style scheme. The following figure illustrates the color assignments.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
287

- 1
- 2
…
- 285
- 286
- 287
- 288
- 289
…
- 373
- 374