idlehomescreen/xmluirendering/uiengine/src/xnuiengineimpl.cpp
changeset 5 c743ef5928ba
parent 4 4d54b72983ae
child 9 f966699dea19
equal deleted inserted replaced
4:4d54b72983ae 5:c743ef5928ba
    56 #include "xnbackgroundmanager.h"
    56 #include "xnbackgroundmanager.h"
    57 
    57 
    58 #ifdef _XN_PERFORMANCE_TEST_
    58 #ifdef _XN_PERFORMANCE_TEST_
    59 #include "xntimemon.h"
    59 #include "xntimemon.h"
    60 #endif
    60 #endif
       
    61 
       
    62 #ifdef _XN3_DEBUG_
       
    63 #include "xndepthfirsttreeiterator.h" // for TraceTreeL
       
    64 #endif
       
    65 
    61 
    66 
    62 // CONSTANTS
    67 // CONSTANTS
    63 const TInt KXnBorderThin = 1;
    68 const TInt KXnBorderThin = 1;
    64 const TInt KXnBorderMedium = 3;
    69 const TInt KXnBorderMedium = 3;
    65 const TInt KXnBorderThick = 5;
    70 const TInt KXnBorderThick = 5;
  8938 
  8943 
  8939         // Update background rect
  8944         // Update background rect
  8940         // Bg rect is always screen size.
  8945         // Bg rect is always screen size.
  8941         TRect bgRect;
  8946         TRect bgRect;
  8942         AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EScreen, bgRect );
  8947         AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EScreen, bgRect );
  8943         Editor()->BgManager().SetRect( bgRect );
  8948         iAppUiAdapter.ViewAdapter().BgManager().SetRect( bgRect );
  8944 
  8949 
  8945         iEditMode->HandleScreenDeviceChangedL();
  8950         iEditMode->HandleScreenDeviceChangedL();
  8946         
  8951         
  8947         // Force relayout
  8952         // Force relayout
  8948         DisableRenderUiLC();
  8953         DisableRenderUiLC();