@@ -51,17 +51,17 @@ internal Touch()
5151 Was = new WasSub ( ) ;
5252 }
5353
54- public int DisplayHeight => Microsoft . Xna . Framework . Input . Touch . TouchPanel . DisplayHeight ;
55- public int DisplayWidth => Microsoft . Xna . Framework . Input . Touch . TouchPanel . DisplayWidth ;
56- public DisplayOrientation DisplayOrientation => Microsoft . Xna . Framework . Input . Touch . TouchPanel . DisplayOrientation ;
57- public bool IsGestureAvailable => Microsoft . Xna . Framework . Input . Touch . TouchPanel . IsGestureAvailable ;
58- public bool EnableMouseGestures => Microsoft . Xna . Framework . Input . Touch . TouchPanel . EnableMouseGestures ;
59- public bool EnableMouseTouchPoint => Microsoft . Xna . Framework . Input . Touch . TouchPanel . EnableMouseTouchPoint ;
60- public GestureType EnabledGestures => Microsoft . Xna . Framework . Input . Touch . TouchPanel . EnabledGestures ;
61- public IntPtr WindowHandle => Microsoft . Xna . Framework . Input . Touch . TouchPanel . WindowHandle ;
62- public TouchPanelCapabilities GetCapabilities => Microsoft . Xna . Framework . Input . Touch . TouchPanel . GetCapabilities ( ) ;
54+ public int DisplayHeight => TouchPanel . DisplayHeight ;
55+ public int DisplayWidth => TouchPanel . DisplayWidth ;
56+ public DisplayOrientation DisplayOrientation => TouchPanel . DisplayOrientation ;
57+ public bool IsGestureAvailable => TouchPanel . IsGestureAvailable ;
58+ public bool EnableMouseGestures => TouchPanel . EnableMouseGestures ;
59+ public bool EnableMouseTouchPoint => TouchPanel . EnableMouseTouchPoint ;
60+ public GestureType EnabledGestures => TouchPanel . EnabledGestures ;
61+ public IntPtr WindowHandle => TouchPanel . WindowHandle ;
62+ public TouchPanelCapabilities GetCapabilities => TouchPanel . GetCapabilities ( ) ;
6363
64- public GestureSample ReadGesture ( ) => Microsoft . Xna . Framework . Input . Touch . TouchPanel . ReadGesture ( ) ;
64+ public GestureSample ReadGesture ( ) => TouchPanel . ReadGesture ( ) ;
6565
6666 private bool emulateWithMouse ;
6767
@@ -72,11 +72,11 @@ public bool EmulateWithMouse
7272 {
7373 if ( ! emulateWithMouse )
7474 {
75- Microsoft . Xna . Framework . Input . Touch . TouchPanel . EnabledGestures = GestureType . Hold | GestureType . Tap | GestureType . DoubleTap |
75+ TouchPanel . EnabledGestures = GestureType . Hold | GestureType . Tap | GestureType . DoubleTap |
7676 GestureType . DragComplete | GestureType . Flick | GestureType . FreeDrag |
7777 GestureType . HorizontalDrag | GestureType . VerticalDrag ;
78- Microsoft . Xna . Framework . Input . Touch . TouchPanel . EnableMouseGestures = true ;
79- Microsoft . Xna . Framework . Input . Touch . TouchPanel . EnableMouseTouchPoint = true ;
78+ TouchPanel . EnableMouseGestures = true ;
79+ TouchPanel . EnableMouseTouchPoint = true ;
8080 }
8181 emulateWithMouse = value ;
8282 }
@@ -85,7 +85,7 @@ public bool EmulateWithMouse
8585 internal void Update ( )
8686 {
8787 Was . Collection = Is . Collection ;
88- Is . Collection = Microsoft . Xna . Framework . Input . Touch . TouchPanel . GetState ( ) ;
88+ Is . Collection = TouchPanel . GetState ( ) ;
8989 }
9090
9191 [ PublicAPI ]
0 commit comments