axmol/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/CustomWidget/CustomImageViewReader.h

24 lines
589 B
C++

#ifndef __TestCpp__CustomImageViewReader__
#define __TestCpp__CustomImageViewReader__
#include "extensions/cocos-ext.h"
#include "cocostudio/DictionaryHelper.h"
#include "ui/CocosGUI.h"
class CustomImageViewReader : public cocos2d::Ref
{
public:
CustomImageViewReader();
~CustomImageViewReader();
static CustomImageViewReader* getInstance();
static void purge();
virtual void setProperties(const std::string& classType, cocos2d::ui::Widget* widget, const rapidjson::Value& customOptions);
};
#endif /* defined(__TestCpp__CustomImageViewReader__) */