LuaQuick框架(客户端)

996传奇引擎三端lua快速开发


快速单元(QuickCell)

<p>[TOC]</p> <h3>创建节点</h3> <pre><code>co.QuickCell:create(parent, id, x, y, w, h, createCB, activeCB)</code></pre> <pre><code>parent   父节点对象 id  是    唯一ID x   是    位置 横坐标 y   是    位置 纵坐标 w   是    宽度 h   是    高度 createCB 创建子节点内容回调 [函数返回 widget] activeCB 判断是否需要激活/创建 [函数返回 boolean值]</code></pre> <h3>刷新展示</h3> <pre><code>co.QuickCell:fresh(widget)</code></pre> <pre><code>widget QuickCell对象</code></pre> <h3>强制退出/ 清理内容</h3> <pre><code>co.QuickCell:clear(widget)</code></pre> <pre><code>widget QuickCell对象</code></pre> <h3>添加Quick层数</h3> <pre><code>co.QuickCell:loadCopyPanel(parent,count,pos)</code></pre> <pre><code>parent     父节点对象 count      数据长度 pos       跳转位置</code></pre>

页面列表

ITEM_HTML