summaryrefslogtreecommitdiff
path: root/game/server/NavUI/NavMenu.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 /game/server/NavUI/NavMenu.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/server/NavUI/NavMenu.h')
-rw-r--r--game/server/NavUI/NavMenu.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/game/server/NavUI/NavMenu.h b/game/server/NavUI/NavMenu.h
new file mode 100644
index 0000000..e9e1597
--- /dev/null
+++ b/game/server/NavUI/NavMenu.h
@@ -0,0 +1,30 @@
+//--------------------------------------------------------------------------------------------------------
+//========= Copyright Valve Corporation, All rights reserved. ============//
+
+#ifndef NAV_MENU_H
+#define NAV_MENU_H
+
+#ifdef SERVER_USES_VGUI
+
+#include <vgui_controls/Menu.h>
+#include <game/client/iviewport.h>
+#include <filesystem.h>
+#include "utlstack.h"
+#include "utlvector.h"
+#include <KeyValues.h>
+
+class NavMenu : public vgui::Menu
+{
+private:
+ DECLARE_CLASS_SIMPLE( NavMenu, vgui::Menu );
+
+public:
+ NavMenu( vgui::Panel *parent, const char *panelName );
+ ~NavMenu();
+
+ bool LoadFromFile( const char * fileName ); // load menu from file (via KeyValues)
+};
+
+#endif // SERVER_USES_VGUI
+
+#endif // NAV_MENU_H