equal
deleted
inserted
replaced
1577 // --------------------------------------------------------------------------- |
1577 // --------------------------------------------------------------------------- |
1578 // CAknNavigationControlContainer::Draw |
1578 // CAknNavigationControlContainer::Draw |
1579 // --------------------------------------------------------------------------- |
1579 // --------------------------------------------------------------------------- |
1580 // |
1580 // |
1581 EXPORT_C void CAknNavigationControlContainer::Draw( |
1581 EXPORT_C void CAknNavigationControlContainer::Draw( |
1582 const TRect& /*aRect*/ ) const |
1582 const TRect& aRect ) const |
1583 { |
1583 { |
1584 if ( iExtension->iStatusPane && |
1584 if ( iExtension->iStatusPane && |
1585 iExtension->iStatusPane->IsTransparent() ) |
1585 iExtension->iStatusPane->IsTransparent() ) |
1586 { |
1586 { |
|
1587 CWindowGc& gc = SystemGc(); |
|
1588 TRgb rgb(TRgb::Color16MA(0)); |
|
1589 gc.SetDrawMode(CGraphicsContext::EDrawModeWriteAlpha); |
|
1590 gc.SetBrushStyle(CGraphicsContext::ESolidBrush); |
|
1591 gc.SetBrushColor(rgb); |
|
1592 gc.Clear(aRect); |
1587 return; |
1593 return; |
1588 } |
1594 } |
1589 |
1595 |
1590 // Don't allow normal background drawing if |
1596 // Don't allow normal background drawing if |
1591 // background is already drawn with a background drawer. |
1597 // background is already drawn with a background drawer. |
1864 // CAknNavigationControlContainer::NotifyNaviWipeStatusL |
1870 // CAknNavigationControlContainer::NotifyNaviWipeStatusL |
1865 // --------------------------------------------------------------------------- |
1871 // --------------------------------------------------------------------------- |
1866 // |
1872 // |
1867 void CAknNavigationControlContainer::NotifyNaviWipeStatusL() |
1873 void CAknNavigationControlContainer::NotifyNaviWipeStatusL() |
1868 { |
1874 { |
1869 if ( iExtension && iExtension->iDestructionOngoing ) |
1875 if ( !iExtension || iExtension->iDestructionOngoing ) |
1870 { |
1876 { |
1871 return; |
1877 return; |
1872 } |
1878 } |
1873 |
1879 |
1874 // If flat statuspane is active, then we don't have navi wipe on/off, |
1880 // If flat statuspane is active, then we don't have navi wipe on/off, |