Vault 7: Projects

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

Syntax
typedef enum {
GFX_GOL_METER_DISABLED_STATE,
GFX_GOL_METER_RING_STATE,
GFX_GOL_METER_ACCURACY_STATE,
GFX_GOL_METER_UPDATE_DRAW_STATE,
GFX_GOL_METER_DRAW_STATE,
GFX_GOL_METER_HIDE_STATE
} GFX_GOL_METER_STATE;
Members
Members Description
GFX_GOL_METER_DISABLED_STATE Property bit for disabled state.
GFX_GOL_METER_RING_STATE Property bit for ring type, scales are drawn over the ring. The
default state of this state bit is disabled. Only scales are
drawn.
GFX_GOL_METER_ACCURACY_STATE Property bit when set, the values will have accuracy for 1
decimal place.
GFX_GOL_METER_UPDATE_DRAW_STATE Draw bit to indicate update of the meter-hand only.
GFX_GOL_METER_DRAW_STATE Draw bit to indicate the whole object must be drawn.
GFX_GOL_METER_HIDE_STATE Draw bit to indicate the object must be removed from the
screen.
Description
Typedef: GFX_GOL_METER_STATE
This enumeration specifies the different states of the Meter object used in the library.
For the Property State bits, more than one of these values may be OR'd together to create a complete property state.
For the Draw State bits, hide draw bit has higher priority than the draw bit. Any of these two can be combined with other
draw bits to create a complete draw state.
To test a value of any of the state types, the bit of interest must be AND'ed with value and checked to see if the result is
non-zero.
Remarks
None.
1.6.2.7.20 GFX_GOL_OBJ_HEADER Type
Specifies Graphics Object Layer structure used in objects.
File
gfx_gol.h
Syntax
typedef struct {
uint16_t ID;
void * pNxtObj;
GFX_GOL_OBJ_TYPE type;
uint16_t state;
uint16_t left;
uint16_t top;
uint16_t right;
uint16_t bottom;
GFX_GOL_OBJ_SCHEME * pGolScheme;
DRAW_FUNC DrawObj;
FREE_FUNC FreeObj;
ACTIONGET_FUNC actionGet;
ACTIONSET_FUNC actionSet;
} GFX_GOL_OBJ_HEADER;
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
337

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh