equal
deleted
inserted
replaced
44 // |
44 // |
45 // ----------------------------------------------------------------------------- |
45 // ----------------------------------------------------------------------------- |
46 // |
46 // |
47 void CMusUiSendViewContainer::ConstructL( CMusUiGeneralView* aView, |
47 void CMusUiSendViewContainer::ConstructL( CMusUiGeneralView* aView, |
48 const TRect& aRect, |
48 const TRect& aRect, |
49 TAknOrientation aIndicatorLayout ) |
49 TAknOrientation aIndicatorLayout, |
50 { |
50 TBool aContainerVisible, |
51 MUS_LOG( "mus: [MUSUI ] -> CMusUiSendViewContainer::ConstructL" ); |
51 TBool aIndicatorVisible ) |
|
52 { |
|
53 MUS_LOG2( "mus: [MUSUI ] -> CMusUiSendViewContainer::ConstructL, visibilty:%d,%d", |
|
54 aContainerVisible, aIndicatorVisible ); |
52 |
55 |
53 CreateWindowL(); |
56 CreateWindowL(); |
54 iView = aView; |
57 iView = aView; |
55 iBackGround = CAknsBasicBackgroundControlContext::NewL( |
58 iBackGround = CAknsBasicBackgroundControlContext::NewL( |
56 KAknsIIDQsnBgAreaMain, |
59 KAknsIIDQsnBgAreaMain, |
68 iVideoRect = aRect; |
71 iVideoRect = aRect; |
69 |
72 |
70 SetRect( aRect ); |
73 SetRect( aRect ); |
71 |
74 |
72 iIndicator->SetRect( Rect() ); |
75 iIndicator->SetRect( Rect() ); |
73 |
76 |
74 MakeVisible( EFalse ); |
77 if ( aContainerVisible && !aIndicatorVisible ) |
|
78 { |
|
79 iIndicator->MakeVisible( aIndicatorVisible ); |
|
80 } |
|
81 |
|
82 MakeVisible( aContainerVisible ); |
75 ActivateL(); |
83 ActivateL(); |
76 |
84 |
77 MUS_LOG( "mus: [MUSUI ] <- CMusUiSendViewContainer::ConstructL" ); |
85 MUS_LOG( "mus: [MUSUI ] <- CMusUiSendViewContainer::ConstructL" ); |
78 } |
86 } |
79 |
87 |