axmol/cocos/scripting/lua-bindings/auto/api/LoadingBar.lua

119 lines
3.5 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module LoadingBar
-- @extend Widget
-- @parent_module ccui
2014-03-10 14:04:58 +08:00
--------------------------------
-- Changes the progress direction of loadingbar.<br>
-- param percent percent value from 1 to 100.
-- @function [parent=#LoadingBar] setPercent
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #float percent
2014-03-10 14:04:58 +08:00
--------------------------------
-- Load texture for loadingbar.<br>
-- param texture file name of texture.<br>
-- param texType @see TextureResType
2014-03-10 14:04:58 +08:00
-- @function [parent=#LoadingBar] loadTexture
-- @param self
-- @param #string texture
-- @param #int texType
2014-03-10 14:04:58 +08:00
--------------------------------
-- Changes the progress direction of loadingbar.<br>
-- see Direction LEFT means progress left to right, RIGHT otherwise.<br>
-- param direction Direction
-- @function [parent=#LoadingBar] setDirection
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #int direction
2014-03-10 14:04:58 +08:00
--------------------------------
-- Sets if loadingbar is using scale9 renderer.<br>
-- param enabled true that using scale9 renderer, false otherwise.
2014-03-10 14:04:58 +08:00
-- @function [parent=#LoadingBar] setScale9Enabled
-- @param self
-- @param #bool enabled
2014-03-10 14:04:58 +08:00
--------------------------------
-- Sets capinsets for loadingbar, if loadingbar is using scale9 renderer.<br>
-- param capInsets capinsets for loadingbar
2014-03-10 14:04:58 +08:00
-- @function [parent=#LoadingBar] setCapInsets
-- @param self
-- @param #rect_table capInsets
2014-03-10 14:04:58 +08:00
--------------------------------
-- Gets the progress direction of loadingbar.<br>
-- see Direction LEFT means progress left to right, RIGHT otherwise.<br>
-- return Direction
-- @function [parent=#LoadingBar] getDirection
2014-03-10 14:04:58 +08:00
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#LoadingBar] getCapInsets
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#LoadingBar] isScale9Enabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Gets the progress direction of loadingbar.<br>
-- return percent value from 1 to 100.
2014-03-10 14:04:58 +08:00
-- @function [parent=#LoadingBar] getPercent
-- @param self
-- @return float#float ret (return value: float)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @overload self, string, float
-- @overload self
-- @overload self, string, int, float
-- @function [parent=#LoadingBar] create
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #string textureName
-- @param #int texType
-- @param #float percentage
-- @return LoadingBar#LoadingBar ret (return value: ccui.LoadingBar)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#LoadingBar] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
--
-- @function [parent=#LoadingBar] getVirtualRenderer
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
-- Returns the "class name" of widget.
-- @function [parent=#LoadingBar] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#LoadingBar] getVirtualRendererSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
--
-- @function [parent=#LoadingBar] ignoreContentAdaptWithSize
-- @param self
-- @param #bool ignore
2014-03-10 14:04:58 +08:00
--------------------------------
-- Default constructor
2014-03-10 14:04:58 +08:00
-- @function [parent=#LoadingBar] LoadingBar
-- @param self
return nil