summaryrefslogtreecommitdiff
path: root/app/legion/basemenu.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /app/legion/basemenu.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'app/legion/basemenu.h')
-rw-r--r--app/legion/basemenu.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/app/legion/basemenu.h b/app/legion/basemenu.h
new file mode 100644
index 0000000..5841852
--- /dev/null
+++ b/app/legion/basemenu.h
@@ -0,0 +1,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
+