qhtm_setresources.cpp
来自「hl2 source code. Do not use it illegal.」· C++ 代码 · 共 30 行
CPP
30 行
/*----------------------------------------------------------------------
Copyright (c) 1998,1999 Gipsysoft. All Rights Reserved.
Please see the file "licence.txt" for licencing details.
File: QHTM_SetResources.cpp
Owner: russf@gipsysoft.com
Purpose:
Allow client code to set the resources used in QHTM.
----------------------------------------------------------------------*/
#include "stdafx.h"
#include "qhtm.h"
#include "QHTM_Includes.h"
UINT g_uHandCursorID = 0;
UINT g_uNoImageBitmapID = 0;
HINSTANCE g_hResourceInstance = NULL;
void WINAPI QHTM_SetResources( HINSTANCE hInst, UINT uHandCursorID, UINT uNoImageBitmapID )
{
//
// Must pass all three!
ASSERT( uHandCursorID );
ASSERT( uNoImageBitmapID );
ASSERT( hInst );
g_uHandCursorID = uHandCursorID;
g_uNoImageBitmapID = uNoImageBitmapID;
g_hResourceInstance = hInst;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?