756 |
756 |
757 if ( aType == KAknsMessageSkinChange ) |
757 if ( aType == KAknsMessageSkinChange ) |
758 { |
758 { |
759 // Implementation when graphics are ready. |
759 // Implementation when graphics are ready. |
760 } |
760 } |
761 else if ( aType == KEikMessageFadeAllWindows |
761 else if ( aType == KEikDynamicLayoutVariantSwitch ) |
762 || aType == KEikDynamicLayoutVariantSwitch ) |
762 { |
|
763 |
|
764 // Background under highlight may have changed -> we need to update |
|
765 // highlight background to animation |
|
766 if ( iExtension ) |
|
767 { |
|
768 iExtension->HandleLayoutSwitch(); |
|
769 } |
|
770 |
|
771 iPopUpMenu.UpdatePosition(); |
|
772 } |
|
773 else if ( aType == KEikMessageFadeAllWindows ) |
763 { |
774 { |
764 if ( Observer() ) |
775 if ( Observer() ) |
765 { |
776 { |
766 // this will close the stylus popup menu |
777 // this will close the stylus popup menu |
767 TRAP_IGNORE( Observer()->HandleControlEventL( this, |
778 TRAP_IGNORE( Observer()->HandleControlEventL( this, |
768 MCoeControlObserver::EEventRequestExit ) ); |
779 MCoeControlObserver::EEventRequestExit ) ); |
769 } |
780 } |
770 } |
781 } |
771 } |
782 } |
772 |
783 |
773 // ----------------------------------------------------------------------------- |
784 // ----------------------------------------------------------------------------- |
774 // CAknStylusPopUpMenuContent::HandlePointerEventL |
785 // CAknStylusPopUpMenuContent::HandlePointerEventL |
775 // ----------------------------------------------------------------------------- |
786 // ----------------------------------------------------------------------------- |