mirror of https://github.com/axmolengine/axmol.git
42 lines
701 B
C
42 lines
701 B
C
|
#ifndef _HIRES_TEST_H_
|
||
|
#define _HIRES_TEST_H_
|
||
|
|
||
|
#include "../testBasic.h"
|
||
|
|
||
|
class HiResDemo : public CCLayer
|
||
|
{
|
||
|
public:
|
||
|
virtual std::string title();
|
||
|
virtual std::string subtitle();
|
||
|
virtual void onEnter();
|
||
|
|
||
|
void restartCallback(NSObject* pSender);
|
||
|
void nextCallback(NSObject* pSender);
|
||
|
void backCallback(NSObject* pSender);
|
||
|
};
|
||
|
|
||
|
class HiResTest1 : public HiResDemo
|
||
|
{
|
||
|
public:
|
||
|
virtual void onEnter();
|
||
|
|
||
|
virtual std::string title();
|
||
|
};
|
||
|
|
||
|
class HiResTest2 : public HiResDemo
|
||
|
{
|
||
|
public:
|
||
|
virtual void onEnter();
|
||
|
|
||
|
virtual std::string title();
|
||
|
virtual std::string subtitle();
|
||
|
};
|
||
|
|
||
|
class HiResTestScene : public TestScene
|
||
|
{
|
||
|
public:
|
||
|
virtual void runThisTest();
|
||
|
};
|
||
|
|
||
|
#endif
|