|
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 --> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"><concept id="GUID-97712509-84AD-462F-8FFB-E1E6D8278938" xml:lang="en"><title>Enabling |
|
10 touch support for buttons</title><prolog><metadata><keywords></keywords></metadata></prolog><conbody> |
|
11 <p>To use a touch-enabled button in your application, implement the following |
|
12 use cases:</p> |
|
13 <ul> |
|
14 <li><p><xref href="GUID-CDBBD44F-C5F6-4D51-B4BA-23DA9BB58D69.dita">Creating generic |
|
15 button</xref></p></li> |
|
16 <li><p><xref href="GUID-96C49728-8C78-4D82-876D-6B1196362D44.dita">Setting button |
|
17 properties not specific to any state</xref></p></li> |
|
18 <li><p><xref href="GUID-07DD47FD-86B7-4AFD-BEDB-DF6EA12DFC6C.dita">Using button |
|
19 states</xref></p></li> |
|
20 <li><p><xref href="GUID-089FE9FA-44C8-48D5-A473-9486BF763283.dita">Setting properties |
|
21 for button states</xref></p></li> |
|
22 <li><p><xref href="GUID-E1A2872E-6E8D-4C02-B3C0-23213FD56106.dita">Handling button |
|
23 events</xref></p></li> |
|
24 </ul> |
|
25 <p><draft-comment translate="no" time="2008-05-12T14:05">We need to provide more clarity |
|
26 on the required order of implementing the use cases and clarify whether there |
|
27 are alternative approaches for achieving the same results.</draft-comment></p> |
|
28 <p>The following use cases are optional, allowing you to set additional properties |
|
29 for your button:</p> |
|
30 <ul> |
|
31 <li><p><xref href="GUID-62DF565C-8121-429F-99D0-B5FBDE634AA9.dita">Using long-tap |
|
32 events</xref></p></li> |
|
33 <li><p><xref href="GUID-79B4468A-2CF6-45E2-BC05-064CA300C12C.dita">Using skin support |
|
34 in buttons</xref></p></li> |
|
35 </ul> |
|
36 <section><title>Implementation file</title><p>The implementation file for |
|
37 the Generic button API is aknbutton.h.</p></section> |
|
38 </conbody><related-links> |
|
39 <link href="GUID-F3EE1000-71A6-4D48-A30B-3D2357BF20FB.dita"><linktext>Generic button |
|
40 API description</linktext></link> |
|
41 <link href="GUID-EB212C35-5416-4CA7-8091-61B45D78E220.dita"><linktext>Look and |
|
42 feel guidelines for the generic button in a toolbar</linktext></link> |
|
43 </related-links></concept> |