equal
deleted
inserted
replaced
14 * Description: Progress bar control |
14 * Description: Progress bar control |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // Version : %version: 23 % |
19 // Version : %version: e003sa33#24 % |
20 |
20 |
21 |
21 |
22 // INCLUDE FILES |
22 // INCLUDE FILES |
23 #include <eikenv.h> |
23 #include <eikenv.h> |
24 #include <gulicon.h> |
24 #include <gulicon.h> |
240 } |
240 } |
241 |
241 |
242 iPositionLabel = new (ELeave) CEikLabel; |
242 iPositionLabel = new (ELeave) CEikLabel; |
243 AknLayoutUtils::LayoutLabel( iPositionLabel, |
243 AknLayoutUtils::LayoutLabel( iPositionLabel, |
244 progressRect, |
244 progressRect, |
245 mp4_progress_pane_t1().LayoutLine() ) ; |
245 mp4_progress_pane_t1( 1 ).LayoutLine() ) ; |
246 |
246 |
247 iPositionLabel->SetContainerWindowL( *this ); |
247 iPositionLabel->SetContainerWindowL( *this ); |
248 iPositionLabel->SetTextL( KNullDesC ); |
248 iPositionLabel->SetTextL( KNullDesC ); |
249 iPositionLabel->MakeVisible( ETrue ); |
249 iPositionLabel->MakeVisible( ETrue ); |
250 |
250 |
256 |
256 |
257 iDurationLabel = new (ELeave) CEikLabel; |
257 iDurationLabel = new (ELeave) CEikLabel; |
258 |
258 |
259 AknLayoutUtils::LayoutLabel( iDurationLabel, |
259 AknLayoutUtils::LayoutLabel( iDurationLabel, |
260 progressRect, |
260 progressRect, |
261 mp4_progress_pane_t2().LayoutLine() ); |
261 mp4_progress_pane_t2( 1 ).LayoutLine() ); |
262 |
262 |
263 iDurationLabel->SetContainerWindowL( *this ); |
263 iDurationLabel->SetContainerWindowL( *this ); |
264 iDurationLabel->SetTextL( KNullDesC ); |
264 iDurationLabel->SetTextL( KNullDesC ); |
265 iDurationLabel->MakeVisible( ETrue ); |
265 iDurationLabel->MakeVisible( ETrue ); |
266 } |
266 } |