⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 skiingcontainer.h

📁 symbian 第二版 一个滑雪游戏的例子
💻 H
字号:
#ifndef SKIINGCONTAINER_H
#define SKIINGCONTAINER_H

// INCLUDES

// System includes
#include <coecntrl.h> // CCoeControl

#include "ski.h"
#include "keyhandler.h"    // TKeyHandler

class CDoubleBufferedArea;

// FORWARD DECLARATIONS
class CEikLabel;

// CLASS DECLARATION

/**
*
* @class    CSkiingContainer SkiingContainer.h
* @brief    This is the container class for a skking example based on the
* standard Symbian OS architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
*
*/
class CSkiingContainer : public CCoeControl
{

public: // Constructors and destructor

    static CSkiingContainer* NewL(const TRect& aRect);
    static CSkiingContainer* NewLC(const TRect& aRect);
    ~CSkiingContainer();

    void StartDSA();
    void StopDSA();

    //
    // from CCoeControl
    virtual TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);

private:

    void ConstructL(const TRect& aRect);

private: // from CoeControl
    void Draw(const TRect& aRect) const;
    CSkiingContainer();


private:
    CPeriodic* iPeriodicTimer;
    TBool iUsingOffScreenBitmap;
    CSkiGameLoop* iLoop;

    CSkiEngine* iEngine;
    CSkiFrameRenderer* iRenderer;
    CDSAWrapper* iDSAWrapper;
};

#endif    // #ifndef SKIINGCONTAINER_H

// End of File

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -