LayoutGeneric MeshDataEdit Classes Table of Contents

MasterHandler

typedef struct st_LWMasterHandler {
   LWInstanceFuncs *inst;
   LWItemFuncs     *item;
   int              type;
   double          (*event) (LWInstance, const LWMasterAccess *);
   unsigned int    (*flags) (LWInstance);
} LWMasterHandler;

#define LWMAST_SCENE     0
#define LWMAST_OBJECTS      1
#define LWMAST_EFFECTS      2

typedef struct st_LWMasterAccess {
   int            eventCode;
   void          *eventData;
   void          *data;
   LWCommandCode (*lookup)   (void *, const char *cmdName);
   int           (*execute)  (void *, LWCommandCode cmd, int argc,
                    const DynaValue *argv, DynaValue *result);
   int           (*evaluate) (void *, const char *command);
} LWMasterAccess;

LWEVNT_NOTHING
LWEVNT_ADD_ITEM
LWEVNT_DELETE_ITEM