diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /public/matsys_controls/assetpicker.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'public/matsys_controls/assetpicker.h')
| -rw-r--r-- | public/matsys_controls/assetpicker.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/public/matsys_controls/assetpicker.h b/public/matsys_controls/assetpicker.h new file mode 100644 index 0000000..967fd2b --- /dev/null +++ b/public/matsys_controls/assetpicker.h @@ -0,0 +1,51 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef ASSETPICKER_H +#define ASSETPICKER_H +#ifdef _WIN32 +#pragma once +#endif + +#include "matsys_controls/baseassetpicker.h" + + +//----------------------------------------------------------------------------- +// Forward declarations +//----------------------------------------------------------------------------- +namespace vgui +{ + class Panel; +} + + +//----------------------------------------------------------------------------- +// Purpose: Base class for choosing raw assets +//----------------------------------------------------------------------------- +class CAssetPicker : public CBaseAssetPicker +{ + DECLARE_CLASS_SIMPLE( CAssetPicker, CBaseAssetPicker ); + +public: + CAssetPicker( vgui::Panel *pParent, const char *pAssetType, + const char *pExt, const char *pSubDir, const char *pTextType ); +}; + + +//----------------------------------------------------------------------------- +// Purpose: Modal dialog for asset picker +//----------------------------------------------------------------------------- +class CAssetPickerFrame : public CBaseAssetPickerFrame +{ + DECLARE_CLASS_SIMPLE( CAssetPickerFrame, CBaseAssetPickerFrame ); + +public: + CAssetPickerFrame( vgui::Panel *pParent, const char *pTitle, + const char *pAssetType, const char *pExt, const char *pSubDir, const char *pTextType ); +}; + + +#endif // ASSETPICKER_H |