skiingcontainer.h

来自「最新官方例子,图形,描述副,基本控件,通讯协议,等等,」· C头文件 代码 · 共 67 行

H
67
字号
#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 + =
减小字号Ctrl + -
显示快捷键?