//====== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======= // // Purpose: P.E.T. (Particle Editing Tool); main UI smarts class // //============================================================================= #ifndef PETTOOL_H #define PETTOOL_H #ifdef _WIN32 #pragma once #endif #include "tier0/platform.h" #include "toolutils/basetoolsystem.h" #include "toolutils/recentfilelist.h" #include "toolutils/toolmenubar.h" #include "toolutils/toolswitchmenubutton.h" #include "toolutils/tooleditmenubutton.h" #include "toolutils/toolfilemenubutton.h" #include "toolutils/toolmenubutton.h" #include "datamodel/dmelement.h" #include "datamodel/dmehandle.h" #include "toolframework/ienginetool.h" #include "toolutils/enginetools_int.h" #include "toolutils/savewindowpositions.h" #include "toolutils/toolwindowfactory.h" #include "movieobjects/dmeparticlesystemdefinition.h" #include "particles/particles.h" //----------------------------------------------------------------------------- // Forward declarations //----------------------------------------------------------------------------- class CDmElement; class CPetDoc; class CParticleSystemPropertiesContainer; class CParticleSystemDefinitionBrowser; class CParticleSystemPreviewPanel; class CSheetEditorPanel; class CDmeParticleSystemDefinition; enum ParticleFunctionType_t; namespace vgui { class Panel; } enum { NOTIFY_FLAG_PARTICLESYS_ADDED_OR_REMOVED = (1< m_hProperties; // The entity report vgui::DHANDLE< CParticleSystemDefinitionBrowser > m_hParticleSystemDefinitionBrowser; // Particle preview window vgui::DHANDLE< CParticleSystemPreviewPanel > m_hParticlePreview; // Sheet editor // vgui::DHANDLE< CSheetEditorPanel > m_hSheetEditorPanel; // The currently viewed entity CDmeHandle< CDmeParticleSystemDefinition > m_hCurrentParticleSystem; // Separate undo context for the act busy tool CToolWindowFactory< ToolWindow > m_ToolWindowFactory; }; extern CPetTool *g_pPetTool; #endif // PETTOOL_H