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;
|
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
|
|
|
|
|
|
|
virtual void onEnter();
|
|
|
|
|
2013-07-26 06:53:24 +08:00
|
|
|
void restartCallback(Object* sender);
|
|
|
|
void nextCallback(Object* sender);
|
|
|
|
void backCallback(Object* 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
|