moonlight-ios/Limelight/Input/OnScreenControls.h
2015-01-08 21:04:19 -05:00

26 lines
606 B
Objective-C

//
// OnScreenControls.h
// Limelight
//
// Created by Diego Waxemberg on 12/28/14.
// Copyright (c) 2014 Limelight Stream. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface OnScreenControls : NSObject
typedef NS_ENUM(NSInteger, OnScreenControlsLevel) {
OnScreenControlsLevelOff,
OnScreenControlsLevelSimple,
OnScreenControlsLevelFull
};
- (id) initWithView:(UIView*)view;
- (BOOL) handleTouchDownEvent:(NSSet*)touches;
- (BOOL) handleTouchUpEvent:(NSSet*)touches;
- (BOOL) handleTouchMovedEvent:(NSSet*)touches;
- (void) setLevel:(OnScreenControlsLevel)level;
@end