⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ldleniefeilongappview.h

📁 symbian 视图切换源代码,很有学习价值
💻 H
字号:
/* Copyright (c) 2008, NieFeiLong. All rights reserved */

#ifndef __LDLENIEFEILONG_APPVIEW_H__
#define __LDLENIEFEILONG_APPVIEW_H__


#include <coecntrl.h>

/*! 
  @class CLDLENieFeiLongAppView
  
  @discussion An instance of this class is the Application View object
  for the LDLENieFeiLong example application
  */
class CLDLENieFeiLongAppView : public CCoeControl
    {
public:

/*!
  @function NewL
   
  @discussion Create a CLDLENieFeiLongAppView object, which will draw itself to aRect
  @param aRect The rectangle this view will be drawn to
  @result A pointer to the created instance of CLDLENieFeiLongAppView
  */
    static CLDLENieFeiLongAppView* NewL(const TRect& aRect);

/*!
  @function NewLC
   
  @discussion Create a CLDLENieFeiLongAppView object, which will draw itself to aRect
  @param aRect The rectangle this view will be drawn to
  @result A pointer to the created instance of CLDLENieFeiLongAppView
  */
    static CLDLENieFeiLongAppView* NewLC(const TRect& aRect);


/*!
  @function ~CLDLENieFeiLongAppView
  
  @discussion Destroy the object
  */
    ~CLDLENieFeiLongAppView();


public:  // from CCoeControl
/*!
  @function Draw
  
  @discussion Draw this CLDLENieFeiLongAppView to the screen
  @param aRect The rectangle of this view that needs updating
  */
    void Draw(const TRect& aRect) const;
  

private:

/*!
  @function ConstructL
  
  @discussion  Perform the second phase construction of a CLDLENieFeiLongAppView object
  @param aRect The rectangle this view will be drawn to
  */
    void ConstructL(const TRect& aRect);

/*!
  @function CLDLENieFeiLongAppView
  
  @discussion Perform the first phase of two phase construction 
  */
    CLDLENieFeiLongAppView();
    };


#endif // __LDLENIEFEILONG_APPVIEW_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -