Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DMBasicGUI DMSupport
Fork of lpc4088_displaymodule_shipped_demo by
AppImageViewer Class Reference
An App example. More...
#include <AppImageViewer.h>
Public Member Functions | |
void | addResource (Resources id, Resource *res) |
Specifies the resource to use. |
Detailed Description
An App example.
Searches for images on any connected media (USB Mass Storage, SD Card or QSPI File System) and presents the images one at a time, scaled to fit the display.
The purpose of this example is to show how to recursively search the file systems and how to load images. The image scaling could be replaced with rotating, cropping or any other image operation. The two second delay between images could be replaced with buttons or other touch events.
Definition at line 37 of file AppImageViewer.h.
Member Function Documentation
void addResource | ( | Resources | id, |
Resource * | res | ||
) |
Specifies the resource to use.
Adds a resource for a specific id. This allows the user program to select e.g. which image to use and if it should be loaded from a file or an array.
- Parameters:
-
id the identifier res the resource
Definition at line 267 of file AppImageViewer.cpp.
Generated on Wed Jul 13 2022 21:47:07 by
