Vault 7: Projects

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

Functions
Name Description
GFX_GOL_DrawCallbackSet This function sets the draw callback function that the application will use
to render application specific rendering.
GFX_GOL_ObjectDrawDisable This function resets the drawing state bits of the object.
GFX_GOL_ObjectDrawEnable This function sets the object to be redraw.
GFX_GOL_ObjectIsRedrawSet This function checks if the object needs to be redrawn or not.
GFX_GOL_ObjectListDraw This function redraws all objects in the current active list that has the
rendering state bits set.
GFX_GOL_ObjectListHide This function marks all objects in the active list to be hidden.
GFX_GOL_ObjectRectangleRedraw This function marks all objects in the active list intersected by the given
rectangular area to be redrawn.
Types
Name Description
GFX_GOL_DRAW_CALLBACK_FUNC Draw callback function definition. This application defined function allows
the application to perform application specific rendering.
1.6.2.4.1 GFX_GOL_DRAW_CALLBACK_FUNC Type
Draw callback function definition. This application defined function allows the application to perform application specific
rendering.
File
gfx_gol.h
Syntax
typedef bool (* GFX_GOL_DRAW_CALLBACK_FUNC)(void);
Returns
true - is returned when application rendering is done. false - is returned when application rendering is not yet finished.
Description
This callback function is implemented by the application. This is called inside the GFX_GOL_ObjectListDraw() function when
the drawing of objects in the active list is completed.
Any application specific rendering must be performed on this callback function so no object rendering will be affected by the
application calls to primitive rendering functions. Application setting the drawing color, line style, fill style, text string cursor
position and current font will not affect the object rendering. This is also the safe place to modify the active list.
When the application has performed its own primitive rendering calls, this function must return true to inform the
GFX_GOL_ObjectListDraw() that it is done rendering and checking for object drawing or redrawing can continue.
Preconditions
None.
Example
None.
Function
typedef bool (*GFX_GOL_DRAW_CALLBACK_FUNC) (void);
1.6.2.4.2 GFX_GOL_DrawCallbackSet Function
This function sets the draw callback function that the application will use to render application specific rendering.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
309

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh