2010-08-23 10:17:29 +08:00
|
|
|
#ifndef _EFFECTS_TEST_H_
|
|
|
|
#define _EFFECTS_TEST_H_
|
2012-04-19 14:35:52 +08:00
|
|
|
|
|
|
|
#include "../testBasic.h"
|
2013-06-07 08:12:28 +08:00
|
|
|
#include "../BaseTest.h"
|
2012-04-19 14:35:52 +08:00
|
|
|
|
|
|
|
class EffectTestScene : public TestScene
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void runThisTest();
|
|
|
|
};
|
|
|
|
|
2013-06-07 08:12:28 +08:00
|
|
|
class TextLayer : public BaseTest
|
2010-08-23 10:17:29 +08:00
|
|
|
{
|
2012-04-19 14:35:52 +08:00
|
|
|
protected:
|
2013-06-15 14:03:30 +08:00
|
|
|
//UxString _title;
|
2013-12-16 14:21:05 +08:00
|
|
|
NodeGrid* _gridNodeTarget;
|
2012-04-19 14:35:52 +08:00
|
|
|
public:
|
|
|
|
TextLayer(void);
|
|
|
|
~TextLayer(void);
|
|
|
|
|
2012-06-08 13:55:28 +08:00
|
|
|
void checkAnim(float dt);
|
2012-04-19 14:35:52 +08:00
|
|
|
|
2014-02-27 21:10:03 +08:00
|
|
|
virtual void onEnter() override;
|
2012-04-19 14:35:52 +08:00
|
|
|
|
2014-02-20 10:53:49 +08:00
|
|
|
void restartCallback(Ref* sender);
|
|
|
|
void nextCallback(Ref* sender);
|
|
|
|
void backCallback(Ref* sender);
|
2012-04-19 14:35:52 +08:00
|
|
|
|
|
|
|
void newScene();
|
|
|
|
|
2012-06-14 15:13:16 +08:00
|
|
|
static TextLayer* create();
|
2010-08-23 10:17:29 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|