source: orbit/iOS/Orbit/Orbit/CorePlotHeaders/CPTResponder.h @ e5b8e57

ServoTab_Interfacepyramid
Last change on this file since e5b8e57 was a9059a5, checked in by Steve Castellotti <sc@…>, 10 years ago

Arduino:

  • updated to permit custom setting of Throttle, Yaw, and Pitch

Android:

  • Minor tweak to Configuration location

iOS:

  • Property mode set to 100644
File size: 1.8 KB
Line 
1#import <Foundation/Foundation.h>
2#import <QuartzCore/QuartzCore.h>
3
4#import "CPTPlatformSpecificDefines.h"
5
6/**
7 *  @brief The basis of all event processing in Core Plot.
8 **/
9@protocol CPTResponder<NSObject>
10
11/// @name User Interaction
12/// @{
13
14/**
15 *  @brief @required Informs the receiver that the user has
16 *  @if MacOnly pressed the mouse button. @endif
17 *  @if iOSOnly touched the screen. @endif
18 *  @param event The OS event.
19 *  @param interactionPoint The coordinates of the interaction.
20 *  @return Whether the event was handled or not.
21 **/
22-(BOOL)pointingDeviceDownEvent:(CPTNativeEvent *)event atPoint:(CGPoint)interactionPoint;
23
24/**
25 *  @brief @required Informs the receiver that the user has
26 *  @if MacOnly released the mouse button. @endif
27 *  @if iOSOnly lifted their finger off the screen. @endif
28 *  @param event The OS event.
29 *  @param interactionPoint The coordinates of the interaction.
30 *  @return Whether the event was handled or not.
31 **/
32-(BOOL)pointingDeviceUpEvent:(CPTNativeEvent *)event atPoint:(CGPoint)interactionPoint;
33
34/**
35 *  @brief @required Informs the receiver that the user has moved
36 *  @if MacOnly the mouse with the button pressed. @endif
37 *  @if iOSOnly their finger while touching the screen. @endif
38 *  @param event The OS event.
39 *  @param interactionPoint The coordinates of the interaction.
40 *  @return Whether the event was handled or not.
41 **/
42-(BOOL)pointingDeviceDraggedEvent:(CPTNativeEvent *)event atPoint:(CGPoint)interactionPoint;
43
44/**
45 *  @brief @required Informs the receiver that tracking of
46 *  @if MacOnly mouse moves @endif
47 *  @if iOSOnly touches @endif
48 *  has been cancelled for any reason.
49 *  @param event The OS event.
50 *  @return Whether the event was handled or not.
51 **/
52-(BOOL)pointingDeviceCancelledEvent:(CPTNativeEvent *)event;
53/// @}
54
55@end
Note: See TracBrowser for help on using the repository browser.