mirror of https://github.com/axmolengine/axmol.git
add subTitle (#19731)
This commit is contained in:
parent
97431b1197
commit
a066ac729f
|
@ -134,6 +134,11 @@ std::string MotionStreakTest2::title() const
|
|||
return "MotionStreak test";
|
||||
}
|
||||
|
||||
std::string MotionStreakTest2::subtitle() const
|
||||
{
|
||||
return "Need Touch Movement";
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------
|
||||
//
|
||||
// Issue1358
|
||||
|
|
|
@ -69,6 +69,7 @@ public:
|
|||
virtual void onEnter() override;
|
||||
void onTouchesMoved(const std::vector<cocos2d::Touch*>& touches, cocos2d::Event* event);
|
||||
virtual std::string title() const override;
|
||||
virtual std::string subtitle() const override;
|
||||
};
|
||||
|
||||
class Issue1358 : public MotionStreakTest
|
||||
|
|
Loading…
Reference in New Issue