The out-of-the-box demo application flashed on all display modules before they are shipped.

Dependencies:   DMBasicGUI DMSupport

Embed: (wiki syntax)

« Back to documentation index

<title>AppDraw Class Reference</title>

AppDraw Class Reference

An App example. More...

#include <AppDraw.h>

Public Member Functions

void addResource (Resources id, Resource *res)
 Specifies the resource to use.

Detailed Description

An App example.

Lets the user draw on the screen. Each finger is assigned it's own color.

The purpose of this example is to show the use of a multitouch display.

Definition at line 33 of file AppDraw.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:
idthe identifier
resthe resource

Definition at line 147 of file AppDraw.cpp.