equal
deleted
inserted
replaced
2446 // Currently no skin effect for the highlighted field drawing |
2446 // Currently no skin effect for the highlighted field drawing |
2447 SetGcToInverseVideo(aGc); |
2447 SetGcToInverseVideo(aGc); |
2448 } |
2448 } |
2449 else |
2449 else |
2450 { |
2450 { |
2451 if (IsDimmed()) |
|
2452 SetGcToDimmedVideo(aGc); |
|
2453 else |
|
2454 SetGcToNormalVideo(aGc); |
|
2455 |
|
2456 // Note!! This is taking responsibility away from the CEikMfne Field for drawing |
2451 // Note!! This is taking responsibility away from the CEikMfne Field for drawing |
2457 // Skin background is drawn for the fields here |
2452 // Skin background is drawn for the fields here |
2458 if( SkinningBackground() && !iFlags[EUseOverrideColors] ) |
2453 if( SkinningBackground() && !iFlags[EUseOverrideColors] ) |
2459 { |
2454 { |
2460 // Note that in case EUseOverrideColors is up, there is no need |
2455 // Note that in case EUseOverrideColors is up, there is no need |
2483 } |
2478 } |
2484 } |
2479 } |
2485 |
2480 |
2486 // Set up null brush GC here for the upcoming draw |
2481 // Set up null brush GC here for the upcoming draw |
2487 aGc.SetBrushStyle(CGraphicsContext::ENullBrush); |
2482 aGc.SetBrushStyle(CGraphicsContext::ENullBrush); |
|
2483 } |
|
2484 // set aGc for drawing field text |
|
2485 if ( IsDimmed() ) |
|
2486 { |
|
2487 SetGcToDimmedVideo( aGc ); |
|
2488 } |
|
2489 else |
|
2490 { |
|
2491 SetGcToNormalVideo( aGc ); |
2488 } |
2492 } |
2489 } |
2493 } |
2490 // This draw must only draw the text with a null brush or draw block highlight |
2494 // This draw must only draw the text with a null brush or draw block highlight |
2491 iFields[i]->Draw(aGc, font, topLeftOfField); |
2495 iFields[i]->Draw(aGc, font, topLeftOfField); |
2492 } |
2496 } |