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.

45 lines
1.6 KiB

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose: Dialog used to edit properties of a particle system definition
  4. //
  5. //===========================================================================//
  6. #ifndef PARTICLESYSTEMPROPERTIESCONTAINER_H
  7. #define PARTICLESYSTEMPROPERTIESCONTAINER_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "dme_controls/particlesystempropertiespanel.h"
  12. //-----------------------------------------------------------------------------
  13. // Forward declarations
  14. //-----------------------------------------------------------------------------
  15. class CPetDoc;
  16. //-----------------------------------------------------------------------------
  17. // Panel used to edit a particle system definition
  18. //-----------------------------------------------------------------------------
  19. class CParticleSystemPropertiesContainer : public CParticleSystemPropertiesPanel, public IParticleSystemPropertiesPanelQuery
  20. {
  21. DECLARE_CLASS_SIMPLE( CParticleSystemPropertiesContainer, CParticleSystemPropertiesPanel );
  22. public:
  23. CParticleSystemPropertiesContainer( CPetDoc *pDoc, vgui::Panel* pParent ); // standard constructor
  24. // Inherited from IParticleSystemPropertiesPanelQuery
  25. virtual void GetKnownParticleDefinitions( CUtlVector< CDmeParticleSystemDefinition* > &definitions );
  26. private:
  27. MESSAGE_FUNC_PARAMS( OnParticleFunctionSelChanged, "ParticleFunctionSelChanged", params );
  28. // For inheriting classes to get notified without having to listen to messages
  29. virtual void OnParticleSystemModified();
  30. CPetDoc *m_pDoc;
  31. };
  32. #endif // PARTICLESYSTEMPROPERTIESCONTAINER_H