2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Slider
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Widget
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] setPercent
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] loadSlidBallTextureDisabled
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @param #ccui.Widget::TextureResType texturerestype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] loadSlidBallTextureNormal
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @param #ccui.Widget::TextureResType texturerestype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] loadBarTexture
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @param #ccui.Widget::TextureResType texturerestype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] loadProgressBarTexture
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @param #ccui.Widget::TextureResType texturerestype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] loadSlidBallTextures
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @param #ccui.Widget::TextureResType texturerestype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] setCapInsetProgressBarRebderer
|
|
|
|
-- @param self
|
|
|
|
-- @param #rect_table rect
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] setCapInsetsBarRenderer
|
|
|
|
-- @param self
|
|
|
|
-- @param #rect_table rect
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] getCapInsetsProgressBarRebderer
|
|
|
|
-- @param self
|
|
|
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] setScale9Enabled
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] setCapInsets
|
|
|
|
-- @param self
|
|
|
|
-- @param #rect_table rect
|
|
|
|
|
2014-05-12 16:14:14 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] addEventListener
|
|
|
|
-- @param self
|
|
|
|
-- @param #function func
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] loadSlidBallTexturePressed
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @param #ccui.Widget::TextureResType texturerestype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] isScale9Enabled
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] getCapInsetsBarRenderer
|
|
|
|
-- @param self
|
|
|
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] getPercent
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] create
|
|
|
|
-- @param self
|
|
|
|
-- @return Slider#Slider ret (return value: ccui.Slider)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] createInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return Ref#Ref ret (return value: cc.Ref)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] getVirtualRenderer
|
|
|
|
-- @param self
|
|
|
|
-- @return Node#Node ret (return value: cc.Node)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] ignoreContentAdaptWithSize
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] getDescription
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
2014-03-26 20:09:41 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] hitTest
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Vec2 vec2
|
2014-03-26 20:09:41 +08:00
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
2014-04-18 10:51:14 +08:00
|
|
|
-- @function [parent=#Slider] getVirtualRendererSize
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @param self
|
|
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Slider] Slider
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|