# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 32
- 33
- 34
- 35
- 36
…
- 373
- 374

• NVM_READ_FUNC - function pointer to read function.
• Display Driver Layer architecture is changed. Refer to Adding New Device Driver for new requirements.
• Modified Resistive Touch Driver calibration
• In the PIC24FJ256DA210 driver, CopyWindow() is modified to CopyBlock().
Fixes:
• Fixed issue on vertical Progress Bar rendering.
• Updated demos Google map and JPEG to use the proper GFX_RESOURCE identifiers for JPEG resources
• HX8347 driver now compiles and works with 'mikroMMB for PIC24'
• Bug fixes in the digital meet and cross hair widgets
• Removed references to the PIC24 configuration bit COE_OFF.
• Fixed issue on PutImage() when using PIC24FJ256DA210 and look up table is used on images located at internal or
external SPI flash with color depth less than 8bpp.
• Fixed issue on Line() in the SSD1926 and mchpGfxDrv driver files. The stored coordinates after a successful rendering of
a line will be at the end point (x2,y2).
Deprecated Items:
• TYPE_MEMORY - replaced by GFX_RESOURCE
• EXTDATA - replaced by GFX_EXTDATA
• BITMAP_FLASH - replaced by IMAGE_FLASH
• BITMAP_RAM - replaced by IMAGE_RAM
• BITMAP_EXTERNAL - replaced by GFX_EXTDATA
Migration Changes:
• DisplayDriver.c is not used to select the display driver (the file is not a part of the graphics library release package).
• The application should include the driver(s) in the project. Multiple driver files can be included in one project because the
hardware profile will define the driver and only that driver's source code will be used.
• For example, a project may be designed to use the Microchip's PIC24FJ256DA210 graphics controller and the SSD1926
depending on the hardware profile used. The project will include the following source files, SSD1926.c and
mchpGfxDrv.c, among the graphics source files. The hardware profile will contain the following macros,
GFX_USE_DISPLAY_CONTROLLER_SSD1926 and GFX_USE_DISPLAY_CONTROLLER_MCHP_DA210, to select the
SSD1926 and Microchip's PIC24FJ256DA210 graphics controller, respectively.
• When using PIC24FJ256DA210, the driver files are now changed to:
• mchpGfxDrv.c - source code
• mchpGfxDrv.h - header file
• mchpGfxDrvBuffer.c - source code that declares display buffer, work areas and cache areas for IPU operations in EDS.
• The touch screen drivers in the "Board Support Package" directory are renamed to:
• TouchScreenResistive.c - internal resistive touch source code
• TouchScreenResistive.h - internal resistive touch header file
• TouchScreenAR1020.c - external AR1020 touch source code
• TouchScreenAR1020.h - external AR1020 touch header file
• The two original files (TouchScreen.c and TouchScreen.h) are still needed since they are defining common interfaces to
resistive touch drivers.
• When using the internal resistive touch module, the project will contain TouchScreenResistive.c and TouchScreen.c. All
modules that reference touch screen APIs will include TouchScreen.h header file.
• When using the external AR1020 touch module, the project will contain TouchScreenAR1020.c and TouchScreen.c. All
modules that reference touch screen APIs will include TouchScreen.h header file.
• The touch screen initialization routine API has changed. The new TouchInit API has four parameters passed. Please refer
to the API definition for more details.
1.3 Release Notes MLA - Graphics Library Help
34

- 1
- 2
…
- 32
- 33
- 34
- 35
- 36
…
- 373
- 374