# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 323
- 324
- 325
- 326
- 327
…
- 373
- 374

4. If 2*radius = height = width, the GFX_GOL_BUTTON is a circular GFX_GOL_BUTTON.
Remarks
None.
1.6.2.7.2 GFX_GOL_BUTTON_STATE Type
Specifies the different states of the Button object.
File
gfx_gol_button.h
Syntax
typedef enum {
GFX_GOL_BUTTON_FOCUSED_STATE,
GFX_GOL_BUTTON_DISABLED_STATE,
GFX_GOL_BUTTON_PRESSED_STATE,
GFX_GOL_BUTTON_TOGGLE_STATE,
GFX_GOL_BUTTON_TWOTONE_STATE,
GFX_GOL_BUTTON_NOPANEL_STATE,
GFX_GOL_BUTTON_DRAW_FOCUS_STATE,
GFX_GOL_BUTTON_DRAW_STATE,
GFX_GOL_BUTTON_HIDE_STATE
} GFX_GOL_BUTTON_STATE;
Members
Members Description
GFX_GOL_BUTTON_FOCUSED_STATE Property bit for focus state.
GFX_GOL_BUTTON_DISABLED_STATE Property bit for disabled state.
GFX_GOL_BUTTON_PRESSED_STATE Property bit for press state.
GFX_GOL_BUTTON_TOGGLE_STATE Property bit to indicate object will have a toggle behavior.
GFX_GOL_BUTTON_TWOTONE_STATE Property bit to indicate the object is a two tone type.
GFX_GOL_BUTTON_NOPANEL_STATE Property bit to indicate the object will be drawn without a
panel (for faster drawing when the object image used is
larger than the object's panel).
GFX_GOL_BUTTON_DRAW_FOCUS_STATE Draw bit to indicate focus must be redrawn.
GFX_GOL_BUTTON_DRAW_STATE Draw bit to indicate object must be redrawn.
GFX_GOL_BUTTON_HIDE_STATE Draw bit to indicate object must be removed from screen.
Description
Typedef: GFX_GOL_BUTTON_STATE
This enumeration specifies the different states of the Button 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.3 GFX_GOL_CHECKBOX Type
Defines the structure used for the Check Box object.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
325

- 1
- 2
…
- 323
- 324
- 325
- 326
- 327
…
- 373
- 374