📄 cmonitor.h
字号:
/*******************************************************************
* Advanced 3D Game Programming using DirectX 9.0
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* copyright (c) 2003 by Peter A Walsh and Adrian Perez
* See license.txt for modification and distribution information
******************************************************************/
// cMonitor.h: interface for the cMonitor class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CMONITOR_H__4A115C4A_D1D4_11D3_AE4F_00E029031C67__INCLUDED_)
#define AFX_CMONITOR_H__4A115C4A_D1D4_11D3_AE4F_00E029031C67__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WINDOWS_LEAN_AND_MEAN
#include <windows.h>
class cMonitor
{
HANDLE d_mutex;
public:
cMonitor();
virtual ~cMonitor();
void MutexOn() const;
void MutexOff() const;
};
#endif // !defined(AFX_CMONITOR_H__4A115C4A_D1D4_11D3_AE4F_00E029031C67__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -