example3dcontainer.h
来自「手机开发3D应用平台,开发平台是诺基亚的carbird,这是一个很有用的东西,希」· C头文件 代码 · 共 64 行
H
64 行
#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 + =
减小字号Ctrl + -
显示快捷键?