Files
wnmj/Classes/Scenes/DuiHuanScene.h

58 lines
1.1 KiB
C
Raw Normal View History

2026-02-13 14:34:15 +08:00
#pragma once
#include "TipNode.h"
#include "RadioCtrl.h"
USING_NS_CC;
using namespace cocos2d::ui;
class DuiHuanScene : public TipNode
{
public:
DuiHuanScene();
~DuiHuanScene();
public:
CREATE_FUNC(DuiHuanScene);
virtual bool init();
virtual void onEnter();
virtual void onEnterTransitionDidFinish();
virtual void onExit();
void pushScene();
void popScene();
void initRule();
// <20>رյ<D8B1><D5B5><EFBFBD>;
void onClickClose(Ref*);
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
void onKeyReleased(EventKeyboard::KeyCode keyCode, Event * pEvent);
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WIN32)
bool onWebViewShouldStartLoading(experimental::ui::WebView *sender, const std::string &url);
void onWebViewDidFinishLoading(experimental::ui::WebView *sender, const std::string &url);
void onWebViewDidFailLoading(experimental::ui::WebView *sender, const std::string &url);
void hideLoadingLayer();
#endif
public:
ImageView* m_ImageView;
ImageView* m_ImageTop;
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WIN32)
cocos2d::experimental::ui::WebView *_webView;
LayerColor* m_layerLoading;
Sprite* m_sprLoading;
#endif
};