#include <ModalLayer.h>
Inheritance diagram for ModalLayer:
Public Member Functions
Initializes the instance of CCNode.
More...
Initializes the instance of CCNode.
More...
Initializes the instance of CCNode.
More...
- Public Member Functions inherited from
CCLayer
Event callback that is invoked every time when
CCNode enters the 'stage'.
More...
Event callback that is invoked every time the
CCNode leaves the 'stage'.
More...
Event callback that is invoked when the
CCNode enters in the 'stage'.
More...
If isTouchEnabled, this method is called onEnter.
More...
If isTouchEnabled, this method is called onEnter.
More...
If isTouchEnabled, this method is called onEnter.
More...
virtual void
registerScriptTouchHandler (int nHandler, bool bIsMultiTouches=false, int nPriority=INT_MIN, bool bSwallowsTouches=false)
Register script touch events handler.
More...
Register script touch events handler.
More...
Unregister script touch events handler.
More...
whether or not it will receive Touch events.
More...
priority of the touch events.
More...
priority of the touch events.
More...
whether or not it will receive Accelerometer events You can enable / disable accelerometer events with this property.
More...
whether or not it will receive Accelerometer events You can enable / disable accelerometer events with this property.
More...
whether or not it will receive Accelerometer events You can enable / disable accelerometer events with this property.
More...
whether or not it will receive keypad events You can enable / disable accelerometer events with this property.
More...
Register keypad events handler.
More...
Unregister keypad events handler.
More...
- Public Member Functions inherited from
CCNode
Returns a camera object that lets you move the node using a gluLookAt.
More...
Returns whether or not the node accepts event callbacks.
More...
Stops all running actions and schedulers.
More...
Override this method to draw your own node.
More...
virtual void
visit (void)
Visits this node's children and draw them recursively.
More...
Visits this node's children and draw them recursively.
More...
Returns a "local" axis aligned bounding box of the node.
More...
Sets the Z order which stands for the drawing order, and reorder this node in its parent's children array.
More...
Sets the z order which stands for the drawing order.
More...
Sets the z order which stands for the drawing order.
More...
Sets the z order which stands for the drawing order.
More...
Gets the Z order of this node.
More...
Sets the real OpenGL Z vertex.
More...
Sets the real OpenGL Z vertex.
More...
Gets OpenGL Z vertex of this node.
More...
Gets OpenGL Z vertex of this node.
More...
Gets OpenGL Z vertex of this node.
More...
Changes the scale factor on X axis of this node.
More...
Changes the scale factor on X axis of this node.
More...
Returns the scale factor on X axis of this node.
More...
Returns the scale factor on X axis of this node.
More...
Returns the scale factor on X axis of this node.
More...
Changes the scale factor on Y axis of this node.
More...
Returns the scale factor on Y axis of this node.
More...
Changes both X and Y scale factor of the node.
More...
Gets the scale factor of the node, when X and Y have the same scale factor.
More...
virtual void
setScale (float fScaleX, float fScaleY)
Changes both X and Y scale factor of the node.
More...
local
setScale ( local fScaleX, local fScaleY)
Changes both X and Y scale factor of the node.
More...
Changes the position (x,y) of the node in OpenGL coordinates.
More...
Changes the position (x,y) of the node in OpenGL coordinates.
More...
Gets the position (x,y) of the node in OpenGL coordinates.
More...
Gets the position (x,y) of the node in OpenGL coordinates.
More...
Sets position in a more efficient way.
More...
Sets position in a more efficient way.
More...
Gets position in a more efficient way, returns two number instead of a
CCPoint object.
More...
Gets position in a more efficient way, returns two number instead of a
CCPoint object.
More...
Gets/Sets x or y coordinate individually for position.
More...
Gets/Sets x or y coordinate individually for position.
More...
Gets/Sets x or y coordinate individually for position.
More...
Changes the X skew angle of the node in degrees.
More...
Changes the X skew angle of the node in degrees.
More...
Returns the X skew angle of the node in degrees.
More...
Returns the X skew angle of the node in degrees.
More...
Changes the Y skew angle of the node in degrees.
More...
Returns the Y skew angle of the node in degrees.
More...
Returns the Y skew angle of the node in degrees.
More...
Returns the Y skew angle of the node in degrees.
More...
Sets the anchor point in percent.
More...
Sets the anchor point in percent.
More...
Returns the anchor point in percent.
More...
Returns the anchor point in percent.
More...
Returns the anchorPoint in absolute pixels.
More...
Returns the anchorPoint in absolute pixels.
More...
Sets the untransformed size of the node.
More...
Sets the untransformed size of the node.
More...
Returns the untransformed size of the node.
More...
Sets whether the node is visible.
More...
Sets whether the node is visible.
More...
Determines if the node is visible.
More...
Sets the rotation (angle) of the node in degrees.
More...
Sets the rotation (angle) of the node in degrees.
More...
Returns the rotation of the node in degrees.
More...
Sets the X rotation (angle) of the node in degrees which performs a horizontal rotational skew.
More...
Sets the X rotation (angle) of the node in degrees which performs a horizontal rotational skew.
More...
Gets the X rotation (angle) of the node in degrees which performs a horizontal rotation skew.
More...
Gets the X rotation (angle) of the node in degrees which performs a horizontal rotation skew.
More...
Sets the Y rotation (angle) of the node in degrees which performs a vertical rotational skew.
More...
Sets the Y rotation (angle) of the node in degrees which performs a vertical rotational skew.
More...
Gets the Y rotation (angle) of the node in degrees which performs a vertical rotational skew.
More...
Gets the Y rotation (angle) of the node in degrees which performs a vertical rotational skew.
More...
Gets the Y rotation (angle) of the node in degrees which performs a vertical rotational skew.
More...
Sets the arrival order when this node has a same ZOrder with other children.
More...
Sets the arrival order when this node has a same ZOrder with other children.
More...
Sets the arrival order when this node has a same ZOrder with other children.
More...
Returns the arrival order, indecates which children is added previously.
More...
Sets the state of OpenGL server side.
More...
Sets the state of OpenGL server side.
More...
Returns the state of OpenGL server side.
More...
Returns the state of OpenGL server side.
More...
Sets whether the anchor point will be (0,0) when you position this node.
More...
Sets whether the anchor point will be (0,0) when you position this node.
More...
Gets whether the anchor point will be (0,0) when you position this node.
More...
Adds a child to the container with z-order as 0.
More...
Adds a child to the container with z-order as 0.
More...
Adds a child to the container with z-order as 0.
More...
Adds a child to the container with a z-order.
More...
local
addChild ( local child, local zOrder)
Adds a child to the container with a z-order.
More...
Adds a child to the container with z order and tag.
More...
var
addChild ( var child, var zOrder, var tag)
Adds a child to the container with z order and tag.
More...
local
addChild ( local child, local zOrder, local tag)
Adds a child to the container with z order and tag.
More...
Gets a child from the container with its tag.
More...
Return an array of children.
More...
Return an array of children.
More...
Get the amount of children.
More...
Get the amount of children.
More...
Get the amount of children.
More...
Returns a pointer to the parent node.
More...
Returns a pointer to the parent node.
More...
Returns a pointer to the parent node.
More...
Removes this node itself from its parent node with a cleanup.
More...
Removes this node itself from its parent node.
More...
Removes this node itself from its parent node.
More...
Removes a child from the container with a cleanup.
More...
Removes a child from the container.
More...
Removes a child from the container by tag value with a cleanup.
More...
Removes a child from the container by tag value.
More...
Removes a child from the container by tag value.
More...
Removes all children from the container with a cleanup.
More...
Removes all children from the container with a cleanup.
More...
Removes all children from the container with a cleanup.
More...
Removes all children from the container, and do a cleanup to all running actions depending on the cleanup parameter.
More...
Removes all children from the container, and do a cleanup to all running actions depending on the cleanup parameter.
More...
Removes all children from the container, and do a cleanup to all running actions depending on the cleanup parameter.
More...
Reorders a child according to a new z value.
More...
Sorts the children array once before drawing, instead of every time when a child is added or reordered.
More...
Sorts the children array once before drawing, instead of every time when a child is added or reordered.
More...
Sorts the children array once before drawing, instead of every time when a child is added or reordered.
More...
Returns a grid object that is used when applying effects.
More...
Changes a grid object that is used when applying effects.
More...
Returns a tag that is used to identify the node easily.
More...
Returns a tag that is used to identify the node easily.
More...
Returns a tag that is used to identify the node easily.
More...
virtual void
setTag (int nTag)
Changes the tag that is used to identify the node easily.
More...
Changes the tag that is used to identify the node easily.
More...
Returns a custom user data pointer.
More...
Sets a custom user data pointer.
More...
Sets a custom user data pointer.
More...
Return the shader program currently used for this node.
More...
Sets the shader program for this node.
More...
Gets script handler for onEnter/onExit event.
More...
Event callback that is called every time the
CCNode leaves the 'stage'.
More...
Executes an action, and returns the action that is executed.
More...
Stops and removes all actions from the running action list .
More...
Stops and removes all actions from the running action list .
More...
Stops and removes all actions from the running action list .
More...
Stops and removes an action from the running action list.
More...
Stops and removes an action from the running action list.
More...
Stops and removes an action from the running action list.
More...
Removes an action from the running action list by its tag.
More...
Removes an action from the running action list by its tag.
More...
Removes an action from the running action list by its tag.
More...
Gets an action from the running action list by its tag.
More...
Returns the numbers of actions that are running plus the ones that are schedule to run (actions in actionsToAdd and actions arrays).
More...
Returns the numbers of actions that are running plus the ones that are schedule to run (actions in actionsToAdd and actions arrays).
More...
Checks whether a selector is scheduled.
More...
Schedules the "update" method.
More...
Schedules the "update" method with a custom priority.
More...
Schedules the "update" method with a custom priority.
More...
Schedules a custom selector.
More...
Schedules a custom selector with an interval time in seconds.
More...
var
schedule ( var selector, var interval)
Schedules a custom selector with an interval time in seconds.
More...
Schedules a selector that runs only once, with a delay of 0 or larger.
More...
Schedules a custom selector, the scheduled selector will be ticked every frame.
More...
Unschedules a custom selector.
More...
Unschedule all scheduled selectors: custom selectors, and the 'update' selector.
More...
Resumes all scheduled selectors and actions.
More...
Pauses all scheduled selectors and actions.
More...
virtual void
update (float delta)
Performs OpenGL view-matrix transformation based on position, scale, rotation and other attributes.
More...
Performs OpenGL view-matrix transformation of it's ancestors.
More...
Returns the matrix that transform the node's (local) space coordinates into the parent's space coordinates.
More...
Returns the matrix that transform the node's (local) space coordinates into the parent's space coordinates.
More...
Returns the matrix that transform parent's space coordinates to the node's (local) space coordinates.
More...
Returns the matrix that transform parent's space coordinates to the node's (local) space coordinates.
More...
Returns the world affine transform matrix.
More...
Returns the world affine transform matrix.
More...
Returns the inverse world affine transform matrix.
More...
Returns the inverse world affine transform matrix.
More...
Converts a Point to node (local) space coordinates.
More...
Converts a Point to world space coordinates.
More...
Converts a Point to world space coordinates.
More...
Converts a Point to world space coordinates.
More...
Converts a Point to node (local) space coordinates.
More...
Converts a local Point to world space coordinates.The result is in Points.
More...
converts a
CCTouch (world coordinates) into a local coordinate.
More...
Sets the additional transform.
More...
Sets the additional transform.
More...
Sets the additional transform.
More...
gets a component by its name
More...
gets a component by its name
More...
gets a component by its name
More...
removes a component by its name
More...
removes a component by its pointer
More...
removes a component by its pointer
More...
removes a component by its pointer
More...
Gets the description string.
More...
- Public Member Functions inherited from
CCObject
- Public Member Functions inherited from
CCCopying
Additional Inherited Members
- Static Public Member Functions inherited from
CCLayer
- Static Public Member Functions inherited from
CCNode
Allocates and initializes a node.
More...
Allocates and initializes a node.
More...
- Public Attributes inherited from
CCObject
- Protected Attributes inherited from
CCLayer
- Protected Attributes inherited from
CCNode
anchor point normalized (NOT in points)
More...
anchor point normalized (NOT in points)
More...
anchor point normalized (NOT in points)
More...
untransformed size of the node
More...
z-order value that affects the draw order
More...
z-order value that affects the draw order
More...
z-order value that affects the draw order
More...
weak reference to parent node
More...
weak reference to parent node
More...
weak reference to parent node
More...
a tag. Can be any number you assigned just to identify this node
More...
A user assingned void pointer, Can be point to any cpp object.
More...
A user assingned void pointer, Can be point to any cpp object.
More...
A user assingned void pointer, Can be point to any cpp object.
More...
used to preserve sequence while sorting children with the same zOrder
More...
scheduler used to schedule timers and updates
More...
scheduler used to schedule timers and updates
More...
scheduler used to schedule timers and updates
More...
a pointer to ActionManager singleton, which is used to handle all the actions
More...
a pointer to ActionManager singleton, which is used to handle all the actions
More...
a pointer to ActionManager singleton, which is used to handle all the actions
More...
The flag to check whether the additional transform is dirty.
More...
true if the Anchor Point will be (0,0) when you position the
CCNode, false otherwise.
More...
true if the Anchor Point will be (0,0) when you position the
CCNode, false otherwise.
More...
true if the Anchor Point will be (0,0) when you position the
CCNode, false otherwise.
More...
script handler for
update() callback per frame, which is invoked from lua & javascript.
More...
script handler for
update() callback per frame, which is invoked from lua & javascript.
More...
script handler for
update() callback per frame, which is invoked from lua & javascript.
More...
type of script binding, lua or javascript
More...
type of script binding, lua or javascript
More...
type of script binding, lua or javascript
More...
- Protected Attributes inherited from
CCObject
Constructor & Destructor Documentation
Member Function Documentation
var ccTouchBegan
(
var
pTouch,
var
pEvent
)
virtual
local ccTouchBegan
(
local
pTouch,
local
pEvent
)
virtual
local CREATE_FUNC
(
local
)
virtual bool init
(
)
virtual
Initializes the instance of CCNode.
- Returns
- Whether the initialization was successful.
Reimplemented from CCLayer.
Initializes the instance of CCNode.
- Returns
- Whether the initialization was successful.
Reimplemented from CCLayer.
Initializes the instance of CCNode.
- Returns
- Whether the initialization was successful.
Reimplemented from CCLayer.
void menuCloseCallback
(
CCObject *
pSender )
var menuCloseCallback
(
var
pSender )
local menuCloseCallback
(
local
pSender )
void setMessage
(
const char *
pszMsg )
var setMessage
(
var
pszMsg )
local setMessage
(
local
pszMsg )
The documentation for this class was generated from the following file:
- /Users/guanghui/cocos2d-x/cocos2dx/platform/wp8/ModalLayer.h