Vault 7: Projects

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

1.6.2.1.11.1 GFX_GOL_ScrollBarActionGet Function
This function evaluates the message from a user if the message will affect the object or not.
File
gfx_gol_scroll_bar.h
Syntax
GFX_GOL_TRANSLATED_ACTION GFX_GOL_ScrollBarActionGet(void * pObject, GFX_GOL_MESSAGE *
pMessage);
Returns
GFX_GOL_SCROLLBAR_ACTION_INC – Increment scroll bar position.
GFX_GOL_SCROLLBAR_ACTION_DEC – Decrement scroll bar position.
GFX_GOL_OBJECT_ACTION_PASSIVE – Object bar is not affected
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_SCROLLBAR_ACTION_INC Touch
Screen
EVENT_PRESS,
EVENT_MOVE
If events occurs and the x,y position falls in the
area of the slider and the slider position is to the
LEFT of the x,y position for a horizontal slider or
BELOW the x,y position for a vertical slider.
Keyboard EVENT_KEYSCAN If event occurs and parameter1 passed
matches the object�s ID and parameter 2
passed matches SCAN_UP_PRESSED or
SCAN_LEFT_PRESSED.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
255

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh