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.

57 lines
1.5 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef CLIPVIEWPANEL_H
  8. #define CLIPVIEWPANEL_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "vgui_controls/Frame.h"
  13. //-----------------------------------------------------------------------------
  14. // Forward declarations
  15. //-----------------------------------------------------------------------------
  16. class CDmeDagEditPanel;
  17. class CDmeDag;
  18. class CDmeAnimationList;
  19. class CDmeCombinationOperator;
  20. //-----------------------------------------------------------------------------
  21. // Material Viewer Panel
  22. //-----------------------------------------------------------------------------
  23. class CClipViewPanel : public vgui::Frame
  24. {
  25. typedef vgui::Frame BaseClass;
  26. public:
  27. // constructor, destructor
  28. CClipViewPanel( vgui::Panel *pParent, const char *pName );
  29. virtual ~CClipViewPanel();
  30. // Overriden methods of vgui::Panel
  31. virtual void PerformLayout();
  32. virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
  33. // Sets the current scene + camera
  34. void SetScene( CDmeDag *pScene );
  35. void SetAnimationList( CDmeAnimationList *pAnimationList );
  36. void SetVertexAnimationList( CDmeAnimationList *pAnimationList );
  37. void SetCombinationOperator( CDmeCombinationOperator *pComboOp );
  38. void RefreshCombinationOperator();
  39. CDmeDag *GetScene( );
  40. private:
  41. CDmeDagEditPanel *m_pClipViewPreview;
  42. };
  43. #endif // CLIPVIEWPANEL_H