mirror of https://github.com/axmolengine/axmol.git
29 lines
717 B
C
29 lines
717 B
C
|
//
|
||
|
// CustomParticleWidgetReader.h
|
||
|
// CustomUI
|
||
|
//
|
||
|
// Created by cai wenzhi on 14-3-7.
|
||
|
//
|
||
|
//
|
||
|
|
||
|
#ifndef __CustomUI__CustomParticleWidgetReader__
|
||
|
#define __CustomUI__CustomParticleWidgetReader__
|
||
|
|
||
|
#include "extensions/cocos-ext.h"
|
||
|
#include "cocostudio/DictionaryHelper.h"
|
||
|
#include "gui/CocosGUI.h"
|
||
|
|
||
|
class CustomParticleWidgetReader : public cocos2d::Ref
|
||
|
{
|
||
|
public:
|
||
|
CustomParticleWidgetReader();
|
||
|
~CustomParticleWidgetReader();
|
||
|
|
||
|
static CustomParticleWidgetReader* getInstance();
|
||
|
static void purge();
|
||
|
|
||
|
virtual void setProperties(const std::string& classType, cocos2d::ui::Widget* widget, const rapidjson::Value& customOptions);
|
||
|
};
|
||
|
|
||
|
#endif /* defined(__CustomUI__CustomParticleWidgetReader__) */
|