ResManager.h
上传用户:hyb6888
上传日期:2016-01-24
资源大小:5186k
文件大小:2k
- #include "stdafx.h"
- #include "jpeg.h"
- #include "resource.h"
- #define actSetstr 50
- #define actTIMEOUT 100
- #include "CmyFC.h"
- #include "Autoword.h"
- #if !defined(defResManager)
- #define defResManager
- class mytimers
- {
- public:
- int time[6];//计数器采用五个,预留一个以后用。
- int num[6];
- int pt;
- mytimers();
- ~mytimers();
- apptime();
- appnum(int applong);//增加长度计数
- int GetAverage();
- reset();
- };
- class ResManager: public CmyFC
- {
- HDC WindDC;
- HINSTANCE hInst;
- int WinWidth;
- int WinHeight;
- public:
- JPEG jpegpic;
- mytimers Chtime;
- Autoword ChAutoword;
- char autoword[3];
- char textflage[3];
- char flowerflage[3];
- char frameflage[3]; //连框标记:1为使用边框,使它为取消边框
- int CurModleNum;
- char traceflage[3];
- char scrollflage[3];
- unsigned char clarityflage;
- //////////////////////////////////////////////
- //CMyWnd类的资源
- //条形背景
- HDC LinebarDC,LinebarDC1;
- HBITMAP LinebarhBmp,LinebarhBmp1;
- //程序装载的背景BackDC, 保存的一个备份背景reBackDC
- HDC oldBackDC, BackDC,reBackDC;
- HBITMAP oldBackhBmp,BackhBmp,reBackhBmp;
- //
- char CurBackPic[500];
- int FixBackPic();
- //动画中转设备
- HDC Flashhdc;
- HBITMAP Flashhdcbmp;
- InitResManager(HDC L_WindDC,HINSTANCE L_hInst,int L_WinWidth,int L_WinHeight);
-
- loadback();
- //////////////////////////////////////////////
- long findpicfile(char *fpath,char *typestr);
- ResManager();
- ~ResManager();
- };
- #endif // !defined(defResManager)