aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/client/replay/vgui/replaybrowserbasepanel.h
blob: 2268b8b45817653d4497259663c432483a496ee4 (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
//=======================================================================================//

#ifndef REPLAYBASEPANEL_H
#define REPLAYBASEPANEL_H
#ifdef _WIN32
#pragma once
#endif

#include "vgui_controls/EditablePanel.h"

//-----------------------------------------------------------------------------
// Purpose: Base panel for replay panels
//-----------------------------------------------------------------------------
class CReplayBasePanel : public vgui::EditablePanel
{
	DECLARE_CLASS_SIMPLE( CReplayBasePanel, vgui::EditablePanel );
public:
	CReplayBasePanel( Panel *pParent, const char *pName );

	void GetPosRelativeToAncestor( Panel *pAncestor, int &nXOut, int &nYOut );
};

#endif // REPLAYBASEPANEL_H