blob: 5e0329b6b154ffc75a731c0cf755dc0946f11a3f (
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
53
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#ifndef MODWIZARD_GETMODINFO_H
#define MODWIZARD_GETMODINFO_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui_controls/WizardSubPanel.h>
#include <vgui_controls/TextEntry.h>
#include <vgui_controls/Label.h>
#include "configs.h"
// --------------------------------------------------------------------------------------------------------------------- //
// CreateModWizard sub panel 2.
// This panel asks for the directory to install in and the mod name.
// --------------------------------------------------------------------------------------------------------------------- //
namespace vgui
{
class CModWizardSubPanel_GetModInfo : public WizardSubPanel
{
public:
DECLARE_CLASS_SIMPLE( CModWizardSubPanel_GetModInfo, vgui::WizardSubPanel );
public:
CModWizardSubPanel_GetModInfo( Panel *parent, const char *panelName );
virtual WizardSubPanel* GetNextSubPanel();
virtual void OnDisplayAsNext();
virtual void PerformLayout();
virtual void OnCommand( const char *command );
virtual bool OnNextButton();
MESSAGE_FUNC_CHARPTR( OnChooseDirectory, "DirectorySelected", dir );
public:
TextEntry *m_pModPath;
TextEntry *m_pModName;
Label *m_pModNameInfoLabel;
ModType_t m_ModType;
};
}
#endif // MODWIZARD_GETMODINFO_H
|