📄 popupwindow.h
字号:
/*
* ============================================================================
* Name : CPopupWindow from PicaInfoPopupWindow.h
* Part of : PicaClient
* Created : 2004-11-12 by zhao guo qing
* Description:
* Declares main application class.
* Version :
* Copyright: mmim
* ============================================================================
*/
#ifndef __POP_WINDOW_H__
#define __POP_WINDOW_H__
// INCLUDES
#include <aknview.h>
#include "timeouttimer.h"
// CLASS DECLARATION
/**
* Popup window class
*/
class CPopupWindow : public CCoeControl,
public MTimeOutNotifier
{
public: // Constructors and destructor
/**
* C++ default constructor.
*/
CPopupWindow();
/**
* EPOC default constructor.
*/
void ConstructL(const TRect& aRect);
/**
* Destructor.
*/
virtual ~CPopupWindow();
public: // Functions from base classes
/**
* From CCoeControl, SetColoe
* @param aColor, aColor is the color set to.
*/
void SetColor(TRgb aColor);
void SetShowMsg(const TDesC & msg);
private: // Functions from base classes
void TimerExpired();
/**
* From CCoeControl,Draw.
* @param Specified area for drawing
*/
void Draw(const TRect& aRect) const;
private: // Data
RWindowGroup iMyWindowGroup;
CTimeOutTimer* iTimer;
CFbsBitmap* iIcon;
CFbsBitmap* iIconMask;
TRgb iColor;
TBuf<128> iDrawMsg;
TInt iInernalLeft;
TInt iMsgLen;
};
#endif // __POP_WINDOW_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -