summaryrefslogtreecommitdiff
path: root/sdklauncher/ModWizard_Intro.h
blob: 33303e985980431fccd25d5a7f6818d7a806a2fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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