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

78 lines
1.4 KiB
C
Raw Normal View History

#ifndef _ACTIONS__PROGRESS_TEST_H_
#define _ACTIONS_PROGRESS_TEST_H_
#include "../testBasic.h"
#include "../BaseTest.h"
class SpriteDemo : public BaseTest
2010-08-21 10:26:26 +08:00
{
public:
SpriteDemo(void);
~SpriteDemo(void);
virtual std::string title();
virtual std::string subtitle();
virtual void onEnter();
2010-08-21 10:26:26 +08:00
void restartCallback(Object* sender);
void nextCallback(Object* sender);
void backCallback(Object* sender);
2010-08-21 10:26:26 +08:00
};
class SpriteProgressToRadial : public SpriteDemo
{
public:
virtual void onEnter();
virtual std::string subtitle();
2010-08-21 10:26:26 +08:00
};
class SpriteProgressToHorizontal : public SpriteDemo
{
public:
virtual void onEnter();
virtual std::string subtitle();
2010-08-21 10:26:26 +08:00
};
class SpriteProgressToVertical : public SpriteDemo
{
public:
virtual void onEnter();
virtual std::string subtitle();
};
class SpriteProgressToRadialMidpointChanged : public SpriteDemo
{
public:
virtual void onEnter();
virtual std::string subtitle();
};
class SpriteProgressBarVarious : public SpriteDemo
{
public:
virtual void onEnter();
virtual std::string subtitle();
};
class SpriteProgressBarTintAndFade : public SpriteDemo
{
public:
virtual void onEnter();
virtual std::string subtitle();
};
class SpriteProgressWithSpriteFrame : public SpriteDemo
{
public:
virtual void onEnter();
virtual std::string subtitle();
2010-08-21 10:26:26 +08:00
};
class ProgressActionsTestScene : public TestScene
{
public:
virtual void runThisTest();
};
#endif