Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
1.3 KiB

//========= 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