equal
deleted
inserted
replaced
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
114 |
114 |
115 // from CWsWindowBase |
115 // from CWsWindowBase |
116 TBool IsDSAHost() const; |
116 TBool IsDSAHost() const; |
117 TBool IsActivated() const; |
117 TBool IsActivated() const; |
118 |
118 |
|
119 void SetPointerAcceptanceRegion(RWsRegion* aRegion); |
|
120 TBool PointerHit(const TPoint& aPoint) const; |
119 private: |
121 private: |
120 void GetBaseAreaOfNode(RWsRegion& aRegion) const; |
122 void GetBaseAreaOfNode(RWsRegion& aRegion) const; |
121 void GetOpaqueBaseAreaOfNode(RWsRegion& aRegion) const; |
123 void GetOpaqueBaseAreaOfNode(RWsRegion& aRegion) const; |
122 TInt GetNonOpaqueBaseAreaOfNode(RWsRegion& aRegion) const; |
124 TInt GetNonOpaqueBaseAreaOfNode(RWsRegion& aRegion) const; |
123 void ClipRegionToBaseArea(RWsRegion& aRegion) const; |
125 void ClipRegionToBaseArea(RWsRegion& aRegion) const; |
124 void ClipRegionToOpaqueBaseArea(RWsRegion& aRegion) const; |
126 void ClipRegionToOpaqueBaseArea(RWsRegion& aRegion) const; |
125 |
127 void DeletePointerRegion(); |
126 |
128 |
127 private: |
129 private: |
128 TInt iCornerData; |
130 TInt iCornerData; |
129 TUint iBackupsRequested; |
131 TUint iBackupsRequested; |
130 TRegion *iBaseArea; // The base area of the window without any clipping from windows taken into account |
132 TRegion *iBaseArea; // The base area of the window without any clipping from windows taken into account |
140 RWsRegion* iUserDefinedTransparentRegion; |
142 RWsRegion* iUserDefinedTransparentRegion; |
141 RWsRegion* iUserDefinedOpaqueRegion; |
143 RWsRegion* iUserDefinedOpaqueRegion; |
142 |
144 |
143 TRect iOriginalSrcElementRect; |
145 TRect iOriginalSrcElementRect; |
144 TRect iOriginalDestElementRect; |
146 TRect iOriginalDestElementRect; |
|
147 RWsRegion* iPointerRegion; |
145 }; |
148 }; |
146 |
149 |
147 class CWsTopClientWindow : public CWsClientWindow |
150 class CWsTopClientWindow : public CWsClientWindow |
148 { |
151 { |
149 public: |
152 public: |