summaryrefslogtreecommitdiff
path: root/tracker/AdminServer/PlayerContextMenu.h
blob: 94c6a7bf8e36ea46cec121941f7fd040a4c9aa75 (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================

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

#include <vgui_controls/Menu.h>

//-----------------------------------------------------------------------------
// Purpose: Basic right-click context menu for servers
//-----------------------------------------------------------------------------
class CPlayerContextMenu : public vgui::Menu
{
public:
	CPlayerContextMenu(vgui::Panel *parent);
	~CPlayerContextMenu();

	// call this to activate the menu
	void ShowMenu(vgui::Panel *target, unsigned int serverID);
private:
	vgui::Panel *parent; // so we can send it messages
};


#endif // PLAYERCONTEXTMENU_H