Vault 7: Projects

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

Description
Macro: GFX_CONFIG_PALETTE_DISABLE
The use of a palette is an option to run the application with 256 16, or 2 colors only. When using this feature, the color depth
set for the application should be 8, 4 or 1 bpp (see GFX_CONFIG_COLOR_DEPTH for color depth settings).
To disable the palette feature, add this macro in the configuration.
Remarks
None.
1.5.1.20 GFX_CONFIG_PALETTE_EXTERNAL_DISABLE Macro
Macro that disables the palette feature that are sourced in external resources.
File
gfx_config_template.h
Syntax
#define GFX_CONFIG_PALETTE_EXTERNAL_DISABLE
Description
Macro: GFX_CONFIG_PALETTE_EXTERNAL_DISABLE
Similar to fonts and images, Palettes are considered resources. The use of palette also allow the application to locate the
palette resources in external sources. This macro disables the code that implements externally sourced palettes.
To disable the palette to be sourced from external resources, add this macro in the configuration.
Remarks
None.
1.5.1.21 GFX_CONFIG_RLE_DECODE_DISABLE Macro
Macro that disables RLE compression of images.
File
gfx_config_template.h
Syntax
#define GFX_CONFIG_RLE_DECODE_DISABLE
Description
Macro: GFX_CONFIG_RLE_DECODE_DISABLE
Images that have 8bpp or 4 bpp color depth has the option to be RLE compressed. GFX_ImageDraw() will be able to render
these images. This feature is enabled by default.
// example to use images that are NOT RLE encoded and sourced from
// internal flash only
#define GFX_CONFIG_RLE_DECODE_DISABLE
#define GFX_CONFIG_IMAGE_EXTERNAL_DISABLE
#define GFX_CONFIG_IMAGE_RAM_DISABLE
To disable this feature, add this macro in the configuration.
Remarks
None.
1.5 Configuring the Library MLA - Graphics Library Help Configuration Options
70

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh