IPointerTracker IPointerHandler.TrackPointer(PointerPosition position)
        {
            Tracker tracker = null;

            CompositorVoice cv = _compositor.GetVoice();
            if(null != cv)
            {
                tracker = new Tracker(cv);
                cv.Start(position.X, position.Y);
            }
            return tracker;
        }
Exemple #2
0
        IPointerTracker IPointerHandler.TrackPointer(PointerPosition position)
        {
            IPointerTracker newTracker = null;

            if(null == _tracker)
            {
                Tracker tracker = new Tracker(this, _synthesizer);

                _tracker = tracker;
                newTracker = tracker;
                tracker.Start(position);
            }

            return newTracker;
        }
Exemple #3
0
 public void Start(PointerPosition position)
 {
     _synthesizer.BeginTone(position);
 }
Exemple #4
0
 void IPointerTracker.Move(PointerPosition position)
 {
     _synthesizer.ChangeTone(position);
 }
 void IPointerTracker.Move(PointerPosition position)
 {
     m_voice.Move(position.X, position.Y);
 }