uifw/EikStd/dlgsrc/EIKCAPC.CPP
branchRCL_3
changeset 10 9f56a4e1b8ab
parent 4 8ca85d2f0db7
child 23 3d340a0166ff
equal deleted inserted replaced
9:aabf2c525e0f 10:9f56a4e1b8ab
  3904     TRgb textColor( KRgbBlack );
  3904     TRgb textColor( KRgbBlack );
  3905     GetColor( EColorLabelText, textColor );
  3905     GetColor( EColorLabelText, textColor );
  3906 
  3906 
  3907     if ( !iIsCurrentLine )
  3907     if ( !iIsCurrentLine )
  3908         {
  3908         {
  3909         AknListUtils::DrawSeparator( aGc, Rect(), textColor );
  3909         AknListUtils::DrawSeparator( aGc, Rect(), textColor, skin );
  3910         aGc.SetBrushStyle( CGraphicsContext::ENullBrush ) ; 
  3910         aGc.SetBrushStyle( CGraphicsContext::ENullBrush ) ; 
  3911         }
  3911         }
  3912     else // Highlight Skinning.  Requires Frame
  3912     else // Highlight Skinning.  Requires Frame
  3913         {
  3913         {
  3914         if ( iIsEditable )
  3914         if ( iIsEditable )
  3918             innerRect.iBr = EditFrameBottomRightRect( Rect() ).iTl ;
  3918             innerRect.iBr = EditFrameBottomRightRect( Rect() ).iTl ;
  3919 
  3919 
  3920             MAknsControlContext* parentCc = GetDialogControlContext( iDialogPage ) ; 
  3920             MAknsControlContext* parentCc = GetDialogControlContext( iDialogPage ) ; 
  3921             AknsDrawUtils::Background( skin, parentCc, this, aGc, Rect() ) ;
  3921             AknsDrawUtils::Background( skin, parentCc, this, aGc, Rect() ) ;
  3922 
  3922 
  3923             AknListUtils::DrawSeparator( aGc, Rect(), textColor );
  3923             AknListUtils::DrawSeparator( aGc, Rect(), textColor, skin );
  3924             
  3924             
  3925             // Set the rectangle(s) for the Frame context
  3925             // Set the rectangle(s) for the Frame context
  3926             iExtension->iEditModeHighlightControlContext->SetFrameRects( EditRect(), innerRect ) ;
  3926             iExtension->iEditModeHighlightControlContext->SetFrameRects( EditRect(), innerRect ) ;
  3927             iExtension->iEditModeHighlightControlContextPressed->SetFrameRects( EditRect(), innerRect ) ;
  3927             iExtension->iEditModeHighlightControlContextPressed->SetFrameRects( EditRect(), innerRect ) ;
  3928             
  3928             
  3942             // The bit around the outside must use the parent's control context
  3942             // The bit around the outside must use the parent's control context
  3943             MAknsControlContext* parentCc = GetDialogControlContext( iDialogPage );
  3943             MAknsControlContext* parentCc = GetDialogControlContext( iDialogPage );
  3944             AknsDrawUtils::BackgroundBetweenRects( skin, parentCc, this, aGc, 
  3944             AknsDrawUtils::BackgroundBetweenRects( skin, parentCc, this, aGc, 
  3945                     Rect(), innerRect );
  3945                     Rect(), innerRect );
  3946     
  3946     
  3947             AknListUtils::DrawSeparator( aGc, Rect(), textColor );
  3947             AknListUtils::DrawSeparator( aGc, Rect(), textColor, skin );
  3948 
  3948 
  3949             // Draw the animation itself
  3949             // Draw the animation itself
  3950             if ( iExtension->IsHighlightAnimated() 
  3950             if ( iExtension->IsHighlightAnimated() 
  3951                     && iExtension->iAnimation->Animation() )
  3951                     && iExtension->iAnimation->Animation() )
  3952                 {
  3952                 {