|
@@ -440,11 +440,34 @@ namespace bbiwarg
|
|
|
|
|
|
#region touch detection
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// the threshold number of pixels affected by the flood fill (in percentage) to be considered as a touch
|
|
|
+ /// </summary>
|
|
|
public static readonly float TouchMinTouchValue = 0.3f;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// the size of the quadrant around the touch positions that is used to determine the touch value
|
|
|
+ /// </summary>
|
|
|
public static readonly int TouchAreaSize = 30;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// the maximum downwards difference for the flood fill operation
|
|
|
+ /// </summary>
|
|
|
public static readonly int TouchFloodfillDownDiff = 1;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// the maximum upwards difference for the flood fill operation
|
|
|
+ /// </summary>
|
|
|
public static readonly int TouchFloodfillUpDiff = 3;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// the position adjustment for the start point of the flood fill operation
|
|
|
+ /// </summary>
|
|
|
public static readonly int TouchTipInsideFactor = 2;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// the position adjustment for the position of the actual touch event
|
|
|
+ /// </summary>
|
|
|
public static readonly int TouchTipOutsideFactor = 7;
|
|
|
|
|
|
#endregion
|