zordops.cpp File Reference

(r1785/r1282)

#include "camtypes.h"
#include "zordops.h"
#include "layer.h"
#include "bubbleid.h"
#include "sprdmsg.h"
#include "layermsg.h"
#include "slicehelper.h"
#include "ophist.h"

Go to the source code of this file.

Functions

 DECLARE_SOURCE ("$Revision: 1282 $")
 CC_IMPLEMENT_DYNCREATE (OpBringToFront, SelOperation) CC_IMPLEMENT_DYNCREATE(OpPutToBack
SelOperation CC_IMPLEMENT_DYNCREATE (OpMoveForwards, SelOperation) CC_IMPLEMENT_DYNCREATE(OpMoveBackwards
SelOperation SelOperation CC_IMPLEMENT_DYNCREATE (OpMoveToLyrInFront, SelOperation) CC_IMPLEMENT_DYNCREATE(OpMoveToLyrBehind
SelOperation SelOperation
SelOperation 
CC_IMPLEMENT_DYNAMIC (FrameInFrontOpDescriptor, OpDescriptor) CC_IMPLEMENT_DYNAMIC(FrameBehindOpDescriptor
static NodeFindLastObject (Layer *pLayer)
static NodeFindFirstObject (Layer *pLayer)


Function Documentation

SelOperation SelOperation SelOperation CC_IMPLEMENT_DYNAMIC FrameInFrontOpDescriptor  ,
OpDescriptor 
 

SelOperation SelOperation CC_IMPLEMENT_DYNCREATE OpMoveToLyrInFront  ,
SelOperation 
 

SelOperation CC_IMPLEMENT_DYNCREATE OpMoveForwards  ,
SelOperation 
 

CC_IMPLEMENT_DYNCREATE OpBringToFront  ,
SelOperation 
 

DECLARE_SOURCE "$Revision: 1282 $"   ) 
 

static Node* FindFirstObject Layer pLayer  )  [static]
 

Definition at line 216 of file zordops.cpp.

00217 {
00218     if (pLayer == NULL)
00219         return NULL;
00220 
00221     if (pLayer->IsLocked() || pLayer->IsGuide())
00222         return NULL;
00223 
00224     return pLayer->FindFirstChild(CC_RUNTIME_CLASS(NodeRenderableInk));
00225 }

static Node* FindLastObject Layer pLayer  )  [static]
 

Definition at line 201 of file zordops.cpp.

00202 {
00203     if (pLayer == NULL)
00204         return NULL;
00205 
00206     if (pLayer->IsLocked() || pLayer->IsGuide())
00207         return NULL;
00208 
00209     return pLayer->FindLastChild(CC_RUNTIME_CLASS(NodeRenderableInk));
00210 }


Generated on Sat Nov 10 03:49:25 2007 for Camelot by  doxygen 1.4.4