coreapplicationuis/SysAp/Src/SysApShutdownImage.cpp
changeset 51 50b444048a8d
parent 46 eea20ed08f4b
child 72 56a7be608841
equal deleted inserted replaced
46:eea20ed08f4b 51:50b444048a8d
    72 // ----------------------------------------------------------------------------
    72 // ----------------------------------------------------------------------------
    73 
    73 
    74 void CSysApShutdownImage::ShowShutdownImageL(TInt aBitmapId)
    74 void CSysApShutdownImage::ShowShutdownImageL(TInt aBitmapId)
    75     {
    75     {
    76     TRACES( RDebug::Print(_L("CSysApShutdownImage::ShowShutdownImageL:start" ) ) );
    76     TRACES( RDebug::Print(_L("CSysApShutdownImage::ShowShutdownImageL:start" ) ) );
       
    77     
    77     TInt err ( 0 );
    78     TInt err ( 0 );
    78     TRect rect(iCoeEnv->ScreenDevice()->SizeInPixels());
    79     TRect rect(iCoeEnv->ScreenDevice()->SizeInPixels());
    79     SetRect(rect);
    80     SetRect(rect);
    80     TRACES( RDebug::Print(_L("CSysApShutdownImage::After:SetRect --Minus one" ) ) );
    81     TRACES( RDebug::Print(_L("CSysApShutdownImage::After:SetRect --Minus one" ) ) );
    81     ActivateL();
    82     ActivateL();
   350 TKeyResponse CSysApShutdownImage::OfferKeyEventL(const TKeyEvent& /*aKeyEvent*/, TEventCode /*aType*/)
   351 TKeyResponse CSysApShutdownImage::OfferKeyEventL(const TKeyEvent& /*aKeyEvent*/, TEventCode /*aType*/)
   351     {
   352     {
   352     return EKeyWasNotConsumed;
   353     return EKeyWasNotConsumed;
   353     }
   354     }
   354 
   355 
       
   356 void CSysApShutdownImage::SetRectForAnimation()
       
   357     {
       
   358     TRect rect(iCoeEnv->ScreenDevice()->SizeInPixels());
       
   359     SetRect(rect);
       
   360     }
       
   361 
   355 // End of File
   362 // End of File