summaryrefslogtreecommitdiff
path: root/app/legion/basemenu.h
blob: 5841852e2d7da45aa179d1d4db1ba1452a3fa69e (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Base class menus should all inherit from 
//
// $Revision: $
// $NoKeywords: $
//===========================================================================//

#ifndef BASEMENU_H
#define BASEMENU_H

#ifdef _WIN32
#pragma once
#endif

#include "vgui_controls/frame.h"
#include "vgui/keycode.h"


//-----------------------------------------------------------------------------
// Constructor, destructor
//-----------------------------------------------------------------------------
class CBaseMenu : public vgui::Frame
{
	DECLARE_CLASS_SIMPLE( CBaseMenu, vgui::Frame );

public:
	CBaseMenu( vgui::Panel *pParent, const char *pPanelName );
	virtual ~CBaseMenu();

	// Commands
	virtual void OnCommand( const char *pCommand );
	virtual void OnKeyCodeTyped( vgui::KeyCode code );

private:
};

#endif // BASEMENU_H