/************************************************************************/ //屏蔽消息面板 //优先级默认为 TP_BOTTOM = 1, // /************************************************************************/ #ifndef __XNOTOUCH_H__ #define __XNOTOUCH_H__ #include "XWindow.h" class ENGINE_API CXNoTouch : public CXWindow { public: enum NoTouchType { _NoTouch = 0, _Cavity = 1, }; public: CXNoTouch(); ~CXNoTouch(); static CXNoTouch* create(int nId, CCPoint tPos, CCRect rect, const char* psPic = NULL, CXWindow* pParentWnd = NULL); virtual UI_TYPE getUIType(); virtual bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent); NoTouchType getNoTouchType(); void setNoTouchType(NoTouchType eType); void setCavitasRect(CCRect rect); private: NoTouchType m_eNoTouchType; CCRect m_rectCavitas; }; #endif //__XNOTOUCH_H__