Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
1.6.2.1.1.5 GFX_GOL_ButtonTextGet Macro
This function returns the address of the current text string used by the object.
File
gfx_gol_button.h
Syntax
#define GFX_GOL_ButtonTextGet(pObject) (((GFX_GOL_BUTTON *)pObject)->pText)
Returns
Pointer to text string.
Description
This function returns the address of the current text string used by the object.
Preconditions
Object must exist in memory.
Example
GFX_XCHAR *pChar;
GFX_GOL_BUTTON GFX_GOL_BUTTON[2];
pChar = GFX_GOL_ButtonTextGet(GFX_GOL_BUTTON[0]);
Parameters
Parameters Description
pObject pointer to the object.
Function
GFX_XCHAR *GFX_GOL_ButtonTextGet(
GFX_GOL_BUTTON *pObject)
1.6.2.1.1.6 GFX_GOL_ButtonActionGet Function
This function evaluates the message from a user if the message will affect the object or not.
File
gfx_gol_button.h
Syntax
GFX_GOL_TRANSLATED_ACTION GFX_GOL_ButtonActionGet(void * pObject, GFX_GOL_MESSAGE *
pMessage);
Returns
• GFX_GOL_BUTTON_ACTION_PRESSED - Object is pressed
• GFX_GOL_BUTTON_ACTION_RELEASED - Object is released
• GFX_GOL_BUTTON_ACTION_CANCELPRESS - Object will be released, user cancels press action on the
GFX_GOL_BUTTON
• 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 and keyboard inputs.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
162
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf