diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /sp/src/public/matsys_controls/vtfpicker.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/public/matsys_controls/vtfpicker.h')
| -rw-r--r-- | sp/src/public/matsys_controls/vtfpicker.h | 118 |
1 files changed, 59 insertions, 59 deletions
diff --git a/sp/src/public/matsys_controls/vtfpicker.h b/sp/src/public/matsys_controls/vtfpicker.h index fa1efa07..ce8478af 100644 --- a/sp/src/public/matsys_controls/vtfpicker.h +++ b/sp/src/public/matsys_controls/vtfpicker.h @@ -1,59 +1,59 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================
-
-#ifndef VTFPICKER_H
-#define VTFPICKER_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "matsys_controls/baseassetpicker.h"
-
-
-//-----------------------------------------------------------------------------
-// Forward declarations
-//-----------------------------------------------------------------------------
-class CVTFPreviewPanel;
-
-namespace vgui
-{
- class Splitter;
-}
-
-
-//-----------------------------------------------------------------------------
-// Purpose: Base class for choosing raw assets
-//-----------------------------------------------------------------------------
-class CVTFPicker : public CBaseAssetPicker
-{
- DECLARE_CLASS_SIMPLE( CVTFPicker, CBaseAssetPicker );
-
-public:
- CVTFPicker( vgui::Panel *pParent );
- virtual ~CVTFPicker();
-
-private:
- // Derived classes have this called when the previewed asset changes
- virtual void OnSelectedAssetPicked( const char *pAssetName );
-
- CVTFPreviewPanel *m_pVTFPreview;
- vgui::Splitter *m_pPreviewSplitter;
-};
-
-
-//-----------------------------------------------------------------------------
-// Purpose: Modal dialog for asset picker
-//-----------------------------------------------------------------------------
-class CVTFPickerFrame : public CBaseAssetPickerFrame
-{
- DECLARE_CLASS_SIMPLE( CVTFPickerFrame, CBaseAssetPickerFrame );
-
-public:
- CVTFPickerFrame( vgui::Panel *pParent, const char *pTitle );
-};
-
-
-#endif // VTFPICKER_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef VTFPICKER_H +#define VTFPICKER_H +#ifdef _WIN32 +#pragma once +#endif + +#include "matsys_controls/baseassetpicker.h" + + +//----------------------------------------------------------------------------- +// Forward declarations +//----------------------------------------------------------------------------- +class CVTFPreviewPanel; + +namespace vgui +{ + class Splitter; +} + + +//----------------------------------------------------------------------------- +// Purpose: Base class for choosing raw assets +//----------------------------------------------------------------------------- +class CVTFPicker : public CBaseAssetPicker +{ + DECLARE_CLASS_SIMPLE( CVTFPicker, CBaseAssetPicker ); + +public: + CVTFPicker( vgui::Panel *pParent ); + virtual ~CVTFPicker(); + +private: + // Derived classes have this called when the previewed asset changes + virtual void OnSelectedAssetPicked( const char *pAssetName ); + + CVTFPreviewPanel *m_pVTFPreview; + vgui::Splitter *m_pPreviewSplitter; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Modal dialog for asset picker +//----------------------------------------------------------------------------- +class CVTFPickerFrame : public CBaseAssetPickerFrame +{ + DECLARE_CLASS_SIMPLE( CVTFPickerFrame, CBaseAssetPickerFrame ); + +public: + CVTFPickerFrame( vgui::Panel *pParent, const char *pTitle ); +}; + + +#endif // VTFPICKER_H |