2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module EventMouse
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Event
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] getMouseButton
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] setScrollData
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EventMouse] setMouseButton
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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
|
|
|
|
-- @param #cc.EventMouse::MouseEventType mouseeventtype
|
|
|
|
|
|
|
|
return nil
|