TetrisAppView.h
上传用户:snevogroup
上传日期:2008-06-06
资源大小:432k
文件大小:1k
- #ifndef __TETRISAPPVIEW_H
- #define __TETRISAPPVIEW_H
- #include <coecntrl.h>
- class CSplash;
- class CTetrisAppView : public CCoeControl
- {
- public:
- static CTetrisAppView* NewL(const TRect& aRect);
- static CTetrisAppView* NewLC(const TRect& aRect);
- ~CTetrisAppView();
- CTetrisAppView();
- private:
- void ConstructL(const TRect& aRect);
- public: // from CCoeControl
- void Draw(const TRect& aRect) const;
- enum TState
- {
- ESplash,
- EMain,
- EExiting,
- };
- public:
- void Command( TInt aCommand );
-
- // Other method
- public:
-
- void SetState(TState aState);
- // data
- private:
- TState iState;
- CSplash* iSplash; // has a
- // Full screen flag
- TBool iFullScreen; // use
- CEikButtonGroupContainer* iToolBar; // use
- CEikStatusPane* iStatusPane; // use
-
-
- };
- #endif