// // TouchPanel.h // XNI // // Created by Matej Jan on 29.9.10. // Copyright 2010 Retronator. All rights reserved. // #import #import "Retronator.Xni.Framework.classes.h" #import "Retronator.Xni.Framework.Input.Touch.classes.h" @interface TouchPanel : NSObject { int displayWidth; int displayHeight; DisplayOrientation displayOrientation; GestureType enabledGestures; NSMutableSet *addTouches; NSMutableSet *removeTouches; NSMutableSet *releaseTouches; NSMutableSet *lateReleaseTouches; NSMutableDictionary *touchLocations; } + (TouchPanel*) instance; @property (nonatomic) int displayWidth; @property (nonatomic) int displayHeight; @property (nonatomic) DisplayOrientation displayOrientation; @property (nonatomic) GestureType enabledGestures; @property (nonatomic, readonly) BOOL isGestureAvailable; - (TouchCollection*) getState; - (GestureSample*) readGesture; @end