blob: d052fdd6fb120fdc31d52bc290af0d35e778a7d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef VGUI_DEBUGSYSTEMPANEL_H
#define VGUI_DEBUGSYSTEMPANEL_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui_controls/Panel.h>
#include <vgui_controls/PHandle.h>
class CDebugMenuButton;
class CDebugOptionsPanel;
//-----------------------------------------------------------------------------
// Purpose: A simple panel to contain a debug menu button w/ cascading menus
//-----------------------------------------------------------------------------
class CDebugSystemPanel : public vgui::Panel
{
typedef vgui::Panel BaseClass;
public:
CDebugSystemPanel( vgui::Panel *parent, char const *panelName );
// Trap visibility so that we can force the cursor on
virtual void SetVisible( bool state );
virtual void OnCommand( char const *command );
private:
CDebugMenuButton *m_pDebugMenu;
vgui::DHANDLE< CDebugOptionsPanel > m_hDebugOptions;
};
#endif // VGUI_DEBUGSYSTEMPANEL_H
|