Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

有关3.13版本,Control类问题,求教

$
0
0

@759984327 写道:

// 事件处理函数
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控件】

帖子: 3

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles