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);
|
2013-07-27 21:44:49 +08:00
|
|
|
virtual void onHandlePropTypeSize(Node * pNode, Node * pParent, const char * pPropertyName, Size pSize, CCBReader * ccbReader);
|
|
|
|
virtual void onHandlePropTypeCCBFile(Node * pNode, Node * pParent, const char * pPropertyName, Node * pCCBFileNode, CCBReader * ccbReader);
|
|
|
|
virtual void onHandlePropTypeCheck(Node * pNode, Node * pParent, const char * pPropertyName, bool pCheck, CCBReader * ccbReader);
|
|
|
|
virtual void onHandlePropTypeFloat(Node * pNode, Node * pParent, const char * pPropertyName, float pFloat, CCBReader * ccbReader);
|
|
|
|
virtual void onHandlePropTypeIntegerLabeled(Node * pNode, Node * pParent, const char * pPropertyName, int pIntegerLabeled, CCBReader * ccbReader);
|
2012-06-18 19:00:26 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
#endif
|