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

📄 animationappview.h

📁 Animation Client/Server Symbian 程序.
💻 H
字号:
/*
* ==============================================================================
*  Name        : animationappview.h
*  Part of     : Animation example
*  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 __ANIMATIONAPPVIEW_H__
#define __ANIMATIONAPPVIEW_H__

// INCLUDES
#include <coecntrl.h>

/**
* CAnimationAppView.
* An instance of the Application View object for the Animation.
* example application.
*/
class CAnimationAppView : public CCoeControl
    {
    public:  // Constructors and destructor

        /**
        * NewL.
        * Two-phased constructor.
        * Create a CAnimationAppView 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 CAnimationAppView.
        */
        static CAnimationAppView* NewL( const TRect& aRect );

        /**
        * NewLC.
        * Two-phased constructor.
        * Create a CAnimationAppView object, which will draw itself to aRect.
        * @param aRect Rectangle this view will be drawn to.
        * @return A pointer to the created instance of CAnimationAppView.
        */
        static CAnimationAppView* NewLC( const TRect& aRect );

        /**
        * ~CAnimationAppView
        * Virtual Destructor.
        */
        virtual ~CAnimationAppView();

    public:  // from CCoeControl

        /**
        * Draw
        * Draw this CAnimationAppView to the screen.
        */
        void Draw( const TRect& /*aRect*/ ) const;
        
        /**
        * HandleResolutionChange.
        * Handles a resolution change
        * @param aRect the new rectangle of this view.
        */
        void HandleResolutionChange(TRect aRect);

    private: // Constructors

        /**
        * CAnimationAppView.
        * C++ default constructor.
        */
        CAnimationAppView();

        /**
        * ConstructL
        * 2nd phase constructor.
        * Perform the second phase construction of a CAnimationAppView object.
        * @param aRect The rectangle this view will be drawn to.
        */
        void ConstructL( const TRect& aRect );
    };

#endif //__ANIMATIONAPPVIEW_H__

// End of File

⌨️ 快捷键说明

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