2014-03-04 16:51:35 +08:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef __TestCpp__CustomImageViewReader__
|
|
|
|
#define __TestCpp__CustomImageViewReader__
|
|
|
|
|
2014-03-05 21:18:51 +08:00
|
|
|
#include "extensions/cocos-ext.h"
|
2014-03-04 16:51:35 +08:00
|
|
|
#include "cocostudio/DictionaryHelper.h"
|
2014-03-11 17:13:54 +08:00
|
|
|
#include "ui/CocosGUI.h"
|
2014-03-04 16:51:35 +08:00
|
|
|
|
2014-03-07 15:36:45 +08:00
|
|
|
class CustomImageViewReader : public cocos2d::Ref
|
2014-03-04 16:51:35 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
CustomImageViewReader();
|
|
|
|
~CustomImageViewReader();
|
|
|
|
|
|
|
|
static CustomImageViewReader* getInstance();
|
|
|
|
static void purge();
|
|
|
|
|
2014-03-07 15:36:45 +08:00
|
|
|
virtual void setProperties(const std::string& classType, cocos2d::ui::Widget* widget, const rapidjson::Value& customOptions);
|
2014-03-04 16:51:35 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* defined(__TestCpp__CustomImageViewReader__) */
|