2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ProgressTimer
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Node
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] isReverseDirection
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setBarChangeRate
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getPercentage
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getType
|
|
|
|
-- @param self
|
|
|
|
-- @return ProgressTimer::Type#ProgressTimer::Type ret (return value: cc.ProgressTimer::Type)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getSprite
|
|
|
|
-- @param self
|
|
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setMidpoint
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getBarChangeRate
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- overload function: setReverseDirection(bool)
|
|
|
|
--
|
|
|
|
-- overload function: setReverseDirection(bool)
|
|
|
|
--
|
|
|
|
-- @function [parent=#ProgressTimer] setReverseDirection
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getMidpoint
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setPercentage
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setType
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.ProgressTimer::Type type
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @return ProgressTimer#ProgressTimer ret (return value: cc.ProgressTimer)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setAnchorPoint
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] draw
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #mat4_table mat4
|
2014-06-05 11:01:43 +08:00
|
|
|
-- @param #unsigned int int
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color3b_table color3b
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @return color3b_table#color3b_table ret (return value: color3b_table)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setOpacity
|
|
|
|
-- @param self
|
|
|
|
-- @param #unsigned char char
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getOpacity
|
|
|
|
-- @param self
|
|
|
|
-- @return unsigned char#unsigned char ret (return value: unsigned char)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|