uifw/EikStd/coctlsrc/AknDoubleSpanScrollIndicator.cpp
branchRCL_3
changeset 72 a5e7a4f63858
parent 59 978afdc0236f
equal deleted inserted replaced
64:85902f042028 72:a5e7a4f63858
   256     TInt focusPositionInPixels( 0 );
   256     TInt focusPositionInPixels( 0 );
   257         
   257         
   258     if ( roomForMovementInSpan > 0 && roomForMovementInPixels > 0 )
   258     if ( roomForMovementInSpan > 0 && roomForMovementInPixels > 0 )
   259         {
   259         {
   260         focusPositionInPixels =
   260         focusPositionInPixels =
   261             (TInt64)checkedFocusPosition * roomForMovementInPixels /
   261             checkedFocusPosition * roomForMovementInPixels /
   262             roomForMovementInSpan;
   262             roomForMovementInSpan;
   263         }
   263         }
   264 
   264 
   265     // If window would cover whole scrollbar, then modify 
   265     // If window would cover whole scrollbar, then modify 
   266     // it to leave the thumb little short from bottom
   266     // it to leave the thumb little short from bottom