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

182 lines
5.4 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module ControlSlider
-- @extend Control
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] getSelectedThumbSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] locationFromTouch
-- @param self
-- @param #cc.Touch touch
-- @return vec2_table#vec2_table ret (return value: vec2_table)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] setSelectedThumbSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] setProgressSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] getMaximumAllowedValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] getMinimumAllowedValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] getMinimumValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] setThumbSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] setMinimumValue
-- @param self
-- @param #float val
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] setMinimumAllowedValue
-- @param self
-- @param #float var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] setValue
-- @param self
-- @param #float val
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] setMaximumValue
-- @param self
-- @param #float val
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] needsLayout
-- @param self
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] getBackgroundSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] initWithSprites
-- @param self
-- @param #cc.Sprite backgroundSprite
-- @param #cc.Sprite progressSprite
-- @param #cc.Sprite thumbSprite
-- @param #cc.Sprite selectedThumbSprite
-- @return bool#bool ret (return value: bool)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] getMaximumValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] isTouchInside
-- @param self
-- @param #cc.Touch touch
-- @return bool#bool ret (return value: bool)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] getValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] getThumbSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] getProgressSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] setBackgroundSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] setMaximumAllowedValue
-- @param self
-- @param #float var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite
-- @overload self, char, char, char
-- @overload self, char, char, char, char
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] create
-- @param self
-- @param #cc.Sprite backgroundSprite
-- @param #cc.Sprite pogressSprite
-- @param #cc.Sprite thumbSprite
-- @param #cc.Sprite selectedThumbSprite
-- @return ControlSlider#ControlSlider ret (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
--------------------------------
-- js ctor
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlSlider] ControlSlider
-- @param self
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
2014-03-10 14:04:58 +08:00
return nil