axmol/samples/Cpp/TestCpp/Classes/FontTest/FontTest.h

29 lines
510 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(Object* sender);
void nextCallback(Object* sender);
void backCallback(Object* sender);
virtual std::string title();
CREATE_FUNC(FontTest);
};
#endif // _FONT_TEST_H_