summaryrefslogtreecommitdiff
path: root/sdklauncher/ModWizard_Finished.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_Finished.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'sdklauncher/ModWizard_Finished.h')
-rw-r--r--sdklauncher/ModWizard_Finished.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/sdklauncher/ModWizard_Finished.h b/sdklauncher/ModWizard_Finished.h
new file mode 100644
index 0000000..bbfcb44
--- /dev/null
+++ b/sdklauncher/ModWizard_Finished.h
@@ -0,0 +1,51 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================
+
+#ifndef MODWIZARD_FINISHED_H
+#define MODWIZARD_FINISHED_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#include <vgui_controls/WizardSubPanel.h>
+#include <vgui_controls/Label.h>
+#include <vgui_controls/CheckButton.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_Finished : public WizardSubPanel
+ {
+ public:
+ typedef WizardSubPanel BaseClass;
+
+ public:
+ CModWizardSubPanel_Finished( Panel *parent, const char *panelName );
+
+ void GetReady( const char *pOutputDirName );
+
+ virtual WizardSubPanel* GetNextSubPanel();
+ virtual void OnDisplayAsNext();
+ virtual void PerformLayout();
+ virtual bool OnFinishButton();
+
+ private:
+ Label *m_pFinishedText;
+ CheckButton *m_pOpenReadme;
+ char m_OutputDirName[MAX_PATH]; // c:\mymod
+ };
+
+}
+
+
+#endif // MODWIZARD_FINISHED_H