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.

51 lines
1.5 KiB

  1. //====== Copyright � 1996-2005, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef ASSETPICKER_H
  7. #define ASSETPICKER_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "matsys_controls/baseassetpicker.h"
  12. //-----------------------------------------------------------------------------
  13. // Forward declarations
  14. //-----------------------------------------------------------------------------
  15. namespace vgui
  16. {
  17. class Panel;
  18. }
  19. //-----------------------------------------------------------------------------
  20. // Purpose: Base class for choosing raw assets
  21. //-----------------------------------------------------------------------------
  22. class CAssetPicker : public CBaseAssetPicker
  23. {
  24. DECLARE_CLASS_SIMPLE( CAssetPicker, CBaseAssetPicker );
  25. public:
  26. CAssetPicker( vgui::Panel *pParent, const char *pAssetType,
  27. const char *pExt, const char *pSubDir, const char *pTextType );
  28. };
  29. //-----------------------------------------------------------------------------
  30. // Purpose: Modal dialog for asset picker
  31. //-----------------------------------------------------------------------------
  32. class CAssetPickerFrame : public CBaseAssetPickerFrame
  33. {
  34. DECLARE_CLASS_SIMPLE( CAssetPickerFrame, CBaseAssetPickerFrame );
  35. public:
  36. CAssetPickerFrame( vgui::Panel *pParent, const char *pTitle,
  37. const char *pAssetType, const char *pExt, const char *pSubDir, const char *pTextType );
  38. };
  39. #endif // ASSETPICKER_H