axmol/extensions/fairygui/controller_action/ChangePageAction.h

25 lines
461 B
C
Raw Normal View History

2020-08-04 12:31:33 +08:00
#ifndef __CHANGEPAGEACTION_H__
#define __CHANGEPAGEACTION_H__
#include "ControllerAction.h"
NS_FGUI_BEGIN
class ChangePageAction : public ControllerAction
{
public:
virtual void setup(ByteBuffer * buffer) override;
std::string objectId;
std::string controllerName;
std::string targetPage;
protected:
virtual void enter(GController* controller) override;
virtual void leave(GController* controller) override;
};
NS_FGUI_END
#endif