mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-18 06:21:55 +00:00
1
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose: Implements all the functions exported by the GameUI dll
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================//
|
||||
|
||||
#pragma once
|
||||
|
||||
class IMatSystemSurface;
|
||||
class CVGuiWnd;
|
||||
|
||||
extern IMatSystemSurface *g_pMatSystemSurface;
|
||||
|
||||
class CHammerVGui
|
||||
{
|
||||
public:
|
||||
CHammerVGui(void);
|
||||
~CHammerVGui(void);
|
||||
|
||||
bool Init( HWND hWindow );
|
||||
void Simulate();
|
||||
void Shutdown();
|
||||
bool HasFocus( CVGuiWnd *pWnd );
|
||||
void SetFocus( CVGuiWnd *pWnd );
|
||||
bool IsInitialized() { return m_hMainWindow != NULL; };
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
HWND m_hMainWindow;
|
||||
CVGuiWnd *m_pActiveWindow; // the VGUI window that has the focus
|
||||
};
|
||||
|
||||
CHammerVGui *HammerVGui();
|
||||
Reference in New Issue
Block a user