Counter Strike : Global Offensive Source Code
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.

33 lines
734 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef MESSAGEBOXWITHCHECKBOX_H
  8. #define MESSAGEBOXWITHCHECKBOX_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "basedialogparams.h"
  13. struct CMessageBoxWithCheckBoxParams : public CBaseDialogParams
  14. {
  15. CMessageBoxWithCheckBoxParams()
  16. {
  17. m_szPrompt[ 0 ] = 0;
  18. m_szCheckBoxText[ 0 ] = 0;
  19. m_bChecked = false;
  20. }
  21. char m_szPrompt[ 256 ];
  22. char m_szCheckBoxText[ 1024 ];
  23. bool m_bChecked;
  24. };
  25. // Display/create dialog
  26. int MessageBoxWithCheckBox( CMessageBoxWithCheckBoxParams *params );
  27. #endif // MESSAGEBOXWITHCHECKBOX_H