2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
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 |
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, |
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". --> |
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
6 <!-- Initial Contributors: |
6 <!-- Initial Contributors: |
7 Nokia Corporation - initial contribution. |
7 Nokia Corporation - initial contribution. |
8 Contributors: |
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 |
9 --> |
10 touch support for buttons</title><prolog><metadata><keywords></keywords></metadata></prolog><conbody> |
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-97712509-84AD-462F-8FFB-E1E6D8278938" xml:lang="en"><title>Enabling |
|
13 touch support for buttons</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
11 <p>To use a touch-enabled button in your application, implement the following |
14 <p>To use a touch-enabled button in your application, implement the following |
12 use cases:</p> |
15 use cases:</p> |
13 <ul> |
16 <ul> |
14 <li><p><xref href="GUID-CDBBD44F-C5F6-4D51-B4BA-23DA9BB58D69.dita">Creating generic |
17 <li><p><xref href="GUID-CDBBD44F-C5F6-4D51-B4BA-23DA9BB58D69.dita">Creating generic |
15 button</xref></p></li> |
18 button</xref></p></li> |
20 <li><p><xref href="GUID-089FE9FA-44C8-48D5-A473-9486BF763283.dita">Setting properties |
23 <li><p><xref href="GUID-089FE9FA-44C8-48D5-A473-9486BF763283.dita">Setting properties |
21 for button states</xref></p></li> |
24 for button states</xref></p></li> |
22 <li><p><xref href="GUID-E1A2872E-6E8D-4C02-B3C0-23213FD56106.dita">Handling button |
25 <li><p><xref href="GUID-E1A2872E-6E8D-4C02-B3C0-23213FD56106.dita">Handling button |
23 events</xref></p></li> |
26 events</xref></p></li> |
24 </ul> |
27 </ul> |
25 <p><draft-comment translate="no" time="2008-05-12T14:05">We need to provide more clarity |
28 <p><draft-comment time="2008-05-12T14:05" translate="no">We need to provide more clarity |
26 on the required order of implementing the use cases and clarify whether there |
29 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> |
30 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 |
31 <p>The following use cases are optional, allowing you to set additional properties |
29 for your button:</p> |
32 for your button:</p> |
30 <ul> |
33 <ul> |
32 events</xref></p></li> |
35 events</xref></p></li> |
33 <li><p><xref href="GUID-79B4468A-2CF6-45E2-BC05-064CA300C12C.dita">Using skin support |
36 <li><p><xref href="GUID-79B4468A-2CF6-45E2-BC05-064CA300C12C.dita">Using skin support |
34 in buttons</xref></p></li> |
37 in buttons</xref></p></li> |
35 </ul> |
38 </ul> |
36 <section><title>Implementation file</title><p>The implementation file for |
39 <section><title>Implementation file</title><p>The implementation file for |
37 the Generic button API is aknbutton.h.</p></section> |
40 the Generic button API is <xref href="jar:GUID-759FBC7F-5384-4487-8457-A8D4B76F6AA6.jar!/html/aknbutton_8h-source.html" format="application/java-archive"><codeph>aknbutton.h</codeph></xref>.</p></section> |
38 </conbody><related-links> |
41 </conbody><related-links> |
39 <link href="GUID-F3EE1000-71A6-4D48-A30B-3D2357BF20FB.dita"><linktext>Generic button |
42 <link href="GUID-F3EE1000-71A6-4D48-A30B-3D2357BF20FB.dita"><linktext>Generic button |
40 API description</linktext></link> |
43 API description</linktext></link> |
41 <link href="GUID-EB212C35-5416-4CA7-8091-61B45D78E220.dita"><linktext>Look and |
44 <link href="GUID-EB212C35-5416-4CA7-8091-61B45D78E220.dita"><linktext>Look and |
42 feel guidelines for the generic button in a toolbar</linktext></link> |
45 feel guidelines for the generic button in a toolbar</linktext></link> |