⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 icmdline.h

📁 hl2 source code. Do not use it illegal.
💻 H
字号:
/**********************************************************************
 *<
	FILE:			icmdline.h

	DESCRIPTION:	Class definitions for command line panel interface

	CREATED BY:		Christer Janson

	HISTORY:		Created 26 September 1997

 *>	Copyright (c) Autodesk, 1997, All Rights Reserved.
 **********************************************************************/

#if !defined(_ICMDLINE_H_)
#define _ICMDLINE_H_

class CommandLineCallback {
public:
	virtual BOOL	ExecuteCommand(TCHAR* szCmdLine) { return FALSE; };
	virtual void	GotKeyEvent(UINT message, WPARAM wParam, LPARAM lParam) {};
};

class ICommandLine {
public:
	virtual BOOL	RegisterCallback(CommandLineCallback* cb) = 0;
	virtual BOOL	UnRegisterCallback(CommandLineCallback* cb) = 0;
	virtual void	SetVisibility(BOOL bShow) = 0;
	virtual BOOL	GetVisibility() = 0;
	virtual	BOOL	Prompt(TCHAR* szCmdLine) = 0;

	// Set the actual string in the command line editor
	virtual	BOOL	SetCommandLineText(TCHAR* szCmdLine) = 0;
};

#endif // _ICMDLINE_H_

⌨️ 快捷键说明

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