equal
deleted
inserted
replaced
31 <p>The following figure illustrates changes in the code. Items marked with |
31 <p>The following figure illustrates changes in the code. Items marked with |
32 a black frame indicate usage of features in earlier editions, and items marked |
32 a black frame indicate usage of features in earlier editions, and items marked |
33 with a red frame are new features.</p> |
33 with a red frame are new features.</p> |
34 <fig id="GUID-A8FE0B16-FCA8-48FB-BAE8-EE141CED39C0"> |
34 <fig id="GUID-A8FE0B16-FCA8-48FB-BAE8-EE141CED39C0"> |
35 <title><parmname>CCoeControl::HandlePointerEventL()</parmname> usage</title> |
35 <title><parmname>CCoeControl::HandlePointerEventL()</parmname> usage</title> |
36 <image href="GUID-52783B69-09FC-4123-849A-79FF61406129_d0e71327_href.png" placement="inline"/> |
36 <image href="GUID-52783B69-09FC-4123-849A-79FF61406129_d0e65678_href.png" placement="inline"/> |
37 </fig> |
37 </fig> |
38 <p>To handle pointer events in your custom control:</p> |
38 <p>To handle pointer events in your custom control:</p> |
39 <ol> |
39 <ol> |
40 <li id="GUID-CFB37EC0-E28A-4E28-9D7E-FEE90F21C1E5"><itemgroup><p>In your custom |
40 <li id="GUID-CFB37EC0-E28A-4E28-9D7E-FEE90F21C1E5"><itemgroup><p>In your custom |
41 control header file, include the <parmname>CCoeControl::HandlePointerEventL()</parmname> method.</p><codeblock xml:space="preserve"> public: // from CCoeControl |
41 control header file, include the <parmname>CCoeControl::HandlePointerEventL()</parmname> method.</p><codeblock xml:space="preserve"> public: // from CCoeControl |
116 </ol> |
116 </ol> |
117 <ul> |
117 <ul> |
118 <li><itemgroup><p>Features introduced:</p><ul> |
118 <li><itemgroup><p>Features introduced:</p><ul> |
119 <li><p>Optional <parmname>TPointerEvent::EDrag()</parmname> for receiving |
119 <li><p>Optional <parmname>TPointerEvent::EDrag()</parmname> for receiving |
120 events indicating that a mobile device user is dragging it across the screen.</p><p>For |
120 events indicating that a mobile device user is dragging it across the screen.</p><p>For |
121 more information on this and other touch event options, see <xref href="GUID-33D93E96-98A9-4116-9028-3241D76A1036.dita">Enabling |
121 more information on this and other touch event options, see <xref href="GUID-33D93E96-98A9-4116-9028-3241D76A1036.dita">Enabling additional touch events for your application</xref>.</p></li> |
122 additional touch events for your application</xref>.</p></li> |
|
123 <li><p>Optional <parmname>MTouchFeedback</parmname> observer for sending a |
122 <li><p>Optional <parmname>MTouchFeedback</parmname> observer for sending a |
124 vibration when a mobile device user touches a control with the feedback interface.</p><p>For |
123 vibration when a mobile device user touches a control with the feedback interface.</p><p>For |
125 more information on tactile feedback, see <xref href="GUID-581A8E4B-12BE-41C0-A20E-3087A80FEECF.dita">Tactile |
124 more information on tactile feedback, see <xref href="GUID-581A8E4B-12BE-41C0-A20E-3087A80FEECF.dita">Tactile |
126 feedback</xref>.</p></li> |
125 feedback</xref>.</p></li> |
127 </ul></itemgroup></li> |
126 </ul></itemgroup></li> |