예제 #1
0
 public TuioManager(Size windowSize)
 {
     server = new TuioServer();
     this.windowSize = windowSize;
     this.cursors = new Dictionary<int, long>();
     this.clickMissingTimer = new Stopwatch();
     this.clickMissingTimer.Start();
     ThreadPool.QueueUserWorkItem(ThreadPoolCallback);
 }
예제 #2
0
        public App1()
        {
            graphics = new GraphicsDeviceManager(this);
            tuioserver = new TuioServer();
            tuio_ids = new HashSet<int>();

            size_x = InteractiveSurface.PrimarySurfaceDevice.Width;
            size_y = InteractiveSurface.PrimarySurfaceDevice.Height;
        }