gamacontrol.h

来自「涉及windows游戏编程中的一些源码」· C头文件 代码 · 共 28 行

H
28
字号
// GamaControl.h: interface for the CGamaControl class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GAMACONTROL_H__D6B2F027_6D7A_47F1_BE1E_1D264F0A1B27__INCLUDED_)
#define AFX_GAMACONTROL_H__D6B2F027_6D7A_47F1_BE1E_1D264F0A1B27__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <windows.h>
#include <gl\gl.h>
class CGamaControl  
{
public:
	float GetGama();
	void Apply();
	void SetGama(float f);
	CGamaControl();
	virtual ~CGamaControl();

private:
	float m_gama;

};

#endif // !defined(AFX_GAMACONTROL_H__D6B2F027_6D7A_47F1_BE1E_1D264F0A1B27__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?