2012-06-18 19:00:26 +08:00
|
|
|
#ifndef _CCB_CCSCROLLVIEWLOADER_H_
|
|
|
|
#define _CCB_CCSCROLLVIEWLOADER_H_
|
|
|
|
|
|
|
|
#include "CCNodeLoader.h"
|
2012-07-30 22:57:59 +08:00
|
|
|
#include "../GUI/CCScrollView/CCScrollView.h"
|
2012-06-18 19:00:26 +08:00
|
|
|
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
|
|
|
|
/* Forward declaration. */
|
|
|
|
class CCBReader;
|
|
|
|
|
2012-07-20 14:05:52 +08:00
|
|
|
class CCScrollViewLoader : public CCNodeLoader {
|
2012-06-18 19:00:26 +08:00
|
|
|
public:
|
2012-06-19 03:03:06 +08:00
|
|
|
virtual ~CCScrollViewLoader() {};
|
2012-06-18 19:00:26 +08:00
|
|
|
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(CCScrollViewLoader, loader);
|
|
|
|
|
|
|
|
protected:
|
2012-06-19 04:33:19 +08:00
|
|
|
CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(CCScrollView);
|
2012-11-26 21:51:05 +08:00
|
|
|
virtual void onHandlePropTypeSize(CCNode * pNode, CCNode * pParent, const char * pPropertyName, CCSize pSize, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeCCBFile(CCNode * pNode, CCNode * pParent, const char * pPropertyName, CCNode * pCCBFileNode, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeCheck(CCNode * pNode, CCNode * pParent, const char * pPropertyName, bool pCheck, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeFloat(CCNode * pNode, CCNode * pParent, const char * pPropertyName, float pFloat, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeIntegerLabeled(CCNode * pNode, CCNode * pParent, const char * pPropertyName, int pIntegerLabeled, CCBReader * pCCBReader);
|
2012-06-18 19:00:26 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
#endif
|