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.

52 lines
1.3 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef MODWIZARD_INTRO_H
  7. #define MODWIZARD_INTRO_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include <vgui_controls/WizardSubPanel.h>
  12. #include <vgui_controls/RadioButton.h>
  13. #include "configs.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_Intro : public WizardSubPanel
  21. {
  22. public:
  23. typedef WizardSubPanel BaseClass;
  24. public:
  25. CModWizardSubPanel_Intro( Panel *parent, const char *panelName );
  26. virtual WizardSubPanel* GetNextSubPanel();
  27. virtual void OnDisplayAsNext();
  28. virtual void PerformLayout();
  29. virtual bool OnNextButton();
  30. ModType_t GetModType();
  31. RadioButton *m_pModHL2Button;
  32. RadioButton *m_pModHL2MPButton;
  33. RadioButton *m_pModFromScratchButton;
  34. RadioButton *m_pSourceCodeOnlyButton;
  35. };
  36. }
  37. #endif // MODWIZARD_INTRO_H