Vault 7: Projects

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

Function
GFX_XCHAR *GFX_GOL_EditBoxTextGet(
GFX_GOL_EDITBOX *pObject)
1.6.2.1.4.4 GFX_GOL_EditBoxActionGet Function
This function evaluates the message from a user if the message will affect the object or not.
File
gfx_gol_edit_box.h
Syntax
GFX_GOL_TRANSLATED_ACTION GFX_GOL_EditBoxActionGet(void * pObject, GFX_GOL_MESSAGE *
pMessage);
Returns
GFX_GOL_EDITBOX_ACTION_ADD_CHAR - New character should be added
GFX_GOL_EDITBOX_ACTION_DEL_CHAR - Last character should be removed.
GFX_GOL_EDITBOX_ACTION_TOUCHSCREEN - focus will be drawn when enabled. Careet will be drawn when
enabled.
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.
Translated Message Input
Source
Set/Clear State Bit Description
GFX_GOL_EDITBOX_ACTION_ADD_CHAR Keyboard EVENT_CHARCODE New character
should be
added.
GFX_GOL_EDITBOX_ACTION_DEL_CHAR Keyboard EVENT_KEYPRESS Last character
should be
removed.
GFX_GOL_EDITBOX_ACTION_TOUCHSCREEN Touch
Screen
GFX_GOL_EDITBOX_FOCUSED_STATE Focus will be
drawn, caret
displayed when
enabled.
GFX_GOL_OBJECT_ACTION_INVALID Any Any If the message
did not affect
the object.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject The pointer to the object where the message will be
evaluated to check if the message will affect the object.
pMessage Pointer to the the message from the user interface.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
188

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh