Vault 7: Projects

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

for touch screen is the x position
for keyboard ID of object receiving the message
param2
for touch screen y position
for keyboard scan or key code
Remarks
None.
1.6.2.7.17 GFX_GOL_METER Type
Defines the structure used for the Meter object.
File
gfx_gol_meter.h
Syntax
typedef struct {
GFX_GOL_OBJ_HEADER hdr;
GFX_XCHAR * pText;
GFX_GOL_METER_DRAW_TYPE type;
int16_t value;
int16_t minValue;
int16_t maxValue;
int16_t xCenter;
int16_t yCenter;
int16_t radius;
int16_t xPos;
int16_t yPos;
GFX_COLOR color1;
GFX_COLOR color2;
GFX_COLOR color3;
GFX_COLOR color4;
GFX_COLOR color5;
GFX_COLOR color6;
GFX_RESOURCE_HDR * pTitleFont;
GFX_RESOURCE_HDR * pValueFont;
} GFX_GOL_METER;
Members
Members Description
GFX_GOL_OBJ_HEADER hdr; Generic header for all Objects (see OBJ_HEADER).
GFX_XCHAR * pText; The text label of the meter.
GFX_GOL_METER_DRAW_TYPE type; sets the type of the meter
int16_t value; Current value of the meter.
int16_t minValue; minimum value the meter can display
int16_t maxValue; maximum value the meter can display (range is maxValue -
minValue)
int16_t xCenter; The x coordinate center position. This is computed
automatically.
int16_t yCenter; The y coordinate center position. This is computed
automatically.
int16_t radius; Radius of the meter, also defines the needle length.
int16_t xPos; The current x position of the needle. This is computed
automatically.
int16_t yPos; The current y position of the needle. This is computed
automatically.
GFX_COLOR color1; Arc1 and scale1 color parameter.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
335

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh