camerauis/cameraapp/generic/src/CamNaviProgressBarModel.cpp
branchRCL_3
changeset 16 d486e5e3cc9a
parent 0 1ddebce53859
child 35 e32fcfe0045f
equal deleted inserted replaced
12:8c55c525d5d7 16:d486e5e3cc9a
   342 
   342 
   343     iDecorator->Draw( aGc, iExtent );
   343     iDecorator->Draw( aGc, iExtent );
   344 
   344 
   345     CFbsBitmap* icon = NULL;
   345     CFbsBitmap* icon = NULL;
   346     CFbsBitmap* mask = NULL;
   346     CFbsBitmap* mask = NULL;
   347     if ( iStorageLocation == ECamMediaStoragePhone )
   347     switch( iStorageLocation )
   348         {
   348       {
   349         icon = iPhoneIcon;
   349       case ECamMediaStoragePhone:
   350         mask = iPhoneIconMask;
   350           {
   351         }
   351           icon = iPhoneIcon;
   352     else if ( iStorageLocation == ECamMediaStorageMassStorage )
   352           mask = iPhoneIconMask;
   353         {
   353           }
   354         icon = iMassStorageIcon;
   354           break;
   355         mask = iMassStorageIconMask;
   355       case ECamMediaStorageMassStorage:
   356         }
   356           {
   357     else
   357           icon = iMassStorageIcon;
   358         {
   358           mask = iMassStorageIconMask;
   359         icon = iMMCIcon;
   359           }
   360         mask = iMMCIconMask;
   360           break;            
   361         }
   361       case ECamMediaStorageCard:
       
   362           {
       
   363           icon = iMMCIcon;
       
   364           mask = iMMCIconMask;
       
   365           }
       
   366           break;            
       
   367       case ECamMediaStorageNone:
       
   368       default:
       
   369           {
       
   370           //TODO: Get icons when none is available
       
   371           }
       
   372           break;
       
   373       }
   362 
   374 
   363     DrawElapsedTimeText( aGc );
   375     DrawElapsedTimeText( aGc );
   364     DrawRemainingTimeText( aGc, skin );
   376     DrawRemainingTimeText( aGc, skin );
   365     if ( CamUtility::IsNhdDevice() )
   377     if ( CamUtility::IsNhdDevice() )
   366         {
   378         {