Added settings for displaying varying levels of the onscreen controls

This commit is contained in:
Diego Waxemberg
2014-12-29 13:03:07 -05:00
parent 7b0a383ad0
commit 809a660506
16 changed files with 220 additions and 81 deletions

View File

@@ -10,9 +10,16 @@
@interface OnScreenControls : NSObject
typedef NS_ENUM(NSInteger, OnScreenControlsLevel) {
OnScreenControlsLevelOff,
OnScreenControlsLevelSimple,
OnScreenControlsLevelFull
};
- (id) initWithView:(UIView*)view;
- (void) handleTouchDownEvent:(UIEvent*)event;
- (void) handleTouchUpEvent:(UIEvent*) event;
- (void) handleTouchMovedEvent:(UIEvent*)event;
- (void) setLevel:(OnScreenControlsLevel)level;
@end