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

📄 example3dcontainer.h

📁 手机开发3D应用平台,开发平台是诺基亚的carbird,这是一个很有用的东西,希望能帮助你进行移动开发.
💻 H
字号:


#ifndef __EXAMPLE3DCONTAINER_H__
#define __EXAMPLE3DCONTAINER_H__

// INCLUDES
#include <coecntrl.h>
#include <eikenv.h> 

// FORWARD DECLARATIONS
class CEikLabel;        // for example labels
class CEngine;
class CEikButtonGroupContainer;
class CEikStatusPane;

// CLASS DECLARATION

/// CExample3DContainer  container control class.

class CExample3DContainer 
	: public CCoeControl
	, MCoeForegroundObserver
    {
    public: // Constructors and destructor
        
		/// Second phase constructor
		/// @param aRect the drawing rect
        void ConstructL( const TRect& aRect );

		/// Destructor
        ~CExample3DContainer();

    private: // From CCoeCotrol:

		TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
		void SizeChanged();
            void HandleResourceChange(TInt aType);

	private: // From MCoeForegroundObserver

		void HandleGainingForeground();
		void HandleLosingForeground();

	public:
		void Command( TInt aCommand );
    
	public: //data
        
		/// our 3D-game engine
		CEngine*	iEngine;

		/// draw area with title- and menupane
		TRect		iRect;

		/// Full screen flag
		TBool		iFullScreen;

		CEikButtonGroupContainer*	iToolBar;
		CEikStatusPane*				iStatusPane;
    };

#endif

⌨️ 快捷键说明

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