summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc/ControlSlider.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-08-13 01:23:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-08-13 01:23:32 +0800
commit04fa96b7c0abba4d7cca03ed12ff3b65b3912e01 (patch)
treec0c8a2c0e92d0580280f838ba475875c7f82a73c /meta/3rd/Cocos4.0/library/cc/ControlSlider.lua
parentc30c5c2e267f6917600afe4f19e1e0d674bad9c6 (diff)
downloadlua-language-server-04fa96b7c0abba4d7cca03ed12ff3b65b3912e01.zip
fix #1431
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc/ControlSlider.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/cc/ControlSlider.lua109
1 files changed, 109 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc/ControlSlider.lua b/meta/3rd/Cocos4.0/library/cc/ControlSlider.lua
new file mode 100644
index 00000000..071954e7
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/cc/ControlSlider.lua
@@ -0,0 +1,109 @@
+---@meta
+
+---@class cc.ControlSlider :cc.Control
+local ControlSlider={ }
+cc.ControlSlider=ControlSlider
+
+
+
+
+---*
+---@return float
+function ControlSlider:getMaximumAllowedValue () end
+---@overload fun(cc.Sprite:cc.Sprite,cc.Sprite:cc.Sprite,cc.Sprite:cc.Sprite,cc.Sprite:cc.Sprite):self
+---@overload fun(cc.Sprite:cc.Sprite,cc.Sprite:cc.Sprite,cc.Sprite:cc.Sprite):self
+---@param backgroundSprite cc.Sprite
+---@param progressSprite cc.Sprite
+---@param thumbSprite cc.Sprite
+---@param selectedThumbSprite cc.Sprite
+---@return boolean
+function ControlSlider:initWithSprites (backgroundSprite,progressSprite,thumbSprite,selectedThumbSprite) end
+---*
+---@return float
+function ControlSlider:getMinimumAllowedValue () end
+---*
+---@return float
+function ControlSlider:getMaximumValue () end
+---*
+---@return cc.Sprite
+function ControlSlider:getSelectedThumbSprite () end
+---*
+---@param var cc.Sprite
+---@return self
+function ControlSlider:setProgressSprite (var) end
+---*
+---@param val float
+---@return self
+function ControlSlider:setMaximumValue (val) end
+---*
+---@return float
+function ControlSlider:getMinimumValue () end
+---*
+---@param var cc.Sprite
+---@return self
+function ControlSlider:setThumbSprite (var) end
+---*
+---@return float
+function ControlSlider:getValue () end
+---*
+---@return cc.Sprite
+function ControlSlider:getBackgroundSprite () end
+---*
+---@return cc.Sprite
+function ControlSlider:getThumbSprite () end
+---*
+---@param val float
+---@return self
+function ControlSlider:setValue (val) end
+---*
+---@param touch cc.Touch
+---@return vec2_table
+function ControlSlider:locationFromTouch (touch) end
+---*
+---@param val float
+---@return self
+function ControlSlider:setMinimumValue (val) end
+---*
+---@param var float
+---@return self
+function ControlSlider:setMinimumAllowedValue (var) end
+---*
+---@return cc.Sprite
+function ControlSlider:getProgressSprite () end
+---*
+---@param var cc.Sprite
+---@return self
+function ControlSlider:setSelectedThumbSprite (var) end
+---*
+---@param var cc.Sprite
+---@return self
+function ControlSlider:setBackgroundSprite (var) end
+---*
+---@param var float
+---@return self
+function ControlSlider:setMaximumAllowedValue (var) end
+---@overload fun(cc.Sprite:cc.Sprite,cc.Sprite:cc.Sprite,cc.Sprite:cc.Sprite):self
+---@overload fun(cc.Sprite0:char,cc.Sprite1:char,cc.Sprite2:char):self
+---@overload fun(cc.Sprite0:char,cc.Sprite1:char,cc.Sprite2:char,cc.Sprite3:char):self
+---@overload fun(cc.Sprite:cc.Sprite,cc.Sprite:cc.Sprite,cc.Sprite:cc.Sprite,cc.Sprite:cc.Sprite):self
+---@param backgroundSprite cc.Sprite
+---@param pogressSprite cc.Sprite
+---@param thumbSprite cc.Sprite
+---@param selectedThumbSprite cc.Sprite
+---@return self
+function ControlSlider:create (backgroundSprite,pogressSprite,thumbSprite,selectedThumbSprite) end
+---*
+---@param touch cc.Touch
+---@return boolean
+function ControlSlider:isTouchInside (touch) end
+---*
+---@param enabled boolean
+---@return self
+function ControlSlider:setEnabled (enabled) end
+---*
+---@return self
+function ControlSlider:needsLayout () end
+---* js ctor<br>
+---* lua new
+---@return self
+function ControlSlider:ControlSlider () end \ No newline at end of file