diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/server/NavUI/NavMenu.h | |
| download | archived-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.h | 30 |
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 |