blob: 8b4451d379aa27c49b3fba1e8ec481797468e8bc (
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
|
---@meta
---@class cc.ControlHuePicker :cc.Control
local ControlHuePicker={ }
cc.ControlHuePicker=ControlHuePicker
---*
---@param target cc.Node
---@param pos vec2_table
---@return boolean
function ControlHuePicker:initWithTargetAndPos (target,pos) end
---*
---@param val float
---@return self
function ControlHuePicker:setHue (val) end
---*
---@return vec2_table
function ControlHuePicker:getStartPos () end
---*
---@return float
function ControlHuePicker:getHue () end
---*
---@return cc.Sprite
function ControlHuePicker:getSlider () end
---*
---@param var cc.Sprite
---@return self
function ControlHuePicker:setBackground (var) end
---*
---@param val float
---@return self
function ControlHuePicker:setHuePercentage (val) end
---*
---@return cc.Sprite
function ControlHuePicker:getBackground () end
---*
---@return float
function ControlHuePicker:getHuePercentage () end
---*
---@param var cc.Sprite
---@return self
function ControlHuePicker:setSlider (var) end
---*
---@param target cc.Node
---@param pos vec2_table
---@return self
function ControlHuePicker:create (target,pos) end
---*
---@param enabled boolean
---@return self
function ControlHuePicker:setEnabled (enabled) end
---*
---@param pTouch cc.Touch
---@param pEvent cc.Event
---@return self
function ControlHuePicker:onTouchMoved (pTouch,pEvent) end
---*
---@param touch cc.Touch
---@param pEvent cc.Event
---@return boolean
function ControlHuePicker:onTouchBegan (touch,pEvent) end
---* js ctor
---@return self
function ControlHuePicker:ControlHuePicker () end
|