summaryrefslogtreecommitdiff
path: root/sdklauncher/ModWizard_Finished.h
diff options
context:
space:
mode:
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