aolabtextflashcontainer.h
来自「symbian os s60 3rd 活动对象的使用」· C头文件 代码 · 共 52 行
H
52 行
// 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 + =
减小字号Ctrl + -
显示快捷键?