Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
 
 
 
 
 
 

54 lines
1.2 KiB

//========= 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