// 事件处理函数
void touchDownAction(Ref *sender, Control::EventType controlEvent);
void touchDragInsideAction(Ref *sender, Control::EventType controlEvent);
void touchDragOutsideAction(Ref *sender, Control::EventType controlEvent);
void touchDragEnterAction(Ref *sender, Control::EventType controlEvent);
void touchDragExitAction(Ref *sender, Control::EventType controlEvent);
void touchUpInsideAction(Ref *sender, Control::EventType controlEvent);
void touchUpOutsideAction(Ref *sender, Control::EventType controlEvent);
void touchCancelAction(Ref *sender, Control::EventType controlEvent);
void touchBitmaskAction(Ref *sender, Control::EventType controlEvent);
#include “extensions/GUI/CCControlExtension/CCScale9Sprite.h”
这是3.2版本教程中使用的代码,但在3.13中,CCScale9Sprite.h不存在了,Control也不能使用,想问下,3.13版本应该用什么来做这些。【这部分是UI控件】
,必要时可以点进去看看源码