Exemple #1
0
 public void UnsetCursor()
 {
     _cursor = null;
 }
Exemple #2
0
        //returns previously locked shape, caller should broadcast cursor free event if result != null
        public void LockShape(IServerVdShape sh, int owner)
        {
            if (sh.GetCursor() != null)
                throw new InvalidOperationException("cannot lock locked shape");

            var cursor = new ServerCursor(owner);
            sh.SetCursor(cursor);

            _userIdToCursor.Add(owner, sh);
        }
Exemple #3
0
 public void SetCursor(ServerCursor c)
 {
     _cursor = c;
 }