example3dcontainer.h
来自「symbian C++ 手机二维软件开发例子程序」· C头文件 代码 · 共 70 行
H
70 行
/*
============================================================================
* Name : Example3DContainer.h
* Part of : Example3D
* Description : Definition of Example3DContainer
* Copyright (c) 2005 Nokia Corporation
============================================================================
*/
#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();
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 + -
显示快捷键?