messagingappbase/msgeditor/appuisrc/MsgNaviPaneControl.cpp
changeset 2 0bf1d54f37d9
parent 0 72b543305e3a
child 12 caea42e26caa
equal deleted inserted replaced
1:d09ac5c1e252 2:0bf1d54f37d9
   246             tactilefeedback = ETrue;
   246             tactilefeedback = ETrue;
   247             if ( aPointerEvent.iType == TPointerEvent::EButton1Down )
   247             if ( aPointerEvent.iType == TPointerEvent::EButton1Down )
   248                 {
   248                 {
   249                 iPreviouslyFocusedControl = leftArrowIndicator;
   249                 iPreviouslyFocusedControl = leftArrowIndicator;
   250                 }
   250                 }
   251             else if ( iPreviouslyFocusedControl == leftArrowIndicator )
   251             // Coverty fix , Forward NULL, http://ousrv057/cov.cgi?cid=35876
       
   252             else if ( iObserver && iPreviouslyFocusedControl == leftArrowIndicator )
   252                 {
   253                 {
   253                 iObserver->HandleNavigationControlEventL( 
   254                 iObserver->HandleNavigationControlEventL( 
   254                             MMsgNaviPaneControlObserver::EMsgNaviLeftArrowPressed );
   255                             MMsgNaviPaneControlObserver::EMsgNaviLeftArrowPressed );
   255                 }
   256                 }
   256             }
   257             }
   368 
   369 
   369     if ( AknLayoutUtils::PenEnabled() )
   370     if ( AknLayoutUtils::PenEnabled() )
   370         {
   371         {
   371         TAknLayoutRect leftArrowTouchRect;
   372         TAknLayoutRect leftArrowTouchRect;
   372         leftArrowTouchRect.LayoutRect( Rect(), AknLayoutScalable_Apps::aid_size_touch_mv_arrow_left(iVarientId) );
   373         leftArrowTouchRect.LayoutRect( Rect(), AknLayoutScalable_Apps::aid_size_touch_mv_arrow_left(iVarientId) );
   373         iLeftArrowTouchRect = leftArrowTouchRect.Rect();
       
   374     
   374     
   375         TAknLayoutRect rightArrowTouchRect;
   375         TAknLayoutRect rightArrowTouchRect;
   376         rightArrowTouchRect.LayoutRect( Rect(), AknLayoutScalable_Apps::aid_size_touch_mv_arrow_right(iVarientId) );
   376         rightArrowTouchRect.LayoutRect( Rect(), AknLayoutScalable_Apps::aid_size_touch_mv_arrow_right(iVarientId) );
   377         iRightArrowTouchRect = rightArrowTouchRect.Rect();
   377         if ( AknLayoutUtils::LayoutMirrored() )
       
   378         	{
       
   379         		iLeftArrowTouchRect=rightArrowTouchRect.Rect();
       
   380         		iRightArrowTouchRect= leftArrowTouchRect.Rect();
       
   381         	}
       
   382         else
       
   383         	{
       
   384         		iLeftArrowTouchRect=leftArrowTouchRect.Rect();
       
   385         		iRightArrowTouchRect= rightArrowTouchRect.Rect();
       
   386         	}
       
   387  
   378         }
   388         }
   379     }
   389     }
   380         
   390         
   381 // ----------------------------------------------------------------------------
   391 // ----------------------------------------------------------------------------
   382 // CMsgNaviPaneControl::LayoutPriorityIndicator
   392 // CMsgNaviPaneControl::LayoutPriorityIndicator