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-09-09 22:34:32 +08:00
|
|
|
virtual void onHandlePropTypeSize(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, CCSize pSize, CCBReader * pCCBReader);
|
2012-06-19 04:59:45 +08:00
|
|
|
virtual void onHandlePropTypeCCBFile(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, CCNode * pCCBFileNode, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeCheck(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, bool pCheck, CCBReader * pCCBReader);
|
2012-06-18 19:00:26 +08:00
|
|
|
virtual void onHandlePropTypeFloat(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, float pFloat, CCBReader * pCCBReader);
|
2012-06-19 04:59:45 +08:00
|
|
|
virtual void onHandlePropTypeIntegerLabeled(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, int pIntegerLabeled, CCBReader * pCCBReader);
|
2012-06-18 19:00:26 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
#endif
|