Vault 7: Projects

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

Function
GFX_GOL_TRANSLATED_ACTION GFX_GOL_EditBoxActionGet(
void *pObject,
GFX_GOL_MESSAGE *pMessage);
1.6.2.1.4.5 GFX_GOL_EditBoxActionSet Function
This function performs the state change of the object based on the translated action.
File
gfx_gol_edit_box.h
Syntax
void GFX_GOL_EditBoxActionSet(GFX_GOL_TRANSLATED_ACTION translatedMsg, void * pObject,
GFX_GOL_MESSAGE * pMessage);
Returns
None.
Description
This function performs the state change of the object based on the translated action. This change can be overridden by the
application using the application defined GFX_GOL_MESSAGE_CALLBACK_FUNC. When the user message is determined
to affect the object, application can perform the state change in the message callback function. The following state changes
are supported:
Translated Message Input
Source
Set/Clear State Bit Description
GFX_GOL_EDITBOX_ACTION_ADD_CHAR Keyboard Set GFX_GOL_EDITBOX_DRAW_STATE New character
is added and
Edit Box will be
redrawn.
GFX_GOL_EDITBOX_ACTION_DEL_CHAR KeyBoard Set GFX_GOL_EDITBOX_DRAW_STATE Last character
is removed and
Edit Box will be
redrawn.
GFX_GOL_EDITBOX_ACTION_TOUCHSCREEN Touch
Screen
Set
GFX_GOL_EDITBOX_FOCUSED_STATE
When enabled,
focus will be
redrawn, caret
will also be
redrawn if
enabled.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
translatedMsg The action of the object based on the message.
pObject The pointer to the object whose state will be modified.
pMessage The pointer to the original message.
Function
void GFX_GOL_EditBoxActionSet(
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
189

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh