equal
deleted
inserted
replaced
46 { |
46 { |
47 MUS_LOG( "mus: [MUSUI ] -> CMusUiClipSharingViewContainer::ConstructL" ); |
47 MUS_LOG( "mus: [MUSUI ] -> CMusUiClipSharingViewContainer::ConstructL" ); |
48 |
48 |
49 CMusUiSendViewContainer::ConstructL( aView, |
49 CMusUiSendViewContainer::ConstructL( aView, |
50 aRect, |
50 aRect, |
51 EAknOrientationHorizontal ); |
51 EAknOrientationHorizontal, |
|
52 ETrue, |
|
53 EFalse ); |
52 // check if operator specific functionality is needed |
54 // check if operator specific functionality is needed |
53 iOperatorSpecificFunctionality = |
55 iOperatorSpecificFunctionality = |
54 ( MultimediaSharingSettings::OperatorVariantSettingL() == |
56 ( MultimediaSharingSettings::OperatorVariantSettingL() == |
55 MusSettingsKeys::EOperatorSpecific ); |
57 MusSettingsKeys::EOperatorSpecific ); |
56 |
58 |
245 // ----------------------------------------------------------------------------- |
247 // ----------------------------------------------------------------------------- |
246 // |
248 // |
247 void CMusUiClipSharingViewContainer::SetDurationIndicatorVisible( TBool aVisible ) |
249 void CMusUiClipSharingViewContainer::SetDurationIndicatorVisible( TBool aVisible ) |
248 { |
250 { |
249 iIndicator->SetIndicatorType(EMusUiIndicatorTypeDuration); |
251 iIndicator->SetIndicatorType(EMusUiIndicatorTypeDuration); |
250 MakeVisible( aVisible ); |
252 iIndicator->MakeVisible( aVisible ); |
251 } |
253 } |
252 |
254 |
253 |
255 |
254 // ----------------------------------------------------------------------------- |
256 // ----------------------------------------------------------------------------- |
255 // Verifies the current user selection. |
257 // Verifies the current user selection. |
307 break; |
309 break; |
308 } |
310 } |
309 return control; |
311 return control; |
310 } |
312 } |
311 |
313 |
|
314 // ----------------------------------------------------------------------------- |
|
315 // Called by framework to redraw the screen area. |
|
316 // ----------------------------------------------------------------------------- |
|
317 // |
|
318 void CMusUiClipSharingViewContainer::Draw( const TRect& aRect ) const |
|
319 { |
|
320 CWindowGc& gc = SystemGc(); |
|
321 |
|
322 MAknsSkinInstance* skin = AknsUtils::SkinInstance(); |
|
323 MAknsControlContext* cc = AknsDrawUtils::ControlContext( this ); |
|
324 if(!AknsDrawUtils::Background( skin, cc,this,gc,aRect,KAknsDrawParamDefault )) |
|
325 { |
|
326 MUS_LOG( "mus: [MUSUI ] Skin not valid or not found" ); |
|
327 gc.SetBrushColor( iEikonEnv->ControlColor( EColorWindowBackground, *this ) ); |
|
328 gc.SetBrushStyle( CGraphicsContext::ESolidBrush ); |
|
329 gc.Clear( aRect ); |
|
330 } |
|
331 } |
312 |
332 |
313 // ----------------------------------------------------------------------------- |
333 // ----------------------------------------------------------------------------- |
314 // Called by framework to act on key events if required. |
334 // Called by framework to act on key events if required. |
315 // ----------------------------------------------------------------------------- |
335 // ----------------------------------------------------------------------------- |
316 // |
336 // |