2014-03-10 14:04:58 +08:00
--------------------------------
-- @module DisplayManager
2014-03-26 14:03:04 +08:00
-- @extend Ref
2014-06-25 17:36:50 +08:00
-- @parent_module ccs
2014-03-18 15:55:30 +08:00
2014-03-10 14:04:58 +08:00
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] getDisplayRenderNode
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] getAnchorPointInPoints
-- @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
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] getDisplayRenderNodeType
-- @param self
2014-07-17 22:20:04 +08:00
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] removeDisplay
-- @param self
2014-09-02 13:45:07 +08:00
-- @param #int index
2015-01-21 17:33:26 +08:00
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
2014-03-10 14:04:58 +08:00
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] setForceChangeDisplay
-- @param self
2014-09-02 13:45:07 +08:00
-- @param #bool force
2015-01-21 17:33:26 +08:00
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
2014-03-10 14:04:58 +08:00
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] init
-- @param self
-- @param #ccs.Bone bone
-- @return bool#bool ret (return value: bool)
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] getContentSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] getBoundingBox
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
2014-07-17 10:28:34 +08:00
-- @overload self, cc.Node, int
-- @overload self, ccs.DisplayData, int
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] addDisplay
-- @param self
2014-09-02 13:45:07 +08:00
-- @param #ccs.DisplayData displayData
-- @param #int index
2015-01-21 17:33:26 +08:00
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
2014-03-10 14:04:58 +08:00
--------------------------------
2014-07-17 10:28:34 +08:00
-- @overload self, float, float
-- @overload self, vec2_table
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] containPoint
-- @param self
2014-09-02 13:45:07 +08:00
-- @param #float x
-- @param #float y
2014-10-17 22:56:22 +08:00
-- @return bool#bool ret (return value: bool)
2014-03-10 14:04:58 +08:00
--------------------------------
2014-09-02 13:45:07 +08:00
-- Change display by index. You can just use this method to change display in the display list.<br>
-- The display list is just used for this bone, and it is the displays you may use in every frame.<br>
-- Note : if index is the same with prev index, the method will not effect<br>
-- param index The index of the display you want to change<br>
-- param force If true, then force change display to specified display, or current display will set to display index edit in the flash every key frame.
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] changeDisplayWithIndex
-- @param self
2014-09-02 13:45:07 +08:00
-- @param #int index
-- @param #bool force
2015-01-21 17:33:26 +08:00
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
2014-03-10 14:04:58 +08:00
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] changeDisplayWithName
-- @param self
2014-09-02 13:45:07 +08:00
-- @param #string name
-- @param #bool force
2015-01-21 17:33:26 +08:00
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
2014-03-10 14:04:58 +08:00
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] isForceChangeDisplay
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] getCurrentDisplayIndex
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] getAnchorPoint
-- @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
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] getDecorativeDisplayList
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
2014-09-02 13:45:07 +08:00
-- Determines if the display is visible<br>
-- see setVisible(bool)<br>
-- return true if the node is visible, false if the node is hidden.
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] isVisible
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
2014-09-02 13:45:07 +08:00
-- Sets whether the display is visible<br>
-- The default value is true, a node is default to visible<br>
-- param visible true if the node is visible, false if the node is hidden.
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] setVisible
-- @param self
2014-09-02 13:45:07 +08:00
-- @param #bool visible
2015-01-21 17:33:26 +08:00
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
2014-03-10 14:04:58 +08:00
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] create
-- @param self
-- @param #ccs.Bone bone
-- @return DisplayManager#DisplayManager ret (return value: ccs.DisplayManager)
--------------------------------
2014-09-02 13:45:07 +08:00
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#DisplayManager] DisplayManager
-- @param self
2015-01-21 17:33:26 +08:00
-- @return DisplayManager#DisplayManager self (return value: ccs.DisplayManager)
2014-03-10 14:04:58 +08:00
return nil