minivmac4ios/Mini vMac/BTCMouse.h
2017-09-23 15:54:59 +02:00

21 lines
516 B
Objective-C

//
// BTCMouse.h
// Mini vMac
//
// Created by Jesús A. Álvarez on 04/12/2016.
// Copyright © 2016-2017 namedfork. All rights reserved.
//
@protocol BTCMouseDelegate
- (void)handleEventWithMove:(CGPoint)move andWheel:(float)wheel andPan:(float)pan andButtons:(int)buttons;
@end
@interface UIApplication (BTCMouse)
- (void)btcMouseSetPanning:(BOOL)panning;
- (void)btcMouseSetZooming:(BOOL)zooming;
- (void)btcMouseSetDelegate:(id<BTCMouseDelegate>)delegate;
- (void)btcMouseSetRawMode:(BOOL)rawMode;
@end