Vault 7: Projects

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

GFX_GOL_LISTBOX_SINGLE_SELECT_STATE,
GFX_GOL_LISTBOX_DRAW_ITEMS_STATE,
GFX_GOL_LISTBOX_DRAW_FOCUS_STATE,
GFX_GOL_LISTBOX_DRAW_STATE,
GFX_GOL_LISTBOX_HIDE_STATE
} GFX_GOL_LISTBOX_STATE;
Members
Members Description
GFX_GOL_LISTBOX_FOCUSED_STATE Property bit for focus state.
GFX_GOL_LISTBOX_DISABLED_STATE Property bit to indicate object is disabled.
GFX_GOL_LISTBOX_SINGLE_SELECT_STATE Property bit to indicate only one item can be selected.
GFX_GOL_LISTBOX_DRAW_ITEMS_STATE Draw bit to indicate selected items of the object must be
redrawn.
GFX_GOL_LISTBOX_DRAW_FOCUS_STATE Draw bit to indicate focus must be redrawn.
GFX_GOL_LISTBOX_DRAW_STATE Draw Bit to indicate object must be redrawn.
GFX_GOL_LISTBOX_HIDE_STATE Draw bit to indicate object must be removed from screen.
Description
Typedef: GFX_GOL_LISTBOX_STATE
This enumeration specifies the different states of the List Box 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.15 GFX_GOL_LISTITEM Type
The structure that defines each item in the list box.
File
gfx_gol_list_box.h
Syntax
typedef struct {
void * pPrevItem;
void * pNextItem;
GFX_GOL_LISTBOX_ITEM_STATUS status;
GFX_XCHAR * pText;
GFX_RESOURCE_HDR * pImage;
uint16_t data;
} GFX_GOL_LISTITEM;
Members
Members Description
void * pPrevItem; Pointer to the next item
void * pNextItem; Pointer to the next item
GFX_GOL_LISTBOX_ITEM_STATUS status; Specifies the status of the item.
GFX_XCHAR * pText; Pointer to the text for the item
GFX_RESOURCE_HDR * pImage; Pointer to the image used
uint16_t data; Some data associated with the item
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
333

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh