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