blob: 29f2bbdfd8d4185570d4c4e8d10732ccc46b4e60 (
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
41
42
43
44
45
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef REPLAYBROWSER_CONFIRMQUITDLG_H
#define REPLAYBROWSER_CONFIRMQUITDLG_H
#ifdef _WIN32
#pragma once
#endif
#include "replaybrowserbasepanel.h"
#include "vgui/IScheme.h"
#include "vgui_controls/CheckButton.h"
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
class CExButton;
class CReplayConfirmQuitDialog : public CReplayBasePanel
{
DECLARE_CLASS_SIMPLE( CReplayConfirmQuitDialog, CReplayBasePanel );
public:
CReplayConfirmQuitDialog( Panel *pParent );
virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
virtual void OnCommand( const char *pCommand );
virtual void OnKeyCodeTyped( vgui::KeyCode code );
virtual void OnKeyCodePressed( vgui::KeyCode code );
private:
vgui::CheckButton *m_pDontShowAgain;
CExButton *m_pQuitButton;
};
//-----------------------------------------------------------------------------
bool ReplayUI_ShowConfirmQuitDlg();
//-----------------------------------------------------------------------------
#endif // REPLAYBROWSER_CONFIRMQUITDLG_H
|