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 /sdklauncher/ModWizard_Intro.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'sdklauncher/ModWizard_Intro.h')
| -rw-r--r-- | sdklauncher/ModWizard_Intro.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/sdklauncher/ModWizard_Intro.h b/sdklauncher/ModWizard_Intro.h new file mode 100644 index 0000000..33303e9 --- /dev/null +++ b/sdklauncher/ModWizard_Intro.h @@ -0,0 +1,52 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef MODWIZARD_INTRO_H +#define MODWIZARD_INTRO_H +#ifdef _WIN32 +#pragma once +#endif + + +#include <vgui_controls/WizardSubPanel.h> +#include <vgui_controls/RadioButton.h> + +#include "configs.h" + + +// --------------------------------------------------------------------------------------------------------------------- // +// CreateModWizard sub panel 1. +// This panel just tells them about the wizard and what it's going to do, and gives them a chance to cancel. +// --------------------------------------------------------------------------------------------------------------------- // + +namespace vgui +{ + + class CModWizardSubPanel_Intro : public WizardSubPanel + { + public: + typedef WizardSubPanel BaseClass; + + public: + CModWizardSubPanel_Intro( Panel *parent, const char *panelName ); + + virtual WizardSubPanel* GetNextSubPanel(); + virtual void OnDisplayAsNext(); + virtual void PerformLayout(); + virtual bool OnNextButton(); + + ModType_t GetModType(); + + RadioButton *m_pModHL2Button; + RadioButton *m_pModHL2MPButton; + RadioButton *m_pModFromScratchButton; + RadioButton *m_pSourceCodeOnlyButton; + }; + +} + + +#endif // MODWIZARD_INTRO_H |