2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ControlPotentiometer
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Control
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] setPreviousLocation
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] setValue
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] getProgressTimer
|
|
|
|
-- @param self
|
|
|
|
-- @return ProgressTimer#ProgressTimer ret (return value: cc.ProgressTimer)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] getMaximumValue
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
|
|
|
-- @param #vec2_table vec2
|
|
|
|
-- @param #vec2_table vec2
|
|
|
|
-- @param #vec2_table vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] potentiometerBegan
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] setMaximumValue
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] getMinimumValue
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] setThumbSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] getValue
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] getPreviousLocation
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] distanceBetweenPointAndPoint
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
|
|
|
-- @param #vec2_table vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] potentiometerEnded
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] setProgressTimer
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.ProgressTimer progresstimer
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] setMinimumValue
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] getThumbSprite
|
|
|
|
-- @param self
|
|
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] initWithTrackSprite_ProgressTimer_ThumbSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @param #cc.ProgressTimer progresstimer
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] potentiometerMoved
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #char char
|
|
|
|
-- @param #char char
|
|
|
|
-- @param #char char
|
|
|
|
-- @return ControlPotentiometer#ControlPotentiometer ret (return value: cc.ControlPotentiometer)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] isTouchInside
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Touch touch
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] setEnabled
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] onTouchMoved
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Touch touch
|
|
|
|
-- @param #cc.Event event
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] onTouchEnded
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Touch touch
|
|
|
|
-- @param #cc.Event event
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] onTouchBegan
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Touch touch
|
|
|
|
-- @param #cc.Event event
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlPotentiometer] ControlPotentiometer
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|