Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.3 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef MODWIZARD_FINISHED_H
  7. #define MODWIZARD_FINISHED_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include <vgui_controls/WizardSubPanel.h>
  12. #include <vgui_controls/Label.h>
  13. #include <vgui_controls/CheckButton.h>
  14. // --------------------------------------------------------------------------------------------------------------------- //
  15. // CreateModWizard sub panel 1.
  16. // This panel just tells them about the wizard and what it's going to do, and gives them a chance to cancel.
  17. // --------------------------------------------------------------------------------------------------------------------- //
  18. namespace vgui
  19. {
  20. class CModWizardSubPanel_Finished : public WizardSubPanel
  21. {
  22. public:
  23. typedef WizardSubPanel BaseClass;
  24. public:
  25. CModWizardSubPanel_Finished( Panel *parent, const char *panelName );
  26. void GetReady( const char *pOutputDirName );
  27. virtual WizardSubPanel* GetNextSubPanel();
  28. virtual void OnDisplayAsNext();
  29. virtual void PerformLayout();
  30. virtual bool OnFinishButton();
  31. private:
  32. Label *m_pFinishedText;
  33. CheckButton *m_pOpenReadme;
  34. char m_OutputDirName[MAX_PATH]; // c:\mymod
  35. };
  36. }
  37. #endif // MODWIZARD_FINISHED_H