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.

47 lines
986 B

  1. //
  2. // mxToolKit (c) 1999 by Mete Ciragan
  3. //
  4. // file: mxMessageBox.h
  5. // implementation: all
  6. // last modified: Mar 14 1999, Mete Ciragan
  7. // copyright: The programs and associated files contained in this
  8. // distribution were developed by Mete Ciragan. The programs
  9. // are not in the public domain, but they are freely
  10. // distributable without licensing fees. These programs are
  11. // provided without guarantee or warrantee expressed or
  12. // implied.
  13. //
  14. #ifndef INCLUDED_MXMESSAGEBOX
  15. #define INCLUDED_MXMESSAGEBOX
  16. class mxWindow;
  17. enum {
  18. MX_MB_OK = 0,
  19. MX_MB_YESNO = 1,
  20. MX_MB_YESNOCANCEL = 2,
  21. MX_MB_INFORMATION = 4,
  22. MX_MB_ERROR = 8,
  23. MX_MB_WARNING = 16,
  24. MX_MB_QUESTION = 32
  25. };
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29. int mxMessageBox (mxWindow *parent, const char *msg, const char *title, int style = 0);
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif // INCLUDED_MXMESSAGEBOX