📄 example3dcontainer.h
字号:
/*
============================================================================
* Name : Example3DContainer.h
* Part of : Example3D
* Description : Definition of Example3DContainer
* Copyright (c) 2007 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();
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 + -