Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Static Text supports Touchscreen inputs only, replying to the events with the pre-defined actions (see
GFX_GOL_StaticTextActionGet() for details).
The Static Text object is rendered using the assigned style scheme. The following figure illustrates the usage of the style
schemes in the object.
Static Text can be rendered with an option to have a frame that will show the boundaries of the defined region (see
GFX_GOL_STATICTEXT_FRAME_STATE for details).
Another option for the object is to render the object with a background. The types of background that can be used is
described in the style scheme used in the object (see GFX_BACKGROUND_TYPE for types of available background).
When creating the object, the alignment of the text of the object can be formatted with the same options that
GFX_TextStringBoxDraw() allows.
1.6.2.1.12.1 GFX_GOL_StaticTextActionGet Function
This function sets the text alignment of the text string used by the object.
File
gfx_gol_static_text.h
Syntax
GFX_GOL_TRANSLATED_ACTION GFX_GOL_StaticTextActionGet(void * pObject, GFX_GOL_MESSAGE *
pMessage);
Returns
• GFX_GOL_STATICTEXT_ACTION_SELECTED – Object is selected
• GFX_GOL_OBJECT_ACTION_INVALID – Object is not affected
Description
This function evaluates the message from a user if the message will affect the object or not. The table below enumerates the
action for each event of the touch screen inputs.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
267
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf