Counter Strike : Global Offensive Source Code
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.

34 lines
857 B

  1. //========= Copyright � 1996-2001, Valve LLC, All rights reserved. ============
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef SERVERCONTEXTMENU_H
  8. #define SERVERCONTEXTMENU_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. //-----------------------------------------------------------------------------
  13. // Purpose: Basic right-click context menu for servers
  14. //-----------------------------------------------------------------------------
  15. class CServerContextMenu : public vgui::Menu
  16. {
  17. public:
  18. CServerContextMenu(vgui::Panel *parent);
  19. ~CServerContextMenu();
  20. // call this to Activate the menu
  21. void ShowMenu(
  22. vgui::Panel *target,
  23. unsigned int serverID,
  24. bool showConnect,
  25. bool showViewGameInfo,
  26. bool showRefresh,
  27. bool showAddToFavorites);
  28. };
  29. #endif // SERVERCONTEXTMENU_H