windowing/windowserver/nga/SERVER/openwfc/cliwin.h
changeset 194 18f84489a694
parent 0 5d03bc08d59c
--- a/windowing/windowserver/nga/SERVER/openwfc/cliwin.h	Fri Sep 17 08:36:49 2010 +0300
+++ b/windowing/windowserver/nga/SERVER/openwfc/cliwin.h	Mon Oct 04 02:31:51 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -116,13 +116,15 @@
 	TBool IsDSAHost() const;
 	TBool IsActivated() const;
 
+	void SetPointerAcceptanceRegion(RWsRegion* aRegion);
+	TBool PointerHit(const TPoint& aPoint) const;
 private:
     void GetBaseAreaOfNode(RWsRegion& aRegion) const;
     void GetOpaqueBaseAreaOfNode(RWsRegion& aRegion) const;
     TInt GetNonOpaqueBaseAreaOfNode(RWsRegion& aRegion) const;
     void ClipRegionToBaseArea(RWsRegion& aRegion) const;
     void ClipRegionToOpaqueBaseArea(RWsRegion& aRegion) const;
-
+    void DeletePointerRegion();
 
 private:
 	TInt iCornerData;
@@ -142,6 +144,7 @@
 	
 	TRect iOriginalSrcElementRect;
 	TRect iOriginalDestElementRect;
+	RWsRegion* iPointerRegion;
 	};
 
 class CWsTopClientWindow : public CWsClientWindow