DXDIBDialog.h
资源名称:DXGuide.zip [点击查看]
上传用户:wymy58
上传日期:2007-01-07
资源大小:2086k
文件大小:1k
源码类别:
DirextX编程
开发平台:
Visual C++
- // Copyright (C) 1998-1999 DXGuide. All Rights Reserved.
- // File: DXDIBDialog.h
- #ifndef _DXDIBDIALOG__H
- #define _DXDIBDIALOG__H
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- #include "DXRectDialog.h"
- class CPackFileManager;
- class CDDDIBSurface;
- class CDDDevice;
- class CDXDIBDialog : public CDXRectDialog
- {
- public:
- CDXDIBDialog(void);
- virtual ~CDXDIBDialog();
- public:
- bool Create(LPCRECT lprcBounds,
- CDDDevice* pDDDevice, LPCTSTR lpszBMPName,
- CPackFileManager* pPackFileManager,
- CDXGUIManager* pGUIManager,
- int nCursorIndex,
- DXDIALOG_TYPE DialogType = DXDIALOG_MODAL);
- virtual void CalcLayout(void);
- public:
- virtual void Move(int nOffsetX, int nOffsetY);
- virtual void Draw(CDDSurface* pDestSurface);
- protected:
- CDDDIBSurface* m_pBMPSurface;
- CRect m_rcClient;
- };
- #endif // _DXDIBDIALOG__H