Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
716 B

  1. //--------------------------------------------------------------------------------------------------------
  2. //========= Copyright Valve Corporation, All rights reserved. ============//
  3. #ifndef NAV_MENU_H
  4. #define NAV_MENU_H
  5. #ifdef SERVER_USES_VGUI
  6. #include <vgui_controls/Menu.h>
  7. #include <game/client/iviewport.h>
  8. #include <filesystem.h>
  9. #include "utlstack.h"
  10. #include "utlvector.h"
  11. #include <KeyValues.h>
  12. class NavMenu : public vgui::Menu
  13. {
  14. private:
  15. DECLARE_CLASS_SIMPLE( NavMenu, vgui::Menu );
  16. public:
  17. NavMenu( vgui::Panel *parent, const char *panelName );
  18. ~NavMenu();
  19. bool LoadFromFile( const char * fileName ); // load menu from file (via KeyValues)
  20. };
  21. #endif // SERVER_USES_VGUI
  22. #endif // NAV_MENU_H