mirror of https://github.com/axmolengine/axmol.git
29 lines
516 B
C++
29 lines
516 B
C++
#ifndef _FONT_TEST_H_
|
|
#define _FONT_TEST_H_
|
|
|
|
#include "cocos2d.h"
|
|
#include "../testBasic.h"
|
|
#include "../BaseTest.h"
|
|
|
|
class FontTestScene : public TestScene
|
|
{
|
|
public:
|
|
virtual void runThisTest();
|
|
};
|
|
|
|
class FontTest : public BaseTest
|
|
{
|
|
public:
|
|
FontTest();
|
|
void showFont(const char *pFont);
|
|
|
|
void restartCallback(Ref* sender);
|
|
void nextCallback(Ref* sender);
|
|
void backCallback(Ref* sender);
|
|
virtual std::string title() const override;
|
|
|
|
CREATE_FUNC(FontTest);
|
|
};
|
|
|
|
#endif // _FONT_TEST_H_
|