home *** CD-ROM | disk | FTP | other *** search
/ Instant Doom Levels / Instant.Doom.Levels.-.Level.Master.II.iso / EDITORS / ZIPPED / WSCDEU52.ZIP / INCLUDE / INPT2DLG.H < prev    next >
C/C++ Source or Header  |  1995-03-05  |  3KB  |  93 lines

  1. /*----------------------------------------------------------------------------*
  2.  | This file is part of WinDEU, the port of DEU to Windows.                   |
  3.  | WinDEU was created by the DEU team:                                        |
  4.  |  Renaud Paquay, Raphael Quinet, Brendon Wyber and others...                |
  5.  |                                                                            |
  6.  | DEU is an open project: if you think that you can contribute, please join  |
  7.  | the DEU team.  You will be credited for any code (or ideas) included in    |
  8.  | the next version of the program.                                           |
  9.  |                                                                            |
  10.  | If you want to make any modifications and re-distribute them on your own,  |
  11.  | you must follow the conditions of the WinDEU license. Read the file        |
  12.  | LICENSE or README.TXT in the top directory.  If do not  have a copy of     |
  13.  | these files, you can request them from any member of the DEU team, or by   |
  14.  | mail: Raphael Quinet, Rue des Martyrs 9, B-4550 Nandrin (Belgium).         |
  15.  |                                                                            |
  16.  | This program comes with absolutely no warranty.  Use it at your own risks! |
  17.  *----------------------------------------------------------------------------*
  18.  
  19.     Project WinDEU
  20.     DEU team
  21.     Jul-Dec 1994, Jan-Mar 1995
  22.  
  23.     FILE:         inpt2dlg.h
  24.  
  25.     OVERVIEW
  26.     ========
  27.     Class definition for TInput2Dialog (TDialog).
  28. */
  29. #if !defined(__inpt2dlg_h)              // Sentry, use file only if it's not already included.
  30. #define __inpt2dlg_h
  31.  
  32. #ifndef __common_h
  33.     #include "common.h"
  34. #endif
  35.  
  36. #ifndef __windeu_h
  37.     #include "windeu.h"
  38. #endif
  39.  
  40. #ifndef __OWL_DIALOG_H
  41.     #include <owl\dialog.h>
  42. #endif
  43.  
  44. #ifndef __OWL_EDIT_H
  45.     class _OWLCLASS TEdit;
  46. #endif
  47.  
  48. #ifndef __OWL_STATIC_H
  49.     class _OWLCLASS TStatic;
  50. #endif
  51.  
  52. #ifndef __OWL_VALIDATE_H
  53.     #include <owl\validate.h>
  54. #endif
  55.  
  56. #include "inpt2dlg.rh"            // Definition of all resources.
  57.  
  58.  
  59. class TInput2Dialog : public TDialog
  60. {
  61. protected:
  62.     char *Title, *Prompt;
  63.     char *Buffer1, *Buffer2;
  64.     int Buffer1Size, Buffer2Size;
  65.  
  66.     TEdit *pInput1Edit;
  67.     TEdit *pInput2Edit;
  68.     TStatic *pPromptStatic;
  69.  
  70. public:
  71.     TInput2Dialog (TWindow *parent, char *title, char *prompt,
  72.                    char *buffer1, int buffer1Size,
  73.                    char *buffer2, int buffer2Size,
  74.                    TValidator *valid1 = NULL,
  75.                    TValidator *valid2 = NULL,
  76.                    TResId resId = IDD_INPUT_2, TModule *module = 0);
  77.     virtual ~TInput2Dialog ();
  78.  
  79. //{{TInput2DialogVIRTUAL_BEGIN}}
  80. public:
  81.     virtual void SetupWindow ();
  82. //{{TInput2DialogVIRTUAL_END}}
  83.  
  84. //{{TInput2DialogRSP_TBL_BEGIN}}
  85. protected:
  86.     void CmOk ();
  87. //{{TInput2DialogRSP_TBL_END}}
  88. DECLARE_RESPONSE_TABLE(TInput2Dialog);
  89. };    //{{TInput2Dialog}}
  90.  
  91. #endif                                      // __inpt2dlg_h sentry.
  92.  
  93.