axmol/test_uphone/tests/HiResTest/HiResTest.h

42 lines
701 B
C
Raw Normal View History

2010-09-24 12:24:38 +08:00
#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