equal
deleted
inserted
replaced
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 { |