示例#1
0
 public virtual void Drag(int x, int y)
 {
     if (Click != null)
     {
         Click.DragClick(this, x, y);
     }
 }
示例#2
0
 public virtual void DragClick()
 {
     if (Click != null)
     {
         Click.DragClick(this, input.GetTouchX(), input.GetTouchY());
     }
 }
示例#3
0
 protected internal override void ProcessTouchDragged()
 {
     if (!locked)
     {
         if (GetContainer() != null)
         {
             GetContainer().SendToFront(this);
         }
         this.Move(this.input.GetTouchDX(), this.input.GetTouchDY());
         if (Click != null)
         {
             Click.DragClick(this, input.GetTouchX(), input.GetTouchY());
         }
         this.UpdateIcon();
     }
 }