📄 multiviewscontainer2.h
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __MULTIVIEWS_CONTAINER2_H__
#define __MULTIVIEWS_CONTAINER2_H__
// INCLUDES
#include <aknview.h>
// CLASS DECLARATION
/**
* CMultiViewsContainer2 container control class.
* An instance of CMultiViewsContainer2 contains the view drawn to the screen
* for CMultiViewsView2
*/
class CMultiViewsContainer2 : public CCoeControl
{
public: // Constructors and destructor
/**
* NewL.
* Two-phased constructor.
* Create a CMultiViewsContainer2 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 CMultiViewsContainer2* NewL( const TRect& aRect );
/**
* NewLC.
* Two-phased constructor.
* Create a CMultiViewsContainer2 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 CMultiViewsContainer2.
*/
static CMultiViewsContainer2* 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_CONTAINER2_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -