CCMouseEventDelegate protocol.
More...
#import <CCEventDispatcher.h>
CCMouseEventDelegate protocol.
Implement it in your node to receive any of mouse events
- (BOOL) ccMouseDown: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "mouseDown" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccMouseDown: |
|
var |
event |
|
|
optional |
called when the "mouseDown" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccMouseDown: |
|
local |
event |
|
|
optional |
called when the "mouseDown" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccMouseDragged: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "mouseDragged" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccMouseDragged: |
|
var |
event |
|
|
optional |
called when the "mouseDragged" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccMouseDragged: |
|
local |
event |
|
|
optional |
called when the "mouseDragged" event is received.
Return YES to avoid propagating the event to other delegates.
- (void) ccMouseEntered: |
|
(NSEvent *) |
theEvent |
|
|
optional |
called when the "mouseEntered" event is received.
Return YES to avoid propagating the event to other delegates.
- (void) ccMouseEntered: |
|
var |
theEvent |
|
|
optional |
called when the "mouseEntered" event is received.
Return YES to avoid propagating the event to other delegates.
- (void) ccMouseEntered: |
|
local |
theEvent |
|
|
optional |
called when the "mouseEntered" event is received.
Return YES to avoid propagating the event to other delegates.
- (void) ccMouseExited: |
|
(NSEvent *) |
theEvent |
|
|
optional |
called when the "mouseExited" event is received.
Return YES to avoid propagating the event to other delegates.
- (void) ccMouseExited: |
|
var |
theEvent |
|
|
optional |
called when the "mouseExited" event is received.
Return YES to avoid propagating the event to other delegates.
- (void) ccMouseExited: |
|
local |
theEvent |
|
|
optional |
called when the "mouseExited" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccMouseMoved: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "mouseMoved" event is received.
Return YES to avoid propagating the event to other delegates. By default, "mouseMoved" is disabled. To enable it, send the "setAcceptsMouseMovedEvents:YES" message to the main window.
- (BOOL) ccMouseMoved: |
|
var |
event |
|
|
optional |
called when the "mouseMoved" event is received.
Return YES to avoid propagating the event to other delegates. By default, "mouseMoved" is disabled. To enable it, send the "setAcceptsMouseMovedEvents:YES" message to the main window.
- (BOOL) ccMouseMoved: |
|
local |
event |
|
|
optional |
called when the "mouseMoved" event is received.
Return YES to avoid propagating the event to other delegates. By default, "mouseMoved" is disabled. To enable it, send the "setAcceptsMouseMovedEvents:YES" message to the main window.
- (BOOL) ccMouseUp: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "mouseUp" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccMouseUp: |
|
var |
event |
|
|
optional |
called when the "mouseUp" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccMouseUp: |
|
local |
event |
|
|
optional |
called when the "mouseUp" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccOtherMouseDown: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "otherMouseDown" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccOtherMouseDown: |
|
var |
event |
|
|
optional |
called when the "otherMouseDown" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccOtherMouseDown: |
|
local |
event |
|
|
optional |
called when the "otherMouseDown" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccOtherMouseDragged: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "otherMouseDragged" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccOtherMouseDragged: |
|
var |
event |
|
|
optional |
called when the "otherMouseDragged" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccOtherMouseDragged: |
|
local |
event |
|
|
optional |
called when the "otherMouseDragged" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccOtherMouseUp: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "otherMouseUp" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccOtherMouseUp: |
|
var |
event |
|
|
optional |
called when the "otherMouseUp" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccOtherMouseUp: |
|
local |
event |
|
|
optional |
called when the "otherMouseUp" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccRightMouseDown: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "rightMouseDown" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccRightMouseDown: |
|
var |
event |
|
|
optional |
called when the "rightMouseDown" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccRightMouseDown: |
|
local |
event |
|
|
optional |
called when the "rightMouseDown" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccRightMouseDragged: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "rightMouseDragged" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccRightMouseDragged: |
|
var |
event |
|
|
optional |
called when the "rightMouseDragged" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccRightMouseDragged: |
|
local |
event |
|
|
optional |
called when the "rightMouseDragged" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccRightMouseUp: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "rightMouseUp" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccRightMouseUp: |
|
var |
event |
|
|
optional |
called when the "rightMouseUp" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccRightMouseUp: |
|
local |
event |
|
|
optional |
called when the "rightMouseUp" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccScrollWheel: |
|
(NSEvent *) |
theEvent |
|
|
optional |
called when the "scrollWheel" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccScrollWheel: |
|
var |
theEvent |
|
|
optional |
called when the "scrollWheel" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccScrollWheel: |
|
local |
theEvent |
|
|
optional |
called when the "scrollWheel" event is received.
Return YES to avoid propagating the event to other delegates.
The documentation for this protocol was generated from the following file: