--- a/windowing/windowserver/nga/SERVER/pointer.h Thu Apr 08 12:02:10 2010 +0100
+++ b/windowing/windowserver/nga/SERVER/pointer.h Thu Apr 08 12:06:20 2010 +0100
@@ -66,6 +66,7 @@
#else
static TBool PreProcessDriverEvent(TRawEvent &aRawEvent);
#endif
+ static void TranslateCoordsOnRotation(TPoint& aPoint);
static TBool PreProcessClientEvent(TRawEvent &aRawEvent, TBool aAdvancedPointersEnabled);
static TBool IsPointerEventType(TRawEvent::TType aType);
static void ProcessWsEvent(TWsEvent& aEvent,const CWsWindowGroup* aForceInGroup,TBool aNatural);
@@ -229,6 +230,11 @@
/** Used to offset the y pointer */
static TInt iYOffset;
+
+#if defined(__WINS__)
+ /** Tell whether to rotate pointer coords in _WINS_ builds */
+ static TBool iEmulatorRotatePointerCoords;
+#endif
};
class CWsPointerBuffer : public CBase