equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-9FDF961E-D6CA-599C-8D1C-605ECA50F504" xml:lang="en"><title>PtBuffer: |
|
13 the pointer move buffer</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <section><title>Description</title> <p>This example implements simple freehand |
|
15 drawing. The example illustrates the use of <codeph>RWindowBase</codeph>'s |
|
16 pointer move buffer functions: <codeph>AllocPointerMoveBuffer()</codeph>, <codeph>EnablePointerMoveBuffer()</codeph>, <codeph>RetrievePointerMoveBuffer()</codeph> and <codeph>DisablePointerMoveBuffer()</codeph>. </p> </section> |
|
17 <section id="GUID-D0C987E2-987E-551D-BF3A-8AA324FEFD9E"><title>Download</title> <p>Click |
|
18 on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-4b2e9231-4444-4174-a111-eb16f9ab4ab5.zip" scope="external">PtBuffer.zip</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-4b2e9231-4444-4174-a111-eb16f9ab4ab5.html" scope="peer">browse</xref> to view the example code. </p> </section> |
|
19 <section><title>Class Summary</title><p><xref href="GUID-1460DD8F-9AA1-3B99-8FFD-F309959CCA34.dita"><apiname>RWindowBase</apiname></xref></p></section> |
|
20 <section><title>Running on the emulator</title> <p>Hold down the <userinput>shift</userinput> key |
|
21 and drag the mouse (with left mouse button down) for freehand drawing. </p> </section> |
|
22 <section><title>Running on the target phone</title> <p>Hold down the <userinput>shift</userinput> key |
|
23 and draw using the pointer device. </p> </section> |
|
24 </conbody></concept> |