2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ControlSlider
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Control
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] getSelectedThumbSprite
|
|
|
|
-- @param self
|
|
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] locationFromTouch
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Touch touch
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] setSelectedThumbSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] setProgressSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] getMaximumAllowedValue
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] getMinimumAllowedValue
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] getMinimumValue
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] setThumbSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] setMinimumValue
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] setMinimumAllowedValue
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] setEnabled
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] setValue
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] setMaximumValue
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] needsLayout
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] getBackgroundSprite
|
|
|
|
-- @param self
|
|
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- overload function: initWithSprites(cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite)
|
|
|
|
--
|
|
|
|
-- overload function: initWithSprites(cc.Sprite, cc.Sprite, cc.Sprite)
|
|
|
|
--
|
|
|
|
-- @function [parent=#ControlSlider] initWithSprites
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @return bool#bool ret (retunr value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] getMaximumValue
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] isTouchInside
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Touch touch
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] getValue
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] getThumbSprite
|
|
|
|
-- @param self
|
|
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] getProgressSprite
|
|
|
|
-- @param self
|
|
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] setBackgroundSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] setMaximumAllowedValue
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- overload function: create(cc.Sprite, cc.Sprite, cc.Sprite)
|
|
|
|
--
|
|
|
|
-- overload function: create(char, char, char)
|
|
|
|
--
|
|
|
|
-- overload function: create(char, char, char, char)
|
|
|
|
--
|
|
|
|
-- overload function: create(cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite)
|
|
|
|
--
|
|
|
|
-- @function [parent=#ControlSlider] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @return ControlSlider#ControlSlider ret (retunr value: cc.ControlSlider)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlSlider] ControlSlider
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|