mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2024-11-22 03:30:59 +00:00
21 lines
516 B
Objective-C
21 lines
516 B
Objective-C
//
|
|
// BTCMouse.h
|
|
// Mini vMac
|
|
//
|
|
// Created by Jesús A. Álvarez on 04/12/2016.
|
|
// Copyright © 2016-2018 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
|
|
|