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 /utils/QCGenerator/CQCGenMain.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'utils/QCGenerator/CQCGenMain.h')
| -rw-r--r-- | utils/QCGenerator/CQCGenMain.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/utils/QCGenerator/CQCGenMain.h b/utils/QCGenerator/CQCGenMain.h new file mode 100644 index 0000000..7953c2a --- /dev/null +++ b/utils/QCGenerator/CQCGenMain.h @@ -0,0 +1,54 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef MDRIPPERMAIN_H +#define MDRIPPERMAIN_H +#ifdef _WIN32 +#pragma once +#endif + +#include "matsys_controls/QCGenerator.h" +#include <vgui_controls/Frame.h> +#include <FileSystem.h> +#include "vgui/IScheme.h" + +using namespace vgui; + +//----------------------------------------------------------------------------- +// Purpose: Main dialog for media browser +//----------------------------------------------------------------------------- +class CQCGenMain : public Frame +{ + DECLARE_CLASS_SIMPLE( CQCGenMain, Frame ); + +public: + + CQCGenerator *m_pQCGenerator; + CQCGenMain(Panel *parent, const char *name, const char *pszMDParam, const char *pszCollisionParam ); + virtual ~CQCGenMain(); + +protected: + + virtual void OnClose(); + virtual void OnCommand( const char *command ); + +private: + + void SetGlobalConfig( const char *modDir ); + + vgui::ComboBox *m_pConfigCombo; + bool m_bChanged; + vgui::MenuBar *m_pMenuBar; + vgui::Panel *m_pClientArea; + + MESSAGE_FUNC( OnRefresh, "refresh" ); +}; + + +extern CQCGenMain *g_pCQCGenMain; + + +#endif // MDRIPPERMAIN_H |