📄 multiviewscontainer1.h
字号:
/*
* ==============================================================================
* Name : multiviewscontainer1.h
* Part of : MultiViews
* Interface :
* Description :
* Version :
*
Copyright (c) 2004 - 2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
#ifndef __MULTIVIEWS_CONTAINER1_H__
#define __MULTIVIEWS_CONTAINER1_H__
// INCLUDES
#include <aknview.h>
#include <akndef.h>
// CLASS DECLARATION
/**
* CMultiViewsContainer1 container control class.
* An instance of CMultiViewsContainer1 contains the view drawn to the screen
* for CMultiViewsView1
*/
class CMultiViewsContainer1 : public CCoeControl
{
public: // Constructors and destructor
/**
* NewL.
* Two-phased constructor.
* Create a CMultiViewsContainer1 object, which will draw itself to aRect
* @param aRect The rectangle this view will be drawn to.
* @return a pointer to the created instance of CMultiViewsContainer1.
*/
static CMultiViewsContainer1* NewL( const TRect& aRect );
/**
* NewLC.
* Two-phased constructor.
* Create a CMultiViewsContainer1 object, which will draw itself to aRect
* @param aRect The rectangle this view will be drawn to.
* @return a pointer to the created instance of CMultiViewsContainer1.
*/
static CMultiViewsContainer1* NewLC( const TRect& aRect );
/**
* ConstructL
* 2nd phase constructor.
* @param aRect Frame rectangle for container.
*/
void ConstructL( const TRect& aRect );
public: // from CoeControl
/**
* CountComponentControls
* @return number of controls inside this container.
*/
TInt CountComponentControls() const;
/**
* ComponentControl
* @param Index number of the control.
* @return Pointer of controls inside this container.
*/
CCoeControl* ComponentControl( TInt aIndex ) const;
/**
* Draw
* Draw this CMultiViewsContainer1 to the screen.
* @param aRect the rectangle of this view that needs updating
*/
void Draw( const TRect& aRect ) const;
};
#endif // __MULTIVIEWS_CONTAINER1_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -