DXSysInfoDialog.h
资源名称:DXGuide.zip [点击查看]
上传用户:wymy58
上传日期:2007-01-07
资源大小:2086k
文件大小:1k
源码类别:
DirextX编程
开发平台:
Visual C++
- #ifndef _DXSYSINFODIALOG__H
- #define _DXSYSINFODIALOG__H
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- #include "DXNormalDialog.h"
- #include "SystemInformation.h"
- class CDDLayer;
- class CDDTextSurface;
- class CDXSysInfoDialog : public CDXNormalDialog
- {
- public:
- enum SYSINFODLG_ITEM
- {
- SYSINFODLG_OSTYPE = 0,
- SYSINFODLG_NUMBEROFPROCESSORS,
- SYSINFODLG_CPUTYPE,
- SYSINFODLG_CPUFREQ,
- SYSINFODLG_CPUCACHEINFO,
- SYSINFODLG_MMX,
- SYSINFODLG_TOTALMEMORY,
- SYSINFODLG_AVAILMEMORY,
- SYSINFODLG_VIDEODESC,
- SYSINFODLG_MONITORFREQUENCY,
- /* SYSINFODLG_LOCALIPADDRESS,*/
- SYSINFODLG_NUM_ITEMS
- };
- public:
- CDXSysInfoDialog(void);
- virtual ~CDXSysInfoDialog();
- public:
- bool Create(LPCTSTR lpszBackBMPName,
- CDDDevice* pDDDevice,
- LPCTSTR lpszProfileName,
- CPackFileManager* pPackFileManager,
- CDXGUIManager* pGUIManager,
- int nCursorIndex);
- public:
- virtual bool OnButtonAction(int nID);
- virtual void Draw(CDDSurface* pDestSurface);
- virtual void Move(int nOffsetX, int nOffsetY);
- public:
- CDDLayer* m_pBackLayer;
- protected:
- CDDTextSurface* m_apSysInfoItem[SYSINFODLG_NUM_ITEMS];
- };
- #endif // _DXSYSINFODIALOG__H