photosgallery/viewframework/uiutilities/src/glxuiutility.cpp
branchRCL_3
changeset 24 ea65f74e6de4
parent 23 b023a8d2866a
equal deleted inserted replaced
23:b023a8d2866a 24:ea65f74e6de4
   146                 TCallBack(&PeriodicCallback, static_cast<TAny*> (this)));
   146                 TCallBack(&PeriodicCallback, static_cast<TAny*> (this)));
   147         }
   147         }
   148 		
   148 		
   149     GridIconSizeL();
   149     GridIconSizeL();
   150     iScreenFurniture = CGlxScreenFurniture::NewL(*this);
   150     iScreenFurniture = CGlxScreenFurniture::NewL(*this);
       
   151     iIsForeground = EFalse;
   151     }
   152     }
   152 
   153 
   153 // -----------------------------------------------------------------------------
   154 // -----------------------------------------------------------------------------
   154 // Callback from periodic timer
   155 // Callback from periodic timer
   155 // -----------------------------------------------------------------------------
   156 // -----------------------------------------------------------------------------
   590     {
   591     {
   591     iRotatedImageSize = aRotatedImageSize;
   592     iRotatedImageSize = aRotatedImageSize;
   592     }
   593     }
   593 
   594 
   594 // -----------------------------------------------------------------------------
   595 // -----------------------------------------------------------------------------
       
   596 // SetForegroundStatus
       
   597 // -----------------------------------------------------------------------------
       
   598 //
       
   599 EXPORT_C void CGlxUiUtility::SetForegroundStatus(TBool aForeground)
       
   600     {
       
   601     TRACER("CGlxUiUtility::SetForegroundStatus()");
       
   602     iIsForeground = aForeground;
       
   603     }
       
   604 
       
   605 // -----------------------------------------------------------------------------
       
   606 // GetForegroundStatus
       
   607 // -----------------------------------------------------------------------------
       
   608 //
       
   609 EXPORT_C TBool CGlxUiUtility::GetForegroundStatus()
       
   610     {
       
   611     TRACER("CGlxUiUtility::GetForegroundStatus()");
       
   612     GLX_DEBUG2("CGlxUiUtility::GetForegroundStatus() iIsForeground=%d", iIsForeground);
       
   613     return iIsForeground;
       
   614     }
       
   615 
       
   616 // -----------------------------------------------------------------------------
   595 // SetRotatedImageSize
   617 // SetRotatedImageSize
   596 // -----------------------------------------------------------------------------
   618 // -----------------------------------------------------------------------------
   597 //
   619 //
   598 EXPORT_C TSize CGlxUiUtility::GetRotatedImageSize()
   620 EXPORT_C TSize CGlxUiUtility::GetRotatedImageSize()
   599     {
   621     {