Tinkr2/4.2/AphelionCore/AphelionCore/Controls/Control.cs
/// <summary>
/// Directly inform control of touch gesture event
/// </summary>
/// <param name="sender">Object sending the event</param>
/// <param name="type">Type of gesture being sent</param>
/// <param name="force">Force associated with gesture (0.0 to 1.0)</param>
Directly inform control of touch gesture event
Directly inform control of touch gesture event
public void SendTouchGesture(object sender, TouchType type, float force)
      {
         if (!_enabled || !_visible || _suspended)
         {
            return;
         }
         bool bHandled = false;
         TouchGestureMessage(sender, type, force, ref bHandled);
         if (bHandled)
         {
            return;
         }
         OnTouchGesture(this, type, force);
      }
public void SendTouchGesture ( object sender , TouchType type , float force ) { if ( ! _enabled || ! _visible || _suspended ) { return ; } bool bHandled = false ; TouchGestureMessage ( sender , type , force , ref bHandled ) ; if ( bHandled ) { return ; } OnTouchGesture ( this , type , force ) ; }
Directly inform control of touch gesture event
Directly inform control of touch gesture event
// Allow Override // Exit if handled
sender
object
Object sending the event
Object sending the event
type
TouchType
Type of gesture being sent
Type of gesture being sent
force
float
None