Exemplo n.º 1
0
 public virtual void Drag(int x, int y)
 {
     if (Click != null)
     {
         Click.DragClick(this, x, y);
     }
 }
Exemplo n.º 2
0
 public virtual void DragClick()
 {
     if (Click != null)
     {
         Click.DragClick(this, input.GetTouchX(), input.GetTouchY());
     }
 }
Exemplo n.º 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();
     }
 }