summaryrefslogtreecommitdiff
path: root/sdklauncher/ModWizard_GetModInfo.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /sdklauncher/ModWizard_GetModInfo.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'sdklauncher/ModWizard_GetModInfo.h')
-rw-r--r--sdklauncher/ModWizard_GetModInfo.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/sdklauncher/ModWizard_GetModInfo.h b/sdklauncher/ModWizard_GetModInfo.h
new file mode 100644
index 0000000..5e0329b
--- /dev/null
+++ b/sdklauncher/ModWizard_GetModInfo.h
@@ -0,0 +1,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