Mercurial > mm7
comparison Keyboard.h @ 1174:05247ad19710
Слияние
author | Ritor1 |
---|---|
date | Fri, 31 May 2013 09:54:44 +0600 |
parents | db395ce89ede |
children | 934074e7fcc1 |
comparison
equal
deleted
inserted
replaced
1173:0158f383b492 | 1174:05247ad19710 |
---|---|
75 struct GUIWindow *pWindow; | 75 struct GUIWindow *pWindow; |
76 }; | 76 }; |
77 #pragma pack(pop) | 77 #pragma pack(pop) |
78 | 78 |
79 #pragma pack(push, 1) | 79 #pragma pack(push, 1) |
80 struct Keyboard | 80 class Keyboard |
81 { | 81 { |
82 public: | |
82 Keyboard(); | 83 Keyboard(); |
83 bool WasKeyPressed(int vKey); | 84 bool WasKeyPressed(int vKey); |
84 bool IsKeyBeingHeld(int vKey); | 85 bool IsKeyBeingHeld(int vKey); |
85 bool IsShiftHeld(); | 86 bool IsShiftHeld(); |
86 void EnterCriticalSection(); | 87 void EnterCriticalSection(); |