summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc/ControlSlider.lua
blob: 071954e754d3657f6386c61850054cd5efd48585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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