PtBuffer: the pointer move buffer


This example implements simple freehand drawing. The example illustrates the use of RWindowBase's pointer move buffer functions: AllocPointerMoveBuffer(), EnablePointerMoveBuffer(), RetrievePointerMoveBuffer() and DisablePointerMoveBuffer().


Click on the following link to download the example:

Click: browse to view the example code.

Class Summary


Running on the emulator

Hold down the shift key and drag the mouse (with left mouse button down) for freehand drawing.

Running on the target phone

Hold down the shift key and draw using the pointer device.