Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
GFX_GOL_SCROLLBAR_STATE Specifies the different states of the Scroll Bar object.
GFX_GOL_STATICTEXT Defines the structure used for the Static Text object.
GFX_GOL_STATICTEXT_STATE Specifies the different states of the Static Text object.
GFX_GOL_TEXTENTRY Defines the structure used for the Text Entry object.
GFX_GOL_TEXTENTRY_KEY_COMMAND_TYPE Specifies the different commands available for command keys of the
Text Entry object.
GFX_GOL_TEXTENTRY_KEYMEMBER Defines the structure used to describe a key in the Text Entry object.
GFX_GOL_TEXTENTRY_STATE Specifies the different states of the Text Entry object.
GFX_GOL_TRANSLATED_ACTION Specifies the different object actions supported in the library.
GFX_GOL_WINDOW Defines the structure used for the Window object.
GFX_GOL_WINDOW_STATE Specifies the different states of the Window object.
GOL_PANEL_PARAM Specifies panel parameters.
INPUT_DEVICE_EVENT Specifies the different user input device events supported in the
library.
INPUT_DEVICE_TYPE Specifies the different user input devices supported in the library.
1.6.2.7.1 GFX_GOL_BUTTON Type
Defines the structure used for the Button object.
File
gfx_gol_button.h
Syntax
typedef struct {
GFX_GOL_OBJ_HEADER hdr;
uint16_t radius;
uint16_t textWidth;
uint16_t textHeight;
GFX_XCHAR * pText;
GFX_ALIGNMENT alignment;
GFX_RESOURCE_HDR * pPressImage;
GFX_RESOURCE_HDR * pReleaseImage;
} GFX_GOL_BUTTON;
Members
Members Description
GFX_GOL_OBJ_HEADER hdr; Generic header for all Objects (see
GFX_GOL_OBJ_HEADER).
uint16_t radius; Radius for rounded buttons.
uint16_t textWidth; Computed text width, done at creation.
uint16_t textHeight; Computed text height, done at creation.
GFX_XCHAR * pText; Pointer to the text used.
GFX_ALIGNMENT alignment; text alignment
GFX_RESOURCE_HDR * pPressImage; Pointer to bitmap used.
GFX_RESOURCE_HDR * pReleaseImage; Pointer to bitmap used.
Description
Typedef: GFX_GOL_BUTTON
Defines the structure used for the Button object.
1. Width is determined by right - left parameter in GFX_GOL_OBJ_HEADER.
2. Height is determined by top - bottom parameter in GFX_GOL_OBJ_HEADER.
3. radius - specifies if the GFX_GOL_BUTTON will have a rounded edge. If zero then the GFX_GOL_BUTTON will have
sharp (cornered) edge.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
324
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf