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

📄 ddbouncingball_appview.h

📁 symbian平台下的一个游戏源代码
💻 H
字号:
// DDBouncingBall_AppView.h
// ---------------------------
//
// Copyright (c) 2002 Symbian Ltd.  All rights reserved.
//

////////////////////////////////////////////////////////////////////
//
//	class CDDBouncingBallAppView 
//	
//		Contains an instance of our DirectScreenAccess engine, and
//		passes commands from our App Ui class through to the engine. 
//
//		This class contains the necessary context in which to create
//		our DirectScreenAccess engine. All Draw code here is 
//		rudimentary.
//		
//		
////////////////////////////////////////////////////////////////////

#ifndef __DDBOUNCINGBALL_APPVIEW_H__
#define __DDBOUNCINGBALL_APPVIEW_H__

#include <coecntrl.h>

// Forward Declarations
class CDDBouncingBallEngine;

class CDDBouncingBallAppView : public CCoeControl
    {

public:

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

public:  
	
	// from CCoeControl
    void Draw(const TRect& aRect) const;

public:

	void StartBouncingBallL();
	void StopBouncingBall();
	TBool IsBouncing();
  
private:

    void ConstructL(const TRect& aRect);
    CDDBouncingBallAppView();

private:

	CDDBouncingBallEngine* iBouncingBall;

    };


#endif 

⌨️ 快捷键说明

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