摘要:
加载按钮的纹理。loadTextures (const std::string &normal, const std::string &selected, const std::string &disabled="", TextureResType texType=TextureResType::L 阅读全文
摘要:
设置是否响应触摸事件。setTouchEnabled (bool enabled) 设置用于识别节点的名字。setName (const std::string &name) 设置用于识别节点的标记。setTag (int tag) 设置控件在OpenGL坐标系中的百分比位置(x,y)setPosi 阅读全文
摘要:
local name = (tolua.cast(sender, "ccui.Button")):getTitleText() 阅读全文