webengine/wmlengine/src/MVC/src/MVCView.cpp
changeset 11 c8a366e56285
parent 10 a359256acfc6
child 25 0ed94ceaa377
equal deleted inserted replaced
10:a359256acfc6 11:c8a366e56285
  4220 			{
  4220 			{
  4221 				currPosition.iX = iDeviceContext->Origin()->x;
  4221 				currPosition.iX = iDeviceContext->Origin()->x;
  4222 				currPosition.iY = iDeviceContext->Origin()->y;
  4222 				currPosition.iY = iDeviceContext->Origin()->y;
  4223 				ScrollTo(currPosition+nextPosition);
  4223 				ScrollTo(currPosition+nextPosition);
  4224 			}
  4224 			}
  4225 			break;        							        	
  4225             iDrag = ETrue;
       
  4226             break;
  4226     }
  4227     }
  4227     
  4228     
  4228     NW_ADT_Vector_Metric_t i;
  4229     NW_ADT_Vector_Metric_t i;
  4229     NW_ADT_Vector_Metric_t size = NW_ADT_Vector_GetSize( iTabList );
  4230     NW_ADT_Vector_Metric_t size = NW_ADT_Vector_GetSize( iTabList );
  4230     i = 0;
  4231     i = 0;
  4302                 }
  4303                 }
  4303             if (aPointerEvent.iType == TPointerEvent::EButton1Up)
  4304             if (aPointerEvent.iType == TPointerEvent::EButton1Up)
  4304                 {
  4305                 {
  4305                 if (iShouldActivate)
  4306                 if (iShouldActivate)
  4306                     {
  4307                     {
  4307                     NW_Evt_ActivateEvent_t actEvent;
  4308                       if(!iDrag)
  4308                     NW_Evt_ActivateEvent_Initialize (&actEvent);
  4309                         {
  4309                     ProcessEvent (NW_Evt_EventOf(&actEvent));
  4310                          NW_Evt_ActivateEvent_t actEvent;
       
  4311                          NW_Evt_ActivateEvent_Initialize (&actEvent);
       
  4312                          ProcessEvent (NW_Evt_EventOf(&actEvent));
       
  4313                         }
       
  4314                     else
       
  4315                         {
       
  4316                         iDrag = EFalse;
       
  4317                         }
  4310                     }
  4318                     }
  4311                 }
  4319                 }
  4312             break;
  4320             break;
  4313             }
  4321             }
  4314         }
  4322         }