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.

35 lines
900 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Standard file menu
  4. //
  5. //=============================================================================
  6. #ifndef TOOLEDITMENUBUTTON_H
  7. #define TOOLEDITMENUBUTTON_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. //-----------------------------------------------------------------------------
  12. // forward declarations
  13. //-----------------------------------------------------------------------------
  14. namespace vgui
  15. {
  16. class Panel;
  17. }
  18. class CToolMenuButton;
  19. //-----------------------------------------------------------------------------
  20. // Global function to create the switch menu
  21. //-----------------------------------------------------------------------------
  22. CToolMenuButton* CreateToolEditMenuButton( vgui::Panel *parent, const char *panelName,
  23. const char *text, vgui::Panel *pActionTarget );
  24. #endif // TOOLEDITMENUBUTTON_H