mirror of https://github.com/axmolengine/axmol.git
add gui namespace before SEL_TouchEvent
This commit is contained in:
parent
bf07077c52
commit
d650c0a6a1
|
@ -71,7 +71,7 @@ typedef enum
|
||||||
}PositionType;
|
}PositionType;
|
||||||
|
|
||||||
typedef void (cocos2d::Object::*SEL_TouchEvent)(cocos2d::Object*,TouchEventType);
|
typedef void (cocos2d::Object::*SEL_TouchEvent)(cocos2d::Object*,TouchEventType);
|
||||||
#define toucheventselector(_SELECTOR) (SEL_TouchEvent)(&_SELECTOR)
|
#define toucheventselector(_SELECTOR) (gui::SEL_TouchEvent)(&_SELECTOR)
|
||||||
|
|
||||||
class UIWidget : public cocos2d::Object
|
class UIWidget : public cocos2d::Object
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue