Devin Stone 12 лет назад
Родитель
Сommit
98d5e0b71a
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      Core/Contents/Include/PolyWinCore.h

+ 4 - 1
Core/Contents/Include/PolyWinCore.h

@@ -118,7 +118,7 @@ namespace Polycode {
 		std::vector<TouchInfo> touches;
 		PolyKEY keyCode;
 		wchar_t unicodeChar;		
-		char mouseButton;	
+		char mouseButton;	
 		static const int EVENTBASE_PLATFORMEVENT = 0x300;
 		static const int INPUT_EVENT = EVENTBASE_PLATFORMEVENT+0;
 	};
@@ -272,6 +272,9 @@ public:
 		unsigned int PixelFormat;
 		PIXELFORMATDESCRIPTOR pfd;
 		
+		// frequency of the windows performance counter
+		double pcFreq;
+
 		// Tracks whether the system supports multitouch at runtime
 		bool hasMultiTouch;