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.

40 lines
903 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #include "ClickableTabbedPanel.h"
  8. #include <vgui/KeyValues.h>
  9. using namespace vgui;
  10. CClickableTabbedPanel::CClickableTabbedPanel(vgui2::Panel *parent, const char *panelName) : vgui2::PropertySheet(parent,panelName)
  11. {
  12. //PropertySheet::onTabPressed
  13. }
  14. CClickableTabbedPanel::~CClickableTabbedPanel()
  15. {
  16. }
  17. //-----------------------------------------------------------------------------
  18. // Purpose:
  19. // Input : code -
  20. //-----------------------------------------------------------------------------
  21. /*void CClickableTabbedPanel::onMousePressed(MouseCode code)
  22. {
  23. // check for context menu open
  24. if (code == MOUSE_RIGHT)
  25. {
  26. postActionSignal(new KeyValues("OpenContextMenu", "itemID", -1));
  27. }
  28. }*/