equal
deleted
inserted
replaced
66 // CVtUiRemoteVideoControl::~CVtUiRemoteVideoControl |
66 // CVtUiRemoteVideoControl::~CVtUiRemoteVideoControl |
67 // --------------------------------------------------------------------------- |
67 // --------------------------------------------------------------------------- |
68 // |
68 // |
69 CVtUiRemoteVideoControl::~CVtUiRemoteVideoControl() |
69 CVtUiRemoteVideoControl::~CVtUiRemoteVideoControl() |
70 { |
70 { |
|
71 if ( iAppUi.EventMonitor() ) |
|
72 { |
|
73 iAppUi.EventMonitor()->RemoveObserver( this ); |
|
74 } |
71 __VTPRINTENTER( "RemoteVideoControl.~" ) |
75 __VTPRINTENTER( "RemoteVideoControl.~" ) |
72 __VTPRINTEXIT( "RemoteVideoControl.~" ) |
76 __VTPRINTEXIT( "RemoteVideoControl.~" ) |
73 } |
77 } |
74 |
78 |
75 // --------------------------------------------------------------------------- |
79 // --------------------------------------------------------------------------- |
91 { |
95 { |
92 __VTPRINTENTER( "RemoteVideoControl.ConstructL" ) |
96 __VTPRINTENTER( "RemoteVideoControl.ConstructL" ) |
93 CreateWindowL(); |
97 CreateWindowL(); |
94 SetExtent( TPoint(), TSize() ); |
98 SetExtent( TPoint(), TSize() ); |
95 ActivateL(); |
99 ActivateL(); |
96 //Window().SetNonFading( ETrue ); |
100 |
|
101 // Disable fading when using DP (eliminates nasty color error) |
|
102 if ( FeatureManager::FeatureSupported( KFeatureIdDisplayPost ) ) |
|
103 { |
|
104 Window().SetNonFading( ETrue ); |
|
105 } |
|
106 |
|
107 if ( iAppUi.EventMonitor() ) |
|
108 { |
|
109 iAppUi.EventMonitor()->AddObserverL( this ); |
|
110 } |
|
111 |
97 __VTPRINTEXIT( "RemoteVideoControl.ConstructL" ) |
112 __VTPRINTEXIT( "RemoteVideoControl.ConstructL" ) |
98 } |
113 } |
99 |
114 |
100 RWindow& CVtUiRemoteVideoControl::GetRWindow() |
115 RWindow& CVtUiRemoteVideoControl::GetRWindow() |
101 { |
116 { |