summaryrefslogtreecommitdiff
path: root/utils/sceneviewer/clipviewpanel.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/sceneviewer/clipviewpanel.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'utils/sceneviewer/clipviewpanel.h')
-rw-r--r--utils/sceneviewer/clipviewpanel.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/utils/sceneviewer/clipviewpanel.h b/utils/sceneviewer/clipviewpanel.h
new file mode 100644
index 0000000..acef763
--- /dev/null
+++ b/utils/sceneviewer/clipviewpanel.h
@@ -0,0 +1,58 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================
+
+#ifndef CLIPVIEWPANEL_H
+#define CLIPVIEWPANEL_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "vgui_controls/Frame.h"
+
+
+//-----------------------------------------------------------------------------
+// Forward declarations
+//-----------------------------------------------------------------------------
+class CDmeDagEditPanel;
+class CDmeDag;
+class CDmeAnimationList;
+class CDmeCombinationOperator;
+
+
+//-----------------------------------------------------------------------------
+// Material Viewer Panel
+//-----------------------------------------------------------------------------
+class CClipViewPanel : public vgui::Frame
+{
+ typedef vgui::Frame BaseClass;
+
+public:
+ // constructor, destructor
+ CClipViewPanel( vgui::Panel *pParent, const char *pName );
+ virtual ~CClipViewPanel();
+
+ // Overriden methods of vgui::Panel
+ virtual void PerformLayout();
+ virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
+
+ // Sets the current scene + camera
+ void SetScene( CDmeDag *pScene );
+ void SetAnimationList( CDmeAnimationList *pAnimationList );
+ void SetVertexAnimationList( CDmeAnimationList *pAnimationList );
+ void SetCombinationOperator( CDmeCombinationOperator *pComboOp );
+ void RefreshCombinationOperator();
+
+ CDmeDag *GetScene( );
+
+private:
+ CDmeDagEditPanel *m_pClipViewPreview;
+};
+
+
+
+#endif // CLIPVIEWPANEL_H \ No newline at end of file