axmol/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/CustomTest/CustomImageTest/CustomImageTest.h

26 lines
537 B
C
Raw Normal View History

2014-03-04 16:51:35 +08:00
#ifndef __TestCpp__CustomImageScene__
#define __TestCpp__CustomImageScene__
#include "cocos2d.h"
2014-03-05 21:18:51 +08:00
#include "extensions/cocos-ext.h"
#include "BaseTest.h"
2014-03-04 16:51:35 +08:00
2014-03-07 15:36:45 +08:00
class CustomImageLayer : public cocos2d::Layer
2014-03-04 16:51:35 +08:00
{
public:
CREATE_FUNC(CustomImageLayer);
virtual bool init() override;
2014-03-04 16:51:35 +08:00
};
class CustomImageScene : public TestCase
2014-03-04 16:51:35 +08:00
{
public:
CREATE_FUNC(CustomImageScene);
virtual bool init() override;
virtual std::string title() const override { return getTestCaseName(); }
2014-03-04 16:51:35 +08:00
};
#endif /* defined(__TestCpp__CustomUIScene__) */