2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module EventMouse
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Event
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-08-08 10:49:17 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getPreviousLocationInView
|
|
|
|
-- @param self
|
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getLocation
|
|
|
|
-- @param self
|
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getMouseButton
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
2014-08-08 10:49:17 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getPreviousLocation
|
|
|
|
-- @param self
|
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getDelta
|
|
|
|
-- @param self
|
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] setScrollData
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
|
2014-08-08 10:49:17 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getStartLocationInView
|
|
|
|
-- @param self
|
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getStartLocation
|
|
|
|
-- @param self
|
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] setMouseButton
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
2014-08-08 10:49:17 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getLocationInView
|
|
|
|
-- @param self
|
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getScrollY
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getScrollX
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getCursorX
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getCursorY
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] setCursorPosition
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] EventMouse
|
|
|
|
-- @param self
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @param #int mouseeventtype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
return nil
|