/* [<][>][^][v][top][bottom][index][help] */
/* placeobject.h
*
* $Id: placeobject.h,v 1.8 2007/05/22 15:28:44 krechert Exp $
*
* Notice: This header file contains declarations of functions and types that
* are just used internally. All library functions and types that are supposed
* to be publicly accessable are defined in ./src/ming.h.
*/
#ifndef SWF_PLACEOBJECT_H_INCLUDED
#define SWF_PLACEOBJECT_H_INCLUDED
#include "ming.h"
typedef struct SWFPlaceObject2Block_s *SWFPlaceObject2Block;
#define SWF_PLACE_HAS_ACTIONS (1<<7)
#define SWF_PLACE_HAS_MASK (1<<6)
#define SWF_PLACE_HAS_NAME (1<<5)
#define SWF_PLACE_HAS_RATIO (1<<4)
#define SWF_PLACE_HAS_CXFORM (1<<3)
#define SWF_PLACE_HAS_MATRIX (1<<2)
#define SWF_PLACE_HAS_CHARACTER (1<<1)
#define SWF_PLACE_MOVE (1<<0)
#define SWF_PLACE_CACHE (1<<2)
#define SWF_PLACE_HAS_BLEND (1<<1)
#define SWF_PLACE_HAS_FILTER (1<<0)
SWFPlaceObject2Block newSWFPlaceObject2Block(int depth);
void SWFPlaceObject2Block_setName(SWFPlaceObject2Block block,
const char *name);
void SWFPlaceObject2Block_setRatio(SWFPlaceObject2Block block, int ratio);
void SWFPlaceObject2Block_setDepth(SWFPlaceObject2Block block, int depth);
void SWFPlaceObject2Block_setMaskLevel(SWFPlaceObject2Block block,
int masklevel);
void SWFPlaceObject2Block_setCXform(SWFPlaceObject2Block block,
SWFCXform cXform);
void SWFPlaceObject2Block_setColorAdd(SWFPlaceObject2Block block,
int r, int g, int b, int a);
void SWFPlaceObject2Block_setColorMult(SWFPlaceObject2Block block,
float r, float g, float b, float a);
void SWFPlaceObject2Block_setMatrix(SWFPlaceObject2Block block,
SWFMatrix matrix);
void SWFPlaceObject2Block_setCharacter(SWFPlaceObject2Block block,
SWFCharacter character);
void SWFPlaceObject2Block_setMove(SWFPlaceObject2Block block);
void SWFPlaceObject2Block_addFilter(SWFPlaceObject2Block block, SWFFilter filter);
void
SWFPlaceObject2Block_setBlendMode(SWFPlaceObject2Block block, int mode);
void
SWFPlaceObject2Block_setCacheFlag(SWFPlaceObject2Block block, int flag);
#define SWF_PLACEACTION_ONLOAD (1<<0)
#define SWF_PLACEACTION_ENTERFRAME (1<<1)
#define SWF_PLACEACTION_UNLOAD (1<<2)
#define SWF_PLACEACTION_MOUSEMOVE (1<<3)
#define SWF_PLACEACTION_MOUSEDOWN (1<<4)
#define SWF_PLACEACTION_MOUSEUP (1<<5)
#define SWF_PLACEACTION_KEYDOWN (1<<6)
#define SWF_PLACEACTION_KEYUP (1<<7)
#define SWF_PLACEACTION_DATA (1<<8)
void SWFPlaceObject2Block_addAction(SWFPlaceObject2Block block,
SWFAction action, int flags);
void
destroySWFPlaceObject2Block(SWFPlaceObject2Block place);
#endif /* SWF_PLACEOBJECT_H_INCLUDED */