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.

46 lines
1.4 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef ATTRIBUTESEQUENCEPICKERPANEL_H
  9. #define ATTRIBUTESEQUENCEPICKERPANEL_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #include "dme_controls/AttributeBasePickerPanel.h"
  14. #include "vgui_controls/PHandle.h"
  15. //-----------------------------------------------------------------------------
  16. // Forward declarations
  17. //-----------------------------------------------------------------------------
  18. class CMDLPickerFrame;
  19. class CSequencePickerFrame;
  20. //-----------------------------------------------------------------------------
  21. // CAttributeSequencePickerPanel
  22. //-----------------------------------------------------------------------------
  23. class CAttributeSequencePickerPanel : public CAttributeBasePickerPanel
  24. {
  25. DECLARE_CLASS_SIMPLE( CAttributeSequencePickerPanel, CAttributeBasePickerPanel );
  26. public:
  27. CAttributeSequencePickerPanel( vgui::Panel *parent, const AttributeWidgetInfo_t &info );
  28. ~CAttributeSequencePickerPanel();
  29. private:
  30. MESSAGE_FUNC_PARAMS( OnMDLSelected, "AssetSelected", kv );
  31. MESSAGE_FUNC_PARAMS( OnSequenceSelected, "SequenceSelected", kv );
  32. virtual void ShowPickerDialog();
  33. void ShowSequencePickerDialog( const char *pMDLName );
  34. };
  35. #endif // ATTRIBUTESEQUENCEPICKERPANEL_H