#ifndef __CCDECORATIVEDISPLAY_H__
#define __CCDECORATIVEDISPLAY_H__
#include "../utils/CCArmatureDefine.h"
#include "CCDisplayFactory.h"
#include "../datas/CCDatas.h"
#include "../external_tool/sigslot.h"
#if ENABLE_PHYSICS_DETECT
#include "../physics/CCColliderDetector.h"
#endif
NS_CC_EXT_BEGIN
class CCDecorativeDisplay: public CCObject, public sigslot::has_slots<>
{
public:
static CCDecorativeDisplay *create();
public:
CCDecorativeDisplay(void);
~CCDecorativeDisplay(void);
virtual bool init();
protected:
CC_SYNTHESIZE_RETAIN(CCNode *, m_pDisplay, Display);
CC_SYNTHESIZE_RETAIN(CCDisplayData *, m_pDisplayData, DisplayData);
#if ENABLE_PHYSICS_DETECT
CC_SYNTHESIZE_RETAIN(CCColliderDetector *, m_pColliderDetector, ColliderDetector);
#endif
public:
void anchorPointChanged(float pointX, float pointY);
};
NS_CC_EXT_END
#endif /*__CCDECORATIVEDISPLAY_H__*/