Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
GFX_GOL_TextEntryActionSet This function performs the state change of the object based on the
translated action.
GFX_GOL_TextEntryBufferClear This function will clear the data in the display.
GFX_GOL_TextEntryBufferGet This function returns the buffer used to display text.
GFX_GOL_TextEntryBufferSet This function sets the buffer used to display text.
GFX_GOL_TextEntryCharAdd This function will insert a character to the end of the buffer.
GFX_GOL_TextEntryCreate This function creates a GFX_GOL_TEXTENTRY 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_TextEntryDraw This function renders the object on the screen based on the
current state of the object.
GFX_GOL_TextEntryKeyCommandGet This function will return the currently assigned command to the
key with the given index.
GFX_GOL_TextEntryKeyCommandSet This function will assign a command to a key with the given index.
GFX_GOL_TextEntryKeyIsPressed This function will test if a key given by its index in the object is
pressed.
GFX_GOL_TextEntryKeyListCreate This function will create the list of key members that holds the
information on each key.
GFX_GOL_TextEntryKeyMemberListDelete This function will delete the key member list assigned to the object.
GFX_GOL_TextEntryKeyTextSet This function will set the text assigned to a key with the given
index.
GFX_GOL_TextEntryLastCharDelete This function will remove the last character of the buffer and
replace it with a string terminator.
GFX_GOL_TextEntrySpaceCharAdd This function will insert a space character to the end of the buffer.
Description
Text Entry is an object that can be used to emulate a key pad entry with a display area for the entered characters. The object
has a feature where you can define a key to reply with a translated message that signifies a command key was pressed. A
command key example can be your enter or carriage return key or an escape key. Multiple keys can be assigned command
keys. Application can utilize the command key to define the behavior of the program based on a command key press.
Static Text supports Touchscreen inputs only, replying to the events with the pre-defined actions (see
GFX_GOL_TextEntryActionGet() and GFX_GOL_TextEntryActionSet() for details).
The Text Entry 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
273
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf