WndShowAnimate.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
- /*****************************************************************************************
- // 界面窗口体系结构--切换显示状态时带移动控制的图形的窗口
- // Copyright : Kingsoft 2002
- // Author : Wooy(Wu yue)
- // CreateTime: 2002-12-17
- ------------------------------------------------------------------------------------------
- *****************************************************************************************/
- #pragma once
- #include "WndMovingImage.h"
- class KWndShowAnimate : public KWndMovingImage
- {
- public:
- virtual int Init(KIniFile* pIniFile, const char* pSection);//初始化
- virtual void Show();
- virtual void Hide();
- virtual void ShowCompleted();
- static void SetMoveSpeed(int nMoveSpeed, int nFullRange);
- static void SetInterval(unsigned int uInterval);
- KWndShowAnimate();
- void Clone(KWndShowAnimate* pCopy);
- protected:
- void PaintWindow();
- private:
- static int ms_nMoveSpeed;
- static int ms_nFullRange;
- int m_nCurrentSpeed;
- SIZE m_AppearRange;
- SIZE m_DisappearRange;
- static unsigned int ms_uMoveTimeInterval;
- unsigned int m_uMoveLastTime; //当前帧切换出来的时间
- };