WHWilImage.h
上传用户:cydong117
上传日期:2009-11-10
资源大小:638k
文件大小:3k
- /******************************************************************************************************************
-
- 葛碘疙:
-
- 累己磊:
- 累己老:
-
- [老磊][荐沥磊] : 荐沥 郴侩
-
- *******************************************************************************************************************/
- #ifndef _WILIMAGEHANDLER_
- #define _WILIMAGEHANDLER_
- /******************************************************************************************************************
- CWilImageData Class Declaration
- 廓捞固瘤甫 皋葛府俊 肺爹窍芭唱 颇老 皋葛府甘屈怕肺 盔窍绰 困摹肺 技泼茄促.
- *******************************************************************************************************************/
- #pragma pack(1)
- typedef struct tagWILFILEHEADER
- {
- CHAR szTmp[40];
- INT nImageCount;
- }WILFILEHEADER, *LPWILFILEHEADER;
- typedef struct tagWILFILEIMAGEINFO
- {
- SHORT shWidth;
- SHORT shHeight;
- SHORT shPX;
- SHORT shPY;
- DWORD dwImageLength;
- }WILIMAGEINFO, *LPWILIMAGEINFO;
- typedef struct tagWIXFILEIMAGEINFO
- {
- CHAR szTmp[40];
- INT nIndexCount;
- INT* pnPosition;
- }WIXIMAGEINFO, *LPWIXIMAGEINFO;
- typedef struct tagNEWWILFILEHEADER
- {
- SHORT shComp;
- CHAR szTitle[20];
- SHORT shVer;
- INT nImageCount;
- }NEWWILFILEHEADER, *LPNEWWILFILEHEADER;
- typedef struct tagNEWWILFILEIMAGEINFO
- {
- SHORT shWidth;
- SHORT shHeight;
- SHORT shPX;
- SHORT shPY;
- CHAR bShadow;
- SHORT shShadowPX;
- SHORT shShadowPY;
- DWORD dwImageLength;
- }NEWWILIMAGEINFO, *LPNEWWILIMAGEINFO;
- typedef struct tagNEWWIXFILEIMAGEINFO
- {
- CHAR szTitle[20];
- INT nIndexCount;
- INT* pnPosition;
- }NEWWIXIMAGEINFO, *LPNEWWIXIMAGEINFO;
- #pragma pack(8)
- class CWHWilImageData
- {
- private:
- protected:
- BOOL m_bIsMemMapped; // 皋葛府甘荤侩咯何.
- BOOL m_bIsCompressed; // 拘绵咯何.
- LPBYTE m_pbStartData; // 单捞鸥狼 矫累林家.(傈眉 单捞鸥康开篮 颇老农扁客 鞍促.)
- INT m_nCurrImageIdx; // 泅犁 啊府虐绊 乐绰 牢郸胶.
- public:
- WIXIMAGEINFO m_stWixImgaeInfo; // Wix 颇老单捞鸥.
- NEWWIXIMAGEINFO m_stNewWixImgaeInfo;
- LPWILIMAGEINFO m_lpstCurrWilImageInfo; // 泅犁 廓颇老狼 沥焊甫 啊府虐绰 器牢磐.
- LPNEWWILIMAGEINFO m_lpstNewCurrWilImageInfo;
- BYTE* m_pbCurrImage; // 泅犁 廓颇老狼 捞固瘤甫 啊府虐绰 器牢磐.
- TCHAR m_szWilFileName[MAX_PATH];
- CWHWilImageData();
- ~CWHWilImageData();
- BOOL NewLoad(CHAR* szWilFile, BOOL bIsMemMapped = TRUE, BOOL bComp = TRUE);
- BOOL NewSetIndex(DWORD dwIndex); // 寇何俊辑 傈崔罐篮 牢郸胶甫 啊瘤绊 泅犁捞固瘤狼 沥焊甫 啊府虐绰 林家甫 Setting茄促.
- BOOL Load(CHAR* szWilFile, BOOL bIsMemMapped = TRUE, BOOL bComp = TRUE);
- VOID Init();
- VOID Destroy();
- VOID SetIndex(INT nIndex); // 寇何俊辑 傈崔罐篮 牢郸胶甫 啊瘤绊 泅犁捞固瘤狼 沥焊甫 啊府虐绰 林家甫 Setting茄促.
- };
- #endif //_WILIMAGEHANDLER_