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.

57 lines
1.4 KiB

  1. //======= Copyright (c) 1996-2009, Valve Corporation, All rights reserved. ======
  2. //
  3. // CSheetEditorPanel - Tool panel for editing sprite sheet information
  4. //
  5. //===============================================================================
  6. #ifndef SHEETEDITORPANEL_H
  7. #define SHEETEDITORPANEL_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "vgui_controls/EditablePanel.h"
  12. //-----------------------------------------------------------------------------
  13. // Forward declarations
  14. //-----------------------------------------------------------------------------
  15. class CDmeParticleSystemDefinition;
  16. class CSheet;
  17. class CVMTPicker;
  18. class CVMTPreviewPanel;
  19. namespace vgui
  20. {
  21. class IScheme;
  22. class Label;
  23. class TextEntry;
  24. class IScheme;
  25. }
  26. //-----------------------------------------------------------------------------
  27. //
  28. //-----------------------------------------------------------------------------
  29. class CSheetEditorPanel : public vgui::EditablePanel
  30. {
  31. DECLARE_CLASS_SIMPLE( CSheetEditorPanel, vgui::EditablePanel );
  32. public:
  33. // constructor, destructor
  34. CSheetEditorPanel( vgui::Panel *pParent, const char *pName );
  35. virtual ~CSheetEditorPanel();
  36. void SetParticleSystem( CDmeParticleSystemDefinition *pParticleSystem );
  37. virtual void ApplySchemeSettings(vgui::IScheme *pScheme);
  38. private:
  39. vgui::Label *m_pTitleLabel;
  40. vgui::ListPanel *m_pTestList;
  41. CVMTPreviewPanel *m_pVMTPreview;
  42. CVMTPicker* m_pVMTPicker;
  43. CSheet *m_pSheetInfo;
  44. };
  45. #endif // SHEETEDITORPANEL_H