photosgallery/viewframework/views/metadatadialog/src/glxmetadatadialog.cpp
branchRCL_3
changeset 9 6b87b143d312
parent 2 7d9067c6fcb1
child 13 71da52165949
equal deleted inserted replaced
5:f7f0874bfe7d 9:6b87b143d312
   468 //
   468 //
   469 void CGlxMetadataDialog::HandlePointerEventL(
   469 void CGlxMetadataDialog::HandlePointerEventL(
   470     const TPointerEvent& aPointerEvent)
   470     const TPointerEvent& aPointerEvent)
   471 	{
   471 	{
   472 	TRACER("CGlxMetadataDialog::HandlePointerEventL");
   472 	TRACER("CGlxMetadataDialog::HandlePointerEventL");
       
   473 
       
   474 	//This has to be called first, as base class implementation sets the flag of settings dialog with EDisableMarquee 
   473 	CCoeControl::HandlePointerEventL( aPointerEvent );
   475 	CCoeControl::HandlePointerEventL( aPointerEvent );
       
   476     
       
   477 	//After the above call we can call our implementation to reset the marque flag and start marqueeing if needed
       
   478 	if(aPointerEvent.iType == TPointerEvent::EButton1Down
       
   479 	        || aPointerEvent.iType == TPointerEvent::EButton2Down
       
   480 	        || aPointerEvent.iType == TPointerEvent::EButton3Down
       
   481 	        || aPointerEvent.iType == TPointerEvent::EDrag)
       
   482 	    {
       
   483 		//This has to done at every above mentioned event, since the disable marquee flag is set by base implementation, 
       
   484 		//forcing us the need to reset it everytime.
       
   485         iContainer->EnableMarqueingL();
       
   486 	    }
   474 	}
   487 	}
   475 
   488 
   476 // ---------------------------------------------------------------------------
   489 // ---------------------------------------------------------------------------
   477 // CGlxMetadataDialog::OnLocationEditL
   490 // CGlxMetadataDialog::OnLocationEditL
   478 // ---------------------------------------------------------------------------
   491 // ---------------------------------------------------------------------------