axmol/tests/cpp-tests/Classes/ExtensionsTest/CocoStudioGUITest/CocoStudioGUITest.h

29 lines
619 B
C
Raw Normal View History

2014-03-04 16:51:35 +08:00
#ifndef __TestCpp__CocoStudioGUITest__
#define __TestCpp__CocoStudioGUITest__
#include "../../testBasic.h"
class CocoStudioGUIMainLayer : public Layer
{
public:
virtual void onEnter();
void onTouchesBegan(const std::vector<Touch*>& touches, Event *event);
// void onTouchesMoved(const std::vector<Touch*>& touches, Event *event);
private:
Point _beginPos;
Menu* _itemMenu;
};
class CocoStudioGUITestScene : public TestScene
{
public:
virtual void onEnter();
virtual void runThisTest();
void BackCallback(Ref* pSender);
};
#endif /* defined(__TestCpp__CocoStudioGUITest__) */