axmol/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIRichTextTest/UIRichTextTest.h

26 lines
492 B
C
Raw Normal View History

2014-03-06 20:52:29 +08:00
#ifndef __TestCpp__UIRichTextTest__
#define __TestCpp__UIRichTextTest__
#include "../UIScene.h"
DEFINE_TEST_SUITE(UIRichTextTests);
2014-03-06 20:52:29 +08:00
class UIRichTextTest : public UIScene
{
public:
CREATE_FUNC(UIRichTextTest);
2014-03-06 20:52:29 +08:00
UIRichTextTest();
~UIRichTextTest();
virtual bool init() override;
void touchEvent(cocos2d::Ref* sender, cocos2d::ui::Widget::TouchEventType type);
2014-03-06 20:52:29 +08:00
protected:
cocos2d::ui::RichText* _richText;
2014-03-06 20:52:29 +08:00
};
#endif /* defined(__TestCpp__UIRichTextTest__) */