# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 342
- 343
- 344
- 345
- 346
…
- 373
- 374

int16_t pos;
uint16_t page;
uint16_t thWidth;
uint16_t thHeight;
} GFX_GOL_SCROLLBAR;
Members
Members Description
GFX_GOL_OBJ_HEADER hdr; Generic header for all Objects (see
GFX_GOL_OBJ_HEADER).
int16_t currPos; Position of the slider relative to minimum.
uint16_t prevPos; Previous position of the slider relative to minimum.
uint16_t range; User defined range of the slider. Minimum value at 0 and
maximum at 0x7FFF.
int16_t pos; Position of the slider in range domain.
uint16_t page; User specified resolution to incrementally change the
position in range domain.
uint16_t thWidth; Thumb width. This is computed internally. User must not
change this value.
uint16_t thHeight; Thumb width. This is computed internally. User must not
change this value.
Description
Typedef: GFX_GOL_SCROLLBAR
Defines the parameters required for a Scroll Bar object. Object is drawn with the defined shape parameters and values set
on the given fields. Depending on the GFX_GOL_SCROLLBAR_SLIDER_MODE_STATE state bit slider or scrollbar mode is
set. If GFX_GOL_SCROLLBAR_SLIDER_MODE_STATE is set, mode is slider; if not set mode is scroll bar. For scrollbar
mode, focus rectangle is not drawn.
Remarks
None.
1.6.2.7.29 GFX_GOL_SCROLLBAR_STATE Type
Specifies the different states of the Scroll Bar object.
File
gfx_gol_scroll_bar.h
Syntax
typedef enum {
GFX_GOL_SCROLLBAR_FOCUSED_STATE,
GFX_GOL_SCROLLBAR_DISABLED_STATE,
GFX_GOL_SCROLLBAR_VERTICAL_STATE,
GFX_GOL_SCROLLBAR_SLIDER_MODE_STATE,
GFX_GOL_SCROLLBAR_DRAW_THUMB_STATE,
GFX_GOL_SCROLLBAR_DRAW_FOCUS_STATE,
GFX_GOL_SCROLLBAR_DRAW_STATE,
GFX_GOL_SCROLLBAR_HIDE_STATE
} GFX_GOL_SCROLLBAR_STATE;
Members
Members Description
GFX_GOL_SCROLLBAR_FOCUSED_STATE Property bit for focus state.
GFX_GOL_SCROLLBAR_DISABLED_STATE Property bit for disabled state.
GFX_GOL_SCROLLBAR_VERTICAL_STATE Property bit to indicate the scroll bar is drawn with vertical
orientation
GFX_GOL_SCROLLBAR_SLIDER_MODE_STATE Property bit to indicate the scroll bar is in slider mode.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
344

- 1
- 2
…
- 342
- 343
- 344
- 345
- 346
…
- 373
- 374