mirror of https://github.com/axmolengine/axmol.git
152 lines
4.5 KiB
Lua
152 lines
4.5 KiB
Lua
|
|
--------------------------------
|
|
-- @module ControlSlider
|
|
-- @extend Control
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ControlSlider] getSelectedThumbSprite
|
|
-- @param self
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#ControlSlider] locationFromTouch
|
|
-- @param self
|
|
-- @param #cc.Touch touch
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
|
|
|
--------------------------------
|
|
-- @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
|