#include <CCTouchDispatcher.h>
|
| ~CCTouchDispatcher () |
bool | init (void) |
| CCTouchDispatcher () |
bool | isDispatchEvents (void) |
| Whether or not the events are going to be dispatched. More...
|
|
void | setDispatchEvents (bool bDispatchEvents) |
void | addStandardDelegate (CCTouchDelegate *pDelegate, int nPriority) |
| Adds a standard touch delegate to the dispatcher's list. More...
|
|
void | addTargetedDelegate (CCTouchDelegate *pDelegate, int nPriority, bool bSwallowsTouches) |
| Adds a targeted touch delegate to the dispatcher's list. More...
|
|
void | removeDelegate (CCTouchDelegate *pDelegate) |
| Removes a touch delegate. More...
|
|
void | removeAllDelegates (void) |
| Removes all touch delegates, releasing all the delegates. More...
|
|
void | setPriority (int nPriority, CCTouchDelegate *pDelegate) |
| Changes the priority of a previously added delegate. More...
|
|
void | touches (CCSet *pTouches, CCEvent *pEvent, unsigned int uIndex) |
virtual void | touchesBegan (CCSet *touches, CCEvent *pEvent) |
virtual void | touchesMoved (CCSet *touches, CCEvent *pEvent) |
virtual void | touchesEnded (CCSet *touches, CCEvent *pEvent) |
virtual void | touchesCancelled (CCSet *touches, CCEvent *pEvent) |
CCTouchHandler * | findHandler (CCTouchDelegate *pDelegate) |
| CCObject (void) |
virtual | ~CCObject (void) |
void | release (void) |
void | retain (void) |
CCObject * | autorelease (void) |
CCObject * | copy (void) |
bool | isSingleReference (void) const |
unsigned int | retainCount (void) const |
virtual bool | isEqual (const CCObject *pObject) |
virtual void | acceptVisitor (CCDataVisitor &visitor) |
virtual void | update (float dt) |
virtual CCObject * | copyWithZone (CCZone *pZone) |
virtual | ~EGLTouchDelegate () |
Adds a standard touch delegate to the dispatcher's list.
See StandardTouchDelegate description. IMPORTANT: The delegate will be retained.
void addTargetedDelegate |
( |
CCTouchDelegate * |
pDelegate, |
|
|
int |
nPriority, |
|
|
bool |
bSwallowsTouches |
|
) |
| |
Adds a targeted touch delegate to the dispatcher's list.
See TargetedTouchDelegate description. IMPORTANT: The delegate will be retained.
void forceRemoveAllDelegates |
( |
void |
) | |
|
|
protected |
bool isDispatchEvents |
( |
void |
) | |
|
Whether or not the events are going to be dispatched.
Default: true
void rearrangeHandlers |
( |
CCArray * |
pArray) | |
|
|
protected |
void removeAllDelegates |
( |
void |
) | |
|
Removes all touch delegates, releasing all the delegates.
Removes a touch delegate.
The delegate will be released
void setDispatchEvents |
( |
bool |
bDispatchEvents) | |
|
Changes the priority of a previously added delegate.
The lower the number, the higher the priority
void touches |
( |
CCSet * |
pTouches, |
|
|
CCEvent * |
pEvent, |
|
|
unsigned int |
uIndex |
|
) |
| |
virtual void touchesBegan |
( |
CCSet * |
touches, |
|
|
CCEvent * |
pEvent |
|
) |
| |
|
virtual |
virtual void touchesCancelled |
( |
CCSet * |
touches, |
|
|
CCEvent * |
pEvent |
|
) |
| |
|
virtual |
virtual void touchesEnded |
( |
CCSet * |
touches, |
|
|
CCEvent * |
pEvent |
|
) |
| |
|
virtual |
virtual void touchesMoved |
( |
CCSet * |
touches, |
|
|
CCEvent * |
pEvent |
|
) |
| |
|
virtual |
struct _ccCArray*
m_pHandlersToRemove |
|
protected |
The documentation for this class was generated from the following file: