Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
File
gfx_types_macros.h
Syntax
typedef enum {
GFX_STATUS_FAILURE_BIT,
GFX_STATUS_SUCCESS_BIT,
GFX_STATUS_ERROR_BIT,
GFX_STATUS_BUSY_BIT,
GFX_STATUS_READY_BIT
} GFX_STATUS_BIT;
Members
Members Description
GFX_STATUS_FAILURE_BIT Rendering failed. Depending on the driver used, hardware
may or may not recover.
GFX_STATUS_SUCCESS_BIT Rendering is successful.
GFX_STATUS_ERROR_BIT Rendering resulted in an error and cannot recover.
GFX_STATUS_BUSY_BIT Rendering cannot proceed due to a common resource is
busy.
GFX_STATUS_READY_BIT Rendering can proceed.
Description
Typedef: GFX_STATUS_BIT
The following rendering status types are available for a detailed description of the status of rendering.
Remarks
None.
1.6.2 Graphics Object Layer
Graphics Object Layer Interface.
1.6.2.1 GOL Objects
The Graphics Object Layer (GOL) contains the Advanced Graphics Objects or commonly known as widgets.
1.6.2.1.1 Button Object
Button is an object that emulates a press and release effect when operated upon.
Functions
Name Description
GFX_GOL_ButtonActionGet This function evaluates the message from a user if the message will
affect the object or not.
GFX_GOL_ButtonActionSet This function performs the state change of the object based on the
translated action.
GFX_GOL_ButtonCreate This function creates a GFX_GOL_BUTTON 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_ButtonDraw This function renders the object on the screen based on the current state
of the object.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
156
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf