| 58 | } |
| 59 | |
| 60 | void OnTouch(EventType type, float x, float y, int32 pointerId) |
| 61 | { |
| 62 | ScopeLock lock(_locker); |
| 63 | Event& e = _queue.AddOne(); |
| 64 | e.Type = type; |
| 65 | e.Target = nullptr; |
| 66 | e.TouchData.Position.X = x; |
| 67 | e.TouchData.Position.Y = y; |
| 68 | e.TouchData.PointerId = pointerId; |
| 69 | } |
| 70 | }; |
| 71 | |
| 72 | int32 Dpi = 96; |