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

📄 aolabtextflashcontainer.h

📁 symbian os s60 3rd 活动对象的使用
💻 H
字号:
// Copyright (c) 2006 Nokia Corporation.

#ifndef AOLABTEXTFLASHCONTAINER_H
#define AOLABTEXTFLASHCONTAINER_H

#include <coecntrl.h>
#include "activetimernotify.h"
   
class CEikLabel;
class CActiveTimer;


// Container control class
class CAOLabTextFlashContainer : public CCoeControl, MActiveTimerNotify
                               
    {
    public: // Constructors and destructor
      
		static CAOLabTextFlashContainer* NewL(const TRect& aRect);
        void ConstructL(const TRect& aRect);
        ~CAOLabTextFlashContainer();

	private: // Functions from base classes

        // From CoeControl
        void SizeChanged();
        TInt CountComponentControls() const;
        CCoeControl* ComponentControl(TInt aIndex) const;
        void Draw(const TRect& aRect) const;

        // From MActiveTimerNotify
        void TimerComplete(TInt aError);
        
    public: // Other functions
       
        void FlashingText();
        void StopFlashing();
        TBool IsFlashing() const {return iIsFlashing;}

    private: //data
        
        CEikLabel*            iTopLabel;          
        CEikLabel*            iBottomLabel;      
        CActiveTimer*         iActiveTimer;
        TBool                 iIsVisible;
        TBool                 iIsFlashing;
    };

#endif // AOLABTEXTFLASHCONTAINER_H

// End of File

⌨️ 快捷键说明

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