コード例 #1
0
ファイル: TPRootPanel.cs プロジェクト: YourGamesBeOver/RZSB
 internal TPEvent(TPEventType type, ushort x, ushort y, uint tps = 0)
 {
     eventType   = type;
     xPos        = x;
     yPos        = y;
     touchpoints = tps;
 }
コード例 #2
0
ファイル: TPRootPanel.cs プロジェクト: YourGamesBeOver/RZSB
 private void addEvent(TPEventType type, ushort x, ushort y, uint tps = 0)
 {
     queueMux.WaitOne();
     eventQueue.Enqueue(new TPEvent(type, x, y, tps));
     queueMux.ReleaseMutex();
     queueReadyEvent.Set();
 }