windowing/windowserver/nga/SERVER/pointer.h
changeset 36 01a6848ebfd7
parent 0 5d03bc08d59c
child 136 62bb7c97884c
equal deleted inserted replaced
0:5d03bc08d59c 36:01a6848ebfd7
     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".
    64 #if defined(__WINS__)
    64 #if defined(__WINS__)
    65 	static TBool PreProcessDriverEvent(TRawEvent &aRawEvent,TBool aFromHardware=EFalse);
    65 	static TBool PreProcessDriverEvent(TRawEvent &aRawEvent,TBool aFromHardware=EFalse);
    66 #else
    66 #else
    67 	static TBool PreProcessDriverEvent(TRawEvent &aRawEvent);
    67 	static TBool PreProcessDriverEvent(TRawEvent &aRawEvent);
    68 #endif
    68 #endif
       
    69 	static void TranslateCoordsOnRotation(TPoint& aPoint);
    69 	static TBool PreProcessClientEvent(TRawEvent &aRawEvent, TBool aAdvancedPointersEnabled);
    70 	static TBool PreProcessClientEvent(TRawEvent &aRawEvent, TBool aAdvancedPointersEnabled);
    70 	static TBool IsPointerEventType(TRawEvent::TType aType);
    71 	static TBool IsPointerEventType(TRawEvent::TType aType);
    71 	static void ProcessWsEvent(TWsEvent& aEvent,const CWsWindowGroup* aForceInGroup,TBool aNatural);	
    72 	static void ProcessWsEvent(TWsEvent& aEvent,const CWsWindowGroup* aForceInGroup,TBool aNatural);	
    72 	static void GetDoubleClickSettings(TTimeIntervalMicroSeconds32 &aTime, TInt &aDistance);
    73 	static void GetDoubleClickSettings(TTimeIntervalMicroSeconds32 &aTime, TInt &aDistance);
    73 	static void SetDoubleClick(const TTimeIntervalMicroSeconds32 &aTime, TInt aDistance);
    74 	static void SetDoubleClick(const TTimeIntervalMicroSeconds32 &aTime, TInt aDistance);
   227 	/** Threshold upon which firing of EExitHighPressure event is based */
   228 	/** Threshold upon which firing of EExitHighPressure event is based */
   228 	static TInt iExitHighPressureThreshold;
   229 	static TInt iExitHighPressureThreshold;
   229 	
   230 	
   230 	/** Used to offset the y pointer */
   231 	/** Used to offset the y pointer */
   231 	static TInt iYOffset;
   232 	static TInt iYOffset;
       
   233 	
       
   234 #if defined(__WINS__)
       
   235 	/** Tell whether to rotate pointer coords in _WINS_ builds */
       
   236 	static TBool iEmulatorRotatePointerCoords;
       
   237 #endif
   232 	};
   238 	};
   233 
   239 
   234 class CWsPointerBuffer : public CBase
   240 class CWsPointerBuffer : public CBase
   235 	{
   241 	{
   236 public:
   242 public: