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;
|
|
|
|
|
2013-06-20 14:15:53 +08:00
|
|
|
class ScrollViewLoader : public NodeLoader {
|
2012-06-18 19:00:26 +08:00
|
|
|
public:
|
2013-06-20 14:15:53 +08:00
|
|
|
virtual ~ScrollViewLoader() {};
|
|
|
|
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(ScrollViewLoader, loader);
|
2012-06-18 19:00:26 +08:00
|
|
|
|
|
|
|
protected:
|
2013-06-20 14:15:53 +08:00
|
|
|
CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(ScrollView);
|
|
|
|
virtual void onHandlePropTypeSize(Node * pNode, Node * pParent, const char * pPropertyName, Size pSize, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeCCBFile(Node * pNode, Node * pParent, const char * pPropertyName, Node * pCCBFileNode, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeCheck(Node * pNode, Node * pParent, const char * pPropertyName, bool pCheck, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeFloat(Node * pNode, Node * pParent, const char * pPropertyName, float pFloat, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeIntegerLabeled(Node * pNode, Node * pParent, const char * pPropertyName, int pIntegerLabeled, CCBReader * pCCBReader);
|
2012-06-18 19:00:26 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
#endif
|