Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
• CommonBkLeft - the horizontal starting position of the background.
• CommonBkTop - the vertical starting position of the background.
• CommonBkType - specifies the type of background to use.
• pCommonBkImage - pointer to the background image used when the background type is set to
GFX_BACKGROUND_IMAGE.
4. Fill - The parameters that defines how the fill will be performed.
• fillStyle - specified the fill style to be used (see GFX_FILL_STYLE).
• AlphaValue - alpha value used for alpha blending. This will be used then fillStyle is set to
GFX_FILL_STYLE_ALPHA_COLOR.
• gradientStartColor - start color of the gradient fill. This will be used then fillStyle is set to any of the gradient fill styles.
• gradientEndColor - end color of the gradient fill. This will be used then fillStyle is set to any of the gradient fill styles.
5. Style - The parameter that defines the 3-D effect of the object.
• EmbossSize - defines the emboss size of the panel for 3-D effect. This parameter should be set to 0 when not used.
Object Panel
Most of the objects in the Graphics Library utilizes a generic panel to define the object's shape. When using the provided
objects in the library, the details of how the panel is utilized can be transparent to the users. In cases, where users
defines their own objects the following detailed discussion of the panel is important.
A panel is a rectangular shape that is utilized by the objects to define its dimension. The panel is then drawn with the
GOL_PANEL_PARAM to define the shape's colors. The colors are taken from the currently assigned style scheme to the
object.
The assignment of the panel colors from the style scheme is shown below:
Style Scheme to Panel Assignment
Style Scheme Parameter Panel Parameter
EmbossDkColor panelEmbossDkColor
EmbossLtColor panelEmbossLtColor
Color0, Color1, ColorDisabled panelFaceColor
fillStyle panelFillStyle
EmbossSize panelEmbossSize
TextColor0, TextColor1, TextColorDisabled, pFont,
CommonBkColor, CommonBkLeft, CommonBkTop,
CommonBkType, pCommonBkImage
Not set in the panel.
AlphaValue, panelApha - use is dependent on the panelFillStyle setting.
gradientStartColor, panelGradientStartColor - use is dependent on the panelFillStyle
setting.
1.4 Using The Library MLA - Graphics Library Help How the Library Works
57
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf